Get All EUR Account Request
curl --request GET \
--url 'https://api.payaza.africa/live/payaza-account/api/v1/subaccounts/merchant/euro/request?category=SUB_ACCOUNT' \
--header 'Authorization: <api-key>' \
--header 'X-TenantID: <api-key>'import requests
url = "https://api.payaza.africa/live/payaza-account/api/v1/subaccounts/merchant/euro/request?category=SUB_ACCOUNT"
headers = {
"Authorization": "<api-key>",
"X-TenantID": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {Authorization: '<api-key>', 'X-TenantID': '<api-key>'}
};
fetch('https://api.payaza.africa/live/payaza-account/api/v1/subaccounts/merchant/euro/request?category=SUB_ACCOUNT', 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/euro/request?category=SUB_ACCOUNT",
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: <api-key>",
"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"
"net/http"
"io"
)
func main() {
url := "https://api.payaza.africa/live/payaza-account/api/v1/subaccounts/merchant/euro/request?category=SUB_ACCOUNT"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<api-key>")
req.Header.Add("X-TenantID", "<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.payaza.africa/live/payaza-account/api/v1/subaccounts/merchant/euro/request?category=SUB_ACCOUNT")
.header("Authorization", "<api-key>")
.header("X-TenantID", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.payaza.africa/live/payaza-account/api/v1/subaccounts/merchant/euro/request?category=SUB_ACCOUNT")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<api-key>'
request["X-TenantID"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"message": "Fetch Euro Accounts Requests",
"status": true,
"data": [
{
"id": 2278,
"country": "USA",
"currency": "EUR",
"directors": [
{
"id_file": "https://stevestones.com/docs/1737370156723-passport.jpeg",
"id_file_back": "https://stevestones.com/docs/1737370156723-passport.jpeg",
"id_type": "passport",
"poa_file": "https://stevestones.com/docs/17373701573833-utilitybill.png",
"poa_type": "utilityBill"
}
],
"shareholders": [
{
"id_file": "https://stevestones.com/docs/1737370156723-passport.jpeg",
"id_file_back": "https://stevestones.com/docs/1737370156723-passport.jpeg",
"id_type": "passport",
"poa_file": "https://stevestones.com/docs/17373701573833-utilitybill.png",
"poa_type": "utilityBill"
}
],
"mermat": "https://stevestones.com/docs/17373701569821-mermat.png",
"status": "ADMIN_PENDING",
"category": "SUB_ACCOUNT",
"purpose": "Business Expansion",
"creationReference": "e2ba38e0-485d-4ce8-bb8a-96c99ed10ebd",
"account_type": "corporate",
"business_fk": 3242,
"business_name": "link",
"company_name": "Personal Loan Account",
"certificate_of_incorporation": "https://stevestones.com/docs/1737370156723-coi.jpg",
"created_at": "2025-02-03T15:14:07.657648",
"country_2_iso": "US"
},
{
"id": 1057,
"country": "MLI",
"currency": "EUR",
"status": "PROVIDER_CREATED",
"category": "SUB_ACCOUNT",
"account_type": "user",
"user_kyc": [
{
"id_file": "https://stevestones.com/docs/1737370156723-passport.jpeg",
"id_file_back": "https://stevestones.com/docs/1737370156723-passport.jpeg",
"id_type": "passport",
"poa_file": "https://stevestones.com/docs/17373701573833-utilitybill.png",
"poa_type": "utilityBill"
}
],
"provider_request_reference": "51825990-2d68-468e-9a8b-0a55b59da264",
"first_name": "Steve",
"last_name": "Stones",
"created_at": "2024-12-18T16:48:38.253599",
"country_2_iso": "ML"
}
],
"pageDetail": {
"sorted": true,
"pageNumber": 1,
"pageSize": 10,
"paged": true,
"totalPages": 1,
"totalElements": 2,
"last": true,
"size": 10,
"number": 0,
"numberOfElements": 2,
"offset": 0
}
}EUR Accounts
Get All EUR Account Request
This endpoint fetches all the Euro subaccount requests that have been made on your Payaqza account.
GET
/
payaza-account
/
api
/
v1
/
subaccounts
/
merchant
/
euro
/
request?category=SUB_ACCOUNT
Get All EUR Account Request
curl --request GET \
--url 'https://api.payaza.africa/live/payaza-account/api/v1/subaccounts/merchant/euro/request?category=SUB_ACCOUNT' \
--header 'Authorization: <api-key>' \
--header 'X-TenantID: <api-key>'import requests
url = "https://api.payaza.africa/live/payaza-account/api/v1/subaccounts/merchant/euro/request?category=SUB_ACCOUNT"
headers = {
"Authorization": "<api-key>",
"X-TenantID": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {Authorization: '<api-key>', 'X-TenantID': '<api-key>'}
};
fetch('https://api.payaza.africa/live/payaza-account/api/v1/subaccounts/merchant/euro/request?category=SUB_ACCOUNT', 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/euro/request?category=SUB_ACCOUNT",
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: <api-key>",
"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"
"net/http"
"io"
)
func main() {
url := "https://api.payaza.africa/live/payaza-account/api/v1/subaccounts/merchant/euro/request?category=SUB_ACCOUNT"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<api-key>")
req.Header.Add("X-TenantID", "<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.payaza.africa/live/payaza-account/api/v1/subaccounts/merchant/euro/request?category=SUB_ACCOUNT")
.header("Authorization", "<api-key>")
.header("X-TenantID", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.payaza.africa/live/payaza-account/api/v1/subaccounts/merchant/euro/request?category=SUB_ACCOUNT")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<api-key>'
request["X-TenantID"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"message": "Fetch Euro Accounts Requests",
"status": true,
"data": [
{
"id": 2278,
"country": "USA",
"currency": "EUR",
"directors": [
{
"id_file": "https://stevestones.com/docs/1737370156723-passport.jpeg",
"id_file_back": "https://stevestones.com/docs/1737370156723-passport.jpeg",
"id_type": "passport",
"poa_file": "https://stevestones.com/docs/17373701573833-utilitybill.png",
"poa_type": "utilityBill"
}
],
"shareholders": [
{
"id_file": "https://stevestones.com/docs/1737370156723-passport.jpeg",
"id_file_back": "https://stevestones.com/docs/1737370156723-passport.jpeg",
"id_type": "passport",
"poa_file": "https://stevestones.com/docs/17373701573833-utilitybill.png",
"poa_type": "utilityBill"
}
],
"mermat": "https://stevestones.com/docs/17373701569821-mermat.png",
"status": "ADMIN_PENDING",
"category": "SUB_ACCOUNT",
"purpose": "Business Expansion",
"creationReference": "e2ba38e0-485d-4ce8-bb8a-96c99ed10ebd",
"account_type": "corporate",
"business_fk": 3242,
"business_name": "link",
"company_name": "Personal Loan Account",
"certificate_of_incorporation": "https://stevestones.com/docs/1737370156723-coi.jpg",
"created_at": "2025-02-03T15:14:07.657648",
"country_2_iso": "US"
},
{
"id": 1057,
"country": "MLI",
"currency": "EUR",
"status": "PROVIDER_CREATED",
"category": "SUB_ACCOUNT",
"account_type": "user",
"user_kyc": [
{
"id_file": "https://stevestones.com/docs/1737370156723-passport.jpeg",
"id_file_back": "https://stevestones.com/docs/1737370156723-passport.jpeg",
"id_type": "passport",
"poa_file": "https://stevestones.com/docs/17373701573833-utilitybill.png",
"poa_type": "utilityBill"
}
],
"provider_request_reference": "51825990-2d68-468e-9a8b-0a55b59da264",
"first_name": "Steve",
"last_name": "Stones",
"created_at": "2024-12-18T16:48:38.253599",
"country_2_iso": "ML"
}
],
"pageDetail": {
"sorted": true,
"pageNumber": 1,
"pageSize": 10,
"paged": true,
"totalPages": 1,
"totalElements": 2,
"last": true,
"size": 10,
"number": 0,
"numberOfElements": 2,
"offset": 0
}
}Authorizations
Payaza {{Public API Key in Base 64}}
live or test
⌘I