Dusupay
Search…
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

1
// sandbox
2
GET https://sandbox.dusupay.com/v1/bank/{country_code}/branches/{bank_code}?api_key={api_key}
Copied!
Request Headers
Request
Response
Sample Response

Request Headers

Header
Value
Required
secret-key
Merchant account secret-key
YES
Content-Type
application/json
YES

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 Body

Parameter
Type
Description
code
string
The branch code to use wherever needed
name
string
The name of the branch that can be displayed.
1
{
2
"code": 200,
3
"status": "success",
4
"message": "Request completed successfully.",
5
"data": [
6
{
7
"code": "GH030243",
8
"name": "BARCLAYS BANK(GH) LTD-NKAWKAW"
9
},
10
{
11
"code": "GH030116",
12
"name": "BARCLAYS BANK (GH) LTD-BCM"
13
},
14
{
15
"code": "GH030653",
16
"name": "BARCLAYS BANK(GH)NEW SUAME MAGAZINE"
17
}
18
]
19
}
Copied!

Countries that require branch codes

  • Ghana

Include bank and branch code in a request

Sample Request
1
{
2
...
3
"method": "BANK",
4
"extra_params": {
5
"bank_code": "6876132",
6
"branch_code": "7898"
7
},
8
...
9
}
Copied!
Last modified 3mo ago