Verify account number
Verify the account number of the payout recipient
URI
POST
https://api.tryduplo.com/v1/merchants/utilities/banks/verifyParameters
Header
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"
}'var axios = require('axios');
var data = JSON.stringify({
"account_number": "0694002924",
"bank_code": "044"
});
var config = {
method: 'post',
url: 'https://api.tryduplo.com/v1/merchants/utilities/banks/verify',
headers: {
'Authorization': 'Bearer SECRET_KEY',
'Content-Type': 'application/json'
},
data : data
};
axios(config)
.then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});Duplo Response
Last updated
Was this helpful?