Fetch All EUR subaccounts
curl --request POST \
--url https://api.payaza.africa/live/payaza-account/api/v1/subaccounts/merchant/enquiry/business \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--header 'X-TenantID: <api-key>' \
--data '
{
"pageSize": 10,
"pageNumber": 1,
"currency": "EUR",
"searchPhrase": ""
}
'import requests
url = "https://api.payaza.africa/live/payaza-account/api/v1/subaccounts/merchant/enquiry/business"
payload = {
"pageSize": 10,
"pageNumber": 1,
"currency": "EUR",
"searchPhrase": ""
}
headers = {
"Authorization": "<api-key>",
"X-TenantID": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
Authorization: '<api-key>',
'X-TenantID': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({pageSize: 10, pageNumber: 1, currency: 'EUR', searchPhrase: ''})
};
fetch('https://api.payaza.africa/live/payaza-account/api/v1/subaccounts/merchant/enquiry/business', 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.payaza.africa/live/payaza-account/api/v1/subaccounts/merchant/enquiry/business",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'pageSize' => 10,
'pageNumber' => 1,
'currency' => 'EUR',
'searchPhrase' => ''
]),
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>",
"Content-Type: application/json",
"X-TenantID: <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"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.payaza.africa/live/payaza-account/api/v1/subaccounts/merchant/enquiry/business"
payload := strings.NewReader("{\n \"pageSize\": 10,\n \"pageNumber\": 1,\n \"currency\": \"EUR\",\n \"searchPhrase\": \"\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "<api-key>")
req.Header.Add("X-TenantID", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.payaza.africa/live/payaza-account/api/v1/subaccounts/merchant/enquiry/business")
.header("Authorization", "<api-key>")
.header("X-TenantID", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"pageSize\": 10,\n \"pageNumber\": 1,\n \"currency\": \"EUR\",\n \"searchPhrase\": \"\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.payaza.africa/live/payaza-account/api/v1/subaccounts/merchant/enquiry/business")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = '<api-key>'
request["X-TenantID"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"pageSize\": 10,\n \"pageNumber\": 1,\n \"currency\": \"EUR\",\n \"searchPhrase\": \"\"\n}"
response = http.request(request)
puts response.read_body{
"message": "Account enquiry response",
"status": true,
"data": [
{
"id": 3796,
"accountName": "Zachery Borer",
"payazaAccountReference": "80810030592",
"status": "ACTIVE",
"accountBalance": 100000000,
"businessId": 2046,
"currency": "EUR",
"country": "NGA",
"organizationName": "PAYAZA",
"productCode": "PAYOUT-SUB-EUR",
"productNumber": "8899",
"postNoCredit": false,
"postNoDebit": false,
"hasVirtualAccounts": true,
"virtualAccounts": [
{
"accountNumber": "GB00213143149028220528",
"accountName": "Zachery Borer",
"bankCode": "ARPYGB21XXX",
"bankId": 793
}
],
"holdTransactionAtLowBalance": false,
"createdDate": "2025-03-11T00:01:21.113663"
},
{
"id": 3665,
"accountName": "Nikolaus and Sons",
"payazaAccountReference": "80810030461",
"status": "ACTIVE",
"accountBalance": 100000000,
"businessId": 2046,
"currency": "EUR",
"country": "NGA",
"organizationName": "PAYAZA",
"productCode": "PAYOUT-SUB-EUR",
"productNumber": "8899",
"postNoCredit": false,
"postNoDebit": false,
"hasVirtualAccounts": true,
"virtualAccounts": [
{
"accountNumber": "GB31305690917679873490",
"accountName": "Nikolaus and Sons",
"bankCode": "ARPYGB21XXX",
"bankId": 761
}
],
"holdTransactionAtLowBalance": false,
"createdDate": "2025-03-09T08:30:05.188118"
}
],
"responseCode": null,
"pageDetail": {
"sorted": true,
"pageNumber": 1,
"pageSize": 10,
"paged": true,
"totalPages": 2,
"totalElements": 10,
"last": false,
"size": 10,
"number": 0,
"numberOfElements": 10,
"offset": 0
}
}EUR Accounts
Fetch All EUR subaccounts
This endpoint is used to display all EUR subaccounts that have been created under your Payaza Account
POST
/
payaza-account
/
api
/
v1
/
subaccounts
/
merchant
/
enquiry
/
business
Fetch All EUR subaccounts
curl --request POST \
--url https://api.payaza.africa/live/payaza-account/api/v1/subaccounts/merchant/enquiry/business \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--header 'X-TenantID: <api-key>' \
--data '
{
"pageSize": 10,
"pageNumber": 1,
"currency": "EUR",
"searchPhrase": ""
}
'import requests
url = "https://api.payaza.africa/live/payaza-account/api/v1/subaccounts/merchant/enquiry/business"
payload = {
"pageSize": 10,
"pageNumber": 1,
"currency": "EUR",
"searchPhrase": ""
}
headers = {
"Authorization": "<api-key>",
"X-TenantID": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
Authorization: '<api-key>',
'X-TenantID': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({pageSize: 10, pageNumber: 1, currency: 'EUR', searchPhrase: ''})
};
fetch('https://api.payaza.africa/live/payaza-account/api/v1/subaccounts/merchant/enquiry/business', 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.payaza.africa/live/payaza-account/api/v1/subaccounts/merchant/enquiry/business",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'pageSize' => 10,
'pageNumber' => 1,
'currency' => 'EUR',
'searchPhrase' => ''
]),
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>",
"Content-Type: application/json",
"X-TenantID: <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"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.payaza.africa/live/payaza-account/api/v1/subaccounts/merchant/enquiry/business"
payload := strings.NewReader("{\n \"pageSize\": 10,\n \"pageNumber\": 1,\n \"currency\": \"EUR\",\n \"searchPhrase\": \"\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "<api-key>")
req.Header.Add("X-TenantID", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.payaza.africa/live/payaza-account/api/v1/subaccounts/merchant/enquiry/business")
.header("Authorization", "<api-key>")
.header("X-TenantID", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"pageSize\": 10,\n \"pageNumber\": 1,\n \"currency\": \"EUR\",\n \"searchPhrase\": \"\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.payaza.africa/live/payaza-account/api/v1/subaccounts/merchant/enquiry/business")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = '<api-key>'
request["X-TenantID"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"pageSize\": 10,\n \"pageNumber\": 1,\n \"currency\": \"EUR\",\n \"searchPhrase\": \"\"\n}"
response = http.request(request)
puts response.read_body{
"message": "Account enquiry response",
"status": true,
"data": [
{
"id": 3796,
"accountName": "Zachery Borer",
"payazaAccountReference": "80810030592",
"status": "ACTIVE",
"accountBalance": 100000000,
"businessId": 2046,
"currency": "EUR",
"country": "NGA",
"organizationName": "PAYAZA",
"productCode": "PAYOUT-SUB-EUR",
"productNumber": "8899",
"postNoCredit": false,
"postNoDebit": false,
"hasVirtualAccounts": true,
"virtualAccounts": [
{
"accountNumber": "GB00213143149028220528",
"accountName": "Zachery Borer",
"bankCode": "ARPYGB21XXX",
"bankId": 793
}
],
"holdTransactionAtLowBalance": false,
"createdDate": "2025-03-11T00:01:21.113663"
},
{
"id": 3665,
"accountName": "Nikolaus and Sons",
"payazaAccountReference": "80810030461",
"status": "ACTIVE",
"accountBalance": 100000000,
"businessId": 2046,
"currency": "EUR",
"country": "NGA",
"organizationName": "PAYAZA",
"productCode": "PAYOUT-SUB-EUR",
"productNumber": "8899",
"postNoCredit": false,
"postNoDebit": false,
"hasVirtualAccounts": true,
"virtualAccounts": [
{
"accountNumber": "GB31305690917679873490",
"accountName": "Nikolaus and Sons",
"bankCode": "ARPYGB21XXX",
"bankId": 761
}
],
"holdTransactionAtLowBalance": false,
"createdDate": "2025-03-09T08:30:05.188118"
}
],
"responseCode": null,
"pageDetail": {
"sorted": true,
"pageNumber": 1,
"pageSize": 10,
"paged": true,
"totalPages": 2,
"totalElements": 10,
"last": false,
"size": 10,
"number": 0,
"numberOfElements": 10,
"offset": 0
}
}Authorizations
Payaza {{Public API Key in Base 64}}
live or test
Body
application/json
Response
Account Enquiry Response
⌘I