Let's lookup an account number
You can easily fetch the account name of an account number by parsing the account_number
and bank_code
to the request body as shown in the example below.
Example
var axios = require('axios');
var qs = require('qs');
var data = qs.stringify({
'bank': '057',
'account_number': '2183322349'
});
var config = {
method: 'post',
url: 'https://integrations.getravenbank.com/v1/account_number_lookup',
headers: { },
data : data
};
axios(config)
.then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
{
"status": "success",
"message": "bank detail retrieved successfully",
"data": "JOHN DOE"
}
Try it in the console
Updated 19 days ago