Brick API Documentation
Ewallet

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:

  1. Generate a payment link with customer, amount, and channel details
    → Create Payment Link API
  2. Check Ewallet Payment Status

    Retrieve current status of a specific payment
    → Payment Status API
  3. 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:

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:

  1. Go to Receive Money → Ewallet
  2. Find the transaction in the list
  3. 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.

Last modified on