Ewallet
Callback Ewallet Payment
Use this callback to update the matching transaction in your system, mark the payment as paid when appropriate, and trigger the next business process such as order fulfillment or balance update.
Callback Handling
- Match the callback to your transaction using
referenceIdand the Brick paymentid. - Store the callback payload before returning a successful response.
- Return HTTP
200only after your system has accepted the callback. Dashboard Test URL / Save & Test also requires a JSON ACK with the exact Brick testreferenceId. - Make your handler idempotent because the same status update can be retried.
- Use the Ewallet status API if your callback endpoint was unavailable or your internal status is unclear.
Status Fields
| Field | Description |
|---|---|
id | Brick payment identifier. |
referenceId | Your transaction reference. |
amount | Payment amount. |
feeAmount | Fee amount applied to the payment. |
status | Latest Ewallet payment status. |
paidAt | Timestamp when the payment was paid, when available. |
Sample Callback for Ewallet Payment Status Update:
When a payment status changes, we will send a status update to your callback URL. Below is an example of the payload:
Code
Last modified on
