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.
| Key Parameters | Data Type | Description |
|---|
| publicAccessToken | String | One time access-token generated using the auth token API |
| 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", "LINKAJA"). |
| returnUrl | String | The URL to which the end-user will be redirected after completing the transaction. |
| 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 | String | 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. |
| 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. Please check the expiry time rules here. |
The table below lists the valid expiration times for e-wallets.
| E-Wallet Provider | ewalletCode | Expiration Time |
|---|
| Dana | DANA | Value is fixed to 60 minutes |
| LinkAja | LINKAJA | Value is fixed to 5 minutes |