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

Name
Type
Description

Content-Type*

String

application/json

Request Body

Name
Type
Description

api_key*

String

Obtained from merchant account setting

currency*

String

You can use your home currency when making requests. e.g USD

You will receive your funds at the market rate into your merchant sub-account.

amount*

Int/Double

2 decimal places allowed for double.

method*

String

BANK

provider_id*

String

account_number*

String

For European, UK, Germany bank payouts, set account_number to contain the IBAN

merchant_reference*

String

The UNIQUE reference for this transaction generated by your system. A unique string value should be sent for every attempt.

4 to 36 character

narration*

String

Use this to add a brief description or comment on the transaction.

4 to 64 character

account_name*

String

Customer's name

account_email

String

Used to email customer. Helps to easily lookup customer transactions.

extra_params*

String

{
    "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
Extra fields
Description

Nigeria - BANK

The Bank code of Nigeria Bank

South Africa - BANK

The bank code of South African Bank.

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

Last updated