Create Ewallet payment redirect links and check transaction status. Use these endpoints when customers pay through supported Ewallet apps and your system needs a redirect URL plus reconciliation status.
Create Ewallet Payment Link API
Create an Ewallet payment link or redirect URL for a customer payment. Use this endpoint when the payer should complete payment inside a supported Ewallet application or redirected checkout experience. Store the returned payment identifier and redirect URL, then confirm the final transaction state through callback or the Ewallet status endpoint.
Create Ewallet Payment Link API › Request Body
amountAmount that clients wants to transfer
referenceIdA unique identifier for the payment transaction, generated by the client side. (Maximum length of 25 characters)
ewalletCodeThe code representing the Ewallet provider (e.g., "DANA" for the DANA Ewallet, "LINKAJA" for LinkAja Ewallet).
returnUrlThe URL to which the end-user will be redirected after completing the transaction.
Create Ewallet Payment Link API › Responses
200
statuserrorStatus Ewallet Payment API
Retrieve the latest status of an Ewallet payment transaction by Brick reference ID. Use this endpoint when callbacks are delayed, customer support needs confirmation, or your reconciliation process needs to resolve a payment link state. The response should be used to update internal order, invoice, or wallet funding records.
path Parameters
idA unique identifier for the payment transaction, generated by Brick. EX: WA_xxx
Status Ewallet Payment API › Responses
200
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = object | |
| type = object |
statuserror