Skip to main content
GET
/
v1
/
global-payout
/
bank
/
providers
cURL
curl --request GET \
  --url https://api.nomba.com/v1/global-payout/bank/providers \
  --header 'Authorization: <authorization>' \
  --header 'accountId: <accountid>'
import requests

url = "https://api.nomba.com/v1/global-payout/bank/providers"

headers = {
"Authorization": "<authorization>",
"accountId": "<accountid>"
}

response = requests.get(url, headers=headers)

print(response.text)
const options = {
method: 'GET',
headers: {Authorization: '<authorization>', accountId: '<accountid>'}
};

fetch('https://api.nomba.com/v1/global-payout/bank/providers', 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.nomba.com/v1/global-payout/bank/providers",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: <authorization>",
"accountId: <accountid>"
],
]);

$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.nomba.com/v1/global-payout/bank/providers"

req, _ := http.NewRequest("GET", url, nil)

req.Header.Add("Authorization", "<authorization>")
req.Header.Add("accountId", "<accountid>")

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.nomba.com/v1/global-payout/bank/providers")
.header("Authorization", "<authorization>")
.header("accountId", "<accountid>")
.asString();
require 'uri'
require 'net/http'

url = URI("https://api.nomba.com/v1/global-payout/bank/providers")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = '<authorization>'
request["accountId"] = '<accountid>'

response = http.request(request)
puts response.read_body
{
  "code": "00",
  "description": "Success",
  "status": false,
  "data": [
    {
      "code": "access_bank",
      "displayName": "Access Bank"
    }
  ]
}

Headers

Authorization
string
required

Bearer token for authentication.

Example:

"Bearer <token>"

accountId
string
required

The parent accountId of the business.

Example:

"890022ce-bae0-45c1-9b9d-ee7872e6ca27"

Query Parameters

isMobileMoney
boolean

Set to true to return mobile money providers. Set to false to return bank or institution providers.

Example:

false

countryIsoCode
string

ISO 3166-1 alpha-2 destination country code used to return providers for a specific country.

Example:

"US"

Response

200 - application/json

Providers retrieved successfully.

code
string
Example:

"00"

description
string
Example:

"Success"

status
boolean
Example:

false

data
object[]