Creating E-Wallet One Time Payment / Redirection
Currently, the creation of E-Wallet 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 E-wallet feature on the Brick Dashboard?
Go to Receive Money → E-Wallet to see the list of generated links, their current status, and available actions.
Key API Endpoints
To integrate E-Wallet payments via API, Brick provides the following endpoints:
-
Generate a payment link with customer, amount, and channel detailsCreate E-Wallet Payment Link
→ API Reference -
Retrieve current status of a specific paymentCheck E-Wallet Payment Status
→ API Reference -
Receive real-time status updates for completed, failed, or expired paymentsCallback Notification for E-Wallet Payment
→ Callback Spec
Prerequisites
Before calling any E-Wallet API, ensure the following:
- Check the prepare your account section
- enerate a Public Access Token (JWT) 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 → E-Wallet
- 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.
Updated 11 days ago