⚙️
DusuPay API Documentation
  • Introduction
  • Getting Started
    • Registration
    • Error Handling
    • Authentication
    • Merchant Account Credentials
      • Generate Secret Key
      • Regenerate Security Keys
    • Supported Countries/Regions
    • Transaction Limits
    • Sandbox Test Accounts
    • DusuPay Public Keys
  • Utility Functions
    • Balance Inquiry
    • Payment Options
    • Payout Bank Codes
    • Mobile Money Operator Prefixes
    • Handling Notifications/Callbacks
      • Callback Events
    • Transaction Status Verification
  • Funds Collection
    • Getting Started
    • Mobile Money Collection
      • Mobile Money - Direct Charge
      • Mobile Money - Hosted Page
    • NGN Bank Transfers
    • ZAR Bank Collections
    • Card Payments
      • Hosted Payment Page
      • Direct Card Payment (S2S)
  • Payouts/Disbursements
    • Getting Started
    • Mobile Money Payouts
    • Bank Account Transfers
  • Callbacks
    • HMAC Signature Verification
    • RSA Signature Verification
  • Appendix
    • Merchant Account Transfers
    • Availing Payout Funds
    • Sub Account Transfers
    • Funds Settlement
    • Transaction Audit Logs
    • Cross Currency Transactions
Powered by GitBook
On this page
  • Get Payout Banks List
  • Sample Payment Options Request
  1. Utility Functions

Payout Bank Codes

For all countries/currencies where DusuPay supports bank payouts, there's need to specify the unique code for the bank to which the funds are to be sent. These codes are available via the API

PreviousPayment OptionsNextMobile Money Operator Prefixes

Last updated 10 months ago

The bank codes are attached to the respective payment providers designated for paying out funds to the supported banks. Therefore, a provider code, obtained from can be used to query the list of supported banks. Any provider that supports BANK payouts will have the list of banks and respective codes.

Get Payout Banks List

GET https://sandboxapi.dusupay.com/data/payout-bank-codes

Returns the list of payout banks based on the provider code.

Query Parameters

Name
Type
Description

provider_code*

String

The payment provider code for the provider whose bank codes are required

Headers

Name
Type
Description

public-key*

String

The merchant account Public Key

Sample Payment Options Request

curl https://sandboxapi.dusupay.com/data/payout-bank-codes?provider_code=bank_ng \
   -H "Accept: application/json" \
   -H "x-api-version: 1" \
   -H "public-key: your-public-key"
{
    "code": 200,
    "status": "success",
    "message": "Request completed successfully.",
    "data": {
        "payout_banks": [
            {
                "bank_name": "Access Bank Nigeria",
                "bank_code": "access_bank_ng",
                "is_active": true
            },
            {
                "bank_name": "Guaranty Trust Bank",
                "bank_code": "gtbank_ng",
                "is_active": true
            }
        ]
    }
}
Parameter
Type
Description

bank_code

String

The unique code for the payout bank. It is required for the bank payout transaction requests

bank_name

String

The name of the bank

is_active

Boolean

Whether or not the bank is active for usage

{
  "code": 400,
  "status": "error",
  "message": "provider_code is required",
  "data": {}
}
here