Brick API Documentation
Ewallet

Create Ewallet Payment Link API

Create Ewallet Payment Link API is the Brick Receive Money endpoint for starting a one-time Ewallet payment. The API returns a redirectUrl that you present to the customer so they can authorize payment through the selected Ewallet provider.

Use this endpoint when your checkout, invoice, or payment request flow needs to collect payment through a supported Ewallet provider and then track the transaction through status APIs and callbacks.

Request Header

Key ParametersData TypeDescription
publicAccessTokenStringOne time access-token generated using the auth token API

Request Parameters

Key ParametersData TypeDescription
amountIntegerAmount that clients wants to transfer, between Rp10.000 - Rp10.000.000
referenceIdStringA unique identifier for the Ewallet payment transaction, generated by the client side (up to 200 char)
ewalletCodeStringThe code representing the Ewallet provider (e.g., "DANA").
returnUrlStringThe URL to which the end-user will be redirected after completing the transaction.

Response Parameters

Key parametersData typeDescription
idStringUnique ID generated by Brick
referenceIdStringUnique ID that is generated by the client to track each Ewallet transaction.
amountStringAmount that clients wants to transfer, between Rp10.000 - Rp10.000.000
statusStringThe current status of the payment request. Possible statuses: PENDING, PAID, COMPLETED, EXPIRED, CANCELLED.
ewalletCodeStringThe code representing the Ewallet provider.
redirectUrlStringLink generated by the Ewallet issuer for payment.
createdAtDate TimeThe date and time when the redirect URL was created.
expiredAtDate TimeThe date and time when the redirect URL will expire. Please check the expiry time rules here.

Transaction Expiration Time Guidelines

The table below lists the valid expiration times for Ewallets.

Ewallet ProviderewalletCodeExpiration Time
DanaDANAValue is fixed to 60 minutes
Last modified on