cURL
curl --request GET \
--url https://api.nomba.com/v1/global-payout/payment-methods \
--header 'Authorization: <authorization>' \
--header 'accountId: <accountid>'import requests
url = "https://api.nomba.com/v1/global-payout/payment-methods"
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/payment-methods', 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/payment-methods",
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/payment-methods"
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/payment-methods")
.header("Authorization", "<authorization>")
.header("accountId", "<accountid>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.nomba.com/v1/global-payout/payment-methods")
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": "Successful",
"data": [
{
"code": "BANK",
"displayName": "Bank Transfer",
"purposeOfPaymentRequired": true,
"purposeOfPayments": [
"MAINTENANCE_EXPENSES",
"SERVICE_CHARGES"
],
"requiredFields": [
"accountNumber",
"institutionCode",
"accountType",
"bankAccountType",
"beneficiary",
"purposeOfPayment"
],
"optionalFields": [
"narration"
],
"accountTypes": [
"INDIVIDUAL",
"CORPORATE"
],
"bankAccountTypes": [
"CHECKING",
"SAVINGS"
]
}
]
}Global Payout
Payment methods
Returns all supported payment methods and their method-specific requirements. Filter by code or name to retrieve a specific method.
GET
/
v1
/
global-payout
/
payment-methods
cURL
curl --request GET \
--url https://api.nomba.com/v1/global-payout/payment-methods \
--header 'Authorization: <authorization>' \
--header 'accountId: <accountid>'import requests
url = "https://api.nomba.com/v1/global-payout/payment-methods"
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/payment-methods', 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/payment-methods",
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/payment-methods"
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/payment-methods")
.header("Authorization", "<authorization>")
.header("accountId", "<accountid>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.nomba.com/v1/global-payout/payment-methods")
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": "Successful",
"data": [
{
"code": "BANK",
"displayName": "Bank Transfer",
"purposeOfPaymentRequired": true,
"purposeOfPayments": [
"MAINTENANCE_EXPENSES",
"SERVICE_CHARGES"
],
"requiredFields": [
"accountNumber",
"institutionCode",
"accountType",
"bankAccountType",
"beneficiary",
"purposeOfPayment"
],
"optionalFields": [
"narration"
],
"accountTypes": [
"INDIVIDUAL",
"CORPORATE"
],
"bankAccountTypes": [
"CHECKING",
"SAVINGS"
]
}
]
}Headers
Bearer token for authentication.
Example:
"Bearer <token>"
The parent accountId of the business.
Example:
"890022ce-bae0-45c1-9b9d-ee7872e6ca27"
Query Parameters
Optional payment method code used to return a specific method.
Example:
"ACH"
Optional payment method name used to return a specific method, for example BANK or Wire Transfer.
Example:
"BANK"
⌘I