Get Banks
GET {{BASE_URL}}/v1/corporate/banksOptional Query Parameters
Property
Data Type
Description
Example
import Axios from 'axios';
// set the api url
const API_URL = `${BASE_URL}/v1/corporate/banks`;
// make request using axios
Axios({
method: "GET",
url: `${API_URL}`,
headers: {
lg: 'en',
ch: 'web'
Authorization: `Bearer ${API_KEY}`,
'Content-Type': 'application/json',
}
}).then((resp) => {
console.log(resp)
}).catch((err) => {
console.log(err)
}){
"error": false,
"errors": [],
"count": 2,
"total": 3,
"pagination": {},
"data": [
{
"accountName": "INOSUFT TECHNOLOGIES LIMITED",
"accountNo": "0125089414",
"code": "035",
"country": "nigeria",
"currency": "NGN",
"name": "Wema Bank",
"type": "nuban"
},
{
"accountName": "AGBELEYE OLUWATOBI EMMANUEL",
"accountNo": "0252872742",
"code": "058",
"country": "nigeria",
"currency": "NGN",
"name": "Guaranty Trust Bank",
"type": "nuban"
}
],
"message": "successful",
"status": 200
}Last updated