Verify account number

Verify the account number of the payout recipient

URI

POST

https://api.tryduplo.com/v1/merchants/utilities/banks/verify

Parameters

Authorization string

set value to Bearer SECRET_KEY

Body Param

account_number string require

The bank account number you want to verify

bank_code string require

The bank code. you can get the bank code here

Sample request

curl --location --request POST 'https://api.tryduplo.com/v1/merchants/utilities/banks/verify' \
--header 'Authorization: Bearer SECRET_KEY' \
--header 'Content-Type: application/json' \
--data-raw '{
   "account_number": "0694002924",
   "bank_code": "044"
}'

Duplo Response

{
   "data": {
       "account_number": "0694002924",
       "account_name": "DAVID DANIEL IGBIGBI",
       "bank_id": 1
   },
   "errors": {},
   "message": "Request successful"
}

Last updated