Sign UpLog In

This API will help clients to create e-wallet redirect link where the end users will do the payment.

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 e-wallet payment transaction, generated by the client side (up to 200 char)
ewalletCodeStringThe code representing the e-wallet provider (e.g., "DANA" for the DANA e-wallet).
expiryTimeIntegerThe duration (in minutes) after which the payment request will expire, with a minimum of 60 minutes and a maximum of 1440 minutes.
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 e-wallet transaction.
amountIntegerAmount 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 e-wallet provider (e.g., "DANA" for the DANA e-wallet).
redirectUrlStringLink generated by the e-wallet 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.
Language
Authorization
Basic
base64
:
Click Try It! to start a request and see the response here!