Creating Ewallet One Time Payment / Redirection
Currently, the creation of Ewallet payment links is available via API only. However, once a payment link is created, you can view and track its status directly in the Brick Dashboard:
🖥️ Where to find the Ewallet feature on the Brick Dashboard?
Go to Receive Money → Ewallet to see the list of generated links, their current status, and available actions.
Key API Endpoints
To integrate Ewallet payments via API, Brick provides the following endpoints:
-
Create Ewallet Payment Link
Generate a payment link with customer, amount, and channel details
→ Create Payment Link API -
Check Ewallet Payment Status
Retrieve current status of a specific payment
→ Payment Status API -
Callback Notification for Ewallet Payment
Receive real-time status updates for completed, failed, or expired payments
→ Callback Spec
Prerequisites
Before calling any Ewallet API, ensure the following:
- Check the prepare your account section
- Generate a Public Access Token as described here: Token Generation Guide
Testing Callbacks in Sandbox Mode
In production, Brick automatically sends callbacks whenever there’s a change in transaction status. However, in sandbox, no real transactions occur. To test callback handling:
Use the “Resend Callback” feature in the dashboard:
- Go to Receive Money → Ewallet
- Find the transaction in the list
- Under Action, click Resend Callback
This will simulate the callback delivery to your configured endpoint, allowing you to validate payload handling, webhook processing, and system response logic.
