post https://sandbox.onebrick.io/v2/payments/gs/acceptance/ewallet
This API will help clients to create e-wallet redirect link where the end users will do the payment.
Request Header
Key Parameters | Data Type | Description |
---|---|---|
publicAccessToken | String | One time access-token generated using the auth token API |
Request Parameters
The expiryTime request parameters will be ignored per 11st March 2025.
Key Parameters | Data Type | Description |
---|---|---|
amount | Integer | Amount that clients wants to transfer, between Rp10.000 - Rp10.000.000 |
referenceId | String | A unique identifier for the e-wallet payment transaction, generated by the client side (up to 200 char) |
ewalletCode | String | The code representing the e-wallet provider (e.g., "DANA" for the DANA e-wallet). |
expiryTime | Integer | The duration (in minutes) after which the payment request will expire. Minimum 60 minutes and a maximum 1440 minutes. The suggested time is 60 minutes for best reliability. |
returnUrl | String | The URL to which the end-user will be redirected after completing the transaction. |
Response Parameters
Key parameters | Data type | Description |
---|---|---|
id | String | Unique ID generated by Brick |
referenceId | String | Unique ID that is generated by the client to track each e-wallet transaction. |
amount | Integer | Amount that clients wants to transfer, between Rp10.000 - Rp10.000.000 |
status | String | The current status of the payment request. Possible statuses: PENDING , PAID , COMPLETED , EXPIRED , CANCELLED . |
ewalletCode | String | The code representing the e-wallet provider (e.g., "DANA" for the DANA e-wallet). |
redirectUrl | String | Link generated by the e-wallet issuer for payment. |
createdAt | Date Time | The date and time when the redirect URL was created. |
expiredAt | Date Time | The date and time when the redirect URL will expire. |