List banks
curl --request GET \
--url https://gateway-sandbox.matambaintelligence.com/v1/reference/banks \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://gateway-sandbox.matambaintelligence.com/v1/reference/banks', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://gateway-sandbox.matambaintelligence.com/v1/reference/banks"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://gateway-sandbox.matambaintelligence.com/v1/reference/banks"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"object": "list",
"has_more": false,
"next_cursor": null,
"data": [
{
"object": "bank",
"code": "044",
"name": "Access Bank"
},
{
"object": "bank",
"code": "058",
"name": "Guaranty Trust Bank"
}
]
}
List banks
Returns the banks an application’s bank can name: the broker’s list, less any the depository (CSCS) doesn’t open accounts with. Use one of these codes as an application’s bank. Takes no parameters. Requires the read scope.
GET
/
v1
/
reference
/
banks
List banks
curl --request GET \
--url https://gateway-sandbox.matambaintelligence.com/v1/reference/banks \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://gateway-sandbox.matambaintelligence.com/v1/reference/banks', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://gateway-sandbox.matambaintelligence.com/v1/reference/banks"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://gateway-sandbox.matambaintelligence.com/v1/reference/banks"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"object": "list",
"has_more": false,
"next_cursor": null,
"data": [
{
"object": "bank",
"code": "044",
"name": "Access Bank"
},
{
"object": "bank",
"code": "058",
"name": "Guaranty Trust Bank"
}
]
}