Bank Branches

Some countries require bank branches for bank payouts to be made. Below is the API description that can be used to get bank branch codes per country supported.

Fetching bank branches

// sandbox
GET https://sandbox.dusupay.com/v1/bank/{country_code}/branches/{bank_code}?api_key={api_key}
// live
GET https://api.dusupay.com/v1/bank/{country_code}/branches/{bank_code}?api_key={api_key}

Request Headers
Request
Response
Sample Response
Request Headers

Request Headers

Header

Value

Required

secret-key

Merchant account secret-key

YES

Content-Type

application/json

YES

Request

URL Request Parameters

Parameter Name

Type

Description

Required

api_key

string

Merchant Public Key

YES

country_code

string

ISO-2 country code from those supported. Below is the list of countries that require bank branches.

YES

Response

Response Body

Parameter

Type

Description

code

string

The branch code to use wherever needed

name

string

The name of the branch that can be displayed.

Sample Response
{
"code": 200,
"status": "success",
"message": "Request completed successfully.",
"data": [
{
"code": "GH030243",
"name": "BARCLAYS BANK(GH) LTD-NKAWKAW"
},
{
"code": "GH030116",
"name": "BARCLAYS BANK (GH) LTD-BCM"
},
{
"code": "GH030653",
"name": "BARCLAYS BANK(GH)NEW SUAME MAGAZINE"
}
]
}

Countries that require branch codes

  • Ghana

Include bank and branch code in a request

Sample Request
Sample Request
{
...
"method": "BANK",
"extra_params": {
"bank_code": "6876132",
"branch_code": "7898"
},
...
}