List institutions
curl --request GET \
--url https://api.spendin.app/v1/banks \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.spendin.app/v1/banks"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.spendin.app/v1/banks', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.spendin.app/v1/banks",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.spendin.app/v1/banks"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.spendin.app/v1/banks")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.spendin.app/v1/banks")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body[
{
"provider_name": "ACCESS BANK",
"provider_code": "044",
"destination_type": "BANK_ACCOUNT"
}
]banks
List institutions
Returns every bank (or mobile money provider) that can receive a payout in the given country and currency, each with the provider_code to pass as destination_provider_code when creating a payout. The processor routes on that code — a display name is never accepted in its place.
GET
/
v1
/
banks
List institutions
curl --request GET \
--url https://api.spendin.app/v1/banks \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.spendin.app/v1/banks"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.spendin.app/v1/banks', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.spendin.app/v1/banks",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.spendin.app/v1/banks"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.spendin.app/v1/banks")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.spendin.app/v1/banks")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body[
{
"provider_name": "ACCESS BANK",
"provider_code": "044",
"destination_type": "BANK_ACCOUNT"
}
]Authorizations
Query Parameters
ISO 3166-1 alpha-2 country code
Example:
"NG"
ISO 4217 currency code
Example:
"NGN"
Which kind of institution to list. Banks and mobile money providers come from the same upstream directory but are never mixed in a response.
Available options:
BANK_ACCOUNT, MOBILE_MONEY Response
Display name. Never sent as a routing value.
Example:
"ACCESS BANK"
Pass this as destination_provider_code when creating a payout — it is what the processor routes on.
Example:
"044"
Available options:
MOBILE_MONEY, BANK_ACCOUNT, CRYPTO_WALLET Example:
"BANK_ACCOUNT"