Bank

To payout funds to a customer's bank, we need to know the recipient's bank by id. We refer to this as the bank code. Use the API below to initiate a payout request.

Bank Payout API

POST https://sandbox.dusupay.com/v1/payouts

Headers

Request Body

{
    "code": 202,
    "status": "accepted",
    "message": "Transaction Initiated",
    "data": {
        "id": 615630,
        "request_amount": 1500,
        "request_currency": "NGN",
        "account_amount": 1500,
        "account_currency": "NGN",
        "transaction_fee": 350,
        "total_debit": 1850,
        "provider_id": "bank_ng",
        "merchant_reference": "AdIVeSAde0LEsta",
        "internal_reference": "DUSUPAY5FNZGTKL9WVHSSG",
        "transaction_status": "PENDING",
        "transaction_type": "payout",
        "message": "Transaction Initiated"
    }
}

NB: We currently support bank payouts only in Nigeria (NG) and South Africa(ZA).

Extra Parameters

  • Different countries require different extra information to send money to customer’s accounts correctly.

  • Below are some of the fields per country that are required to be included in the extra_params the field when making a payout request.

{
    ...
    "method": "BANK",
    "provider_id": "bank_gh",
    "extra_params": {
        "bank_code": "6876132"
    },
    ...
}

Last updated