Bank Account Transfers
The API enables you to transfer funds directly from your available balance to supported bank accounts. The documentation below explains further.
We recommend checking out the Getting Started section to understand the basics of payouts first and the general workflow. This guide assumes that you have read that
Overview
The currently supported payout bank channels are listed here (to be updated from time to time). Test bank accounts are also described in this section. It's very important that you track the available balance on your PAYOUT wallet before initiating these transactions.
Step 1: Obtain the required data for the payment request
The table below describes the request parameters that are used for the payout/disbursement request. Most/all will be collected from the paying customer.
merchant_reference
String
true
The unique reference for this request. It must be at least 8 characters long.
transaction_method
String
true
The transaction method to be used. This will be BANK for this request
currency
String
true
The 3-character ISO currency code for the request currency
amount
Number
true
The amount to be transferred
provider_code
String
true
account_number
String
true
The bank account of the recipient.
customer_name
String
true
The name of the customer
description
String
true
The description/narration for the transaction
extra_params.bank_code
String
true
After collecting the necessary bank transfer information from your customer, prepare your request payload as demonstrated below.
POST
https://gwapisdbx.ellypayapp.com/payout/send-funds
The request is sent as a JSON body as demonstrated by the sample request below. Sample responses (acknowledgement and failure) are also shared.
Step 2: Handshake - Verify transaction
The API will attempt to verify the transaction from your platform as described in this section. Ensure that the correct URL is configured on your merchant account and that you're handling the verification request appropriately.
Step 3: Handle the final status webhook
Every merchant account is expected to have configured a callback/webhook URL for payouts. For all payouts that transition to the final state (COMPLETED or FAILED), a JSON POST request will be made to the callback URL. Sample callback payloads (request bodies) are shared below. Be sure to check out Handling Notifications to see how you should verify the signature(s) in the request headers and how to respond.
Last updated