List Of Acceptable IDs
curl --request GET \
--url https://api.payaza.africa/live/payaza-account/api/v1/euro/acceptable-ids \
--header 'Authorization: <api-key>' \
--header 'X-TenantID: <api-key>'import requests
url = "https://api.payaza.africa/live/payaza-account/api/v1/euro/acceptable-ids"
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/euro/acceptable-ids', 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/euro/acceptable-ids",
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/euro/acceptable-ids"
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/euro/acceptable-ids")
.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/euro/acceptable-ids")
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{
"status": true,
"message": "Country Documents",
"data": [
{
"id": "b362187b-47aa-41ff-8978-73d5893ea5fa",
"country": "Nigeria",
"countryShort": "NG",
"createdAt": null,
"acceptedIDDocuments": {
"passport": true,
"drivingLicense": true,
"residencePermit": false,
"identityCard": true
},
"acceptedPOADocuments": {
"utilityBill": true,
"bankStatement": true
}
},
{
"id": "b2547d05-f533-4241-a814-ecd3bbddd851",
"country": "United Kingdom (GBP)",
"countryShort": "UK",
"createdAt": null,
"acceptedIDDocuments": {
"passport": true,
"drivingLicense": true,
"residencePermit": true,
"identityCard": false
},
"acceptedPOADocuments": {
"utilityBill": true,
"bankStatement": true
}
},
{
"id": "2a1e13a7-96e9-4a22-aa6b-3868100a33fa",
"country": "France",
"countryShort": "FR",
"createdAt": null,
"acceptedIDDocuments": {
"passport": true,
"drivingLicense": true,
"residencePermit": true,
"identityCard": true
},
"acceptedPOADocuments": {
"utilityBill": true,
"bankStatement": true
}
},
{
"id": "bfdafa95-61e5-4b57-843f-104c378145a1",
"country": "Germany",
"countryShort": "DE",
"createdAt": null,
"acceptedIDDocuments": {
"passport": true,
"drivingLicense": true,
"residencePermit": true,
"identityCard": true
},
"acceptedPOADocuments": {
"utilityBill": true,
"bankStatement": true
}
},
{
"id": "1bb6071b-7934-4958-8deb-8598ef6b6ea9",
"country": "Italy",
"countryShort": "IT",
"createdAt": null,
"acceptedIDDocuments": {
"passport": true,
"drivingLicense": true,
"residencePermit": true,
"identityCard": true
},
"acceptedPOADocuments": {
"utilityBill": true,
"bankStatement": true
}
},
{
"id": "48142897-a6c4-4559-bf49-9e7e9690fbed",
"country": "Spain",
"countryShort": "ES",
"createdAt": null,
"acceptedIDDocuments": {
"passport": true,
"drivingLicense": true,
"residencePermit": true,
"identityCard": true
},
"acceptedPOADocuments": {
"utilityBill": true,
"bankStatement": true
}
},
{
"id": "014f3d4b-0d6f-474b-9385-891d372d2d54",
"country": "Benin (XOF)",
"countryShort": "BJ",
"createdAt": null,
"acceptedIDDocuments": {
"passport": true,
"drivingLicense": false,
"residencePermit": true,
"identityCard": true
},
"acceptedPOADocuments": {
"utilityBill": true,
"bankStatement": true
}
},
{
"id": "7272af4a-3be8-4fe2-b500-1229ceb5b2d5",
"country": "Mali (XOF)",
"countryShort": "ML",
"createdAt": null,
"acceptedIDDocuments": {
"passport": true,
"drivingLicense": false,
"residencePermit": false,
"identityCard": true
},
"acceptedPOADocuments": {
"utilityBill": true,
"bankStatement": true
}
},
{
"id": "6d89a00e-bac0-4ef7-97bc-898212a7d1df",
"country": "Togo (XOF)",
"countryShort": "TG",
"createdAt": null,
"acceptedIDDocuments": {
"passport": true,
"drivingLicense": true,
"residencePermit": false,
"identityCard": true
},
"acceptedPOADocuments": {
"utilityBill": true,
"bankStatement": true
}
},
{
"id": "4d28475f-4d5f-4515-a27d-c6d1be4f25f9",
"country": "Côte d'Ivoire (XOF)",
"countryShort": "CI",
"createdAt": null,
"acceptedIDDocuments": {
"passport": true,
"drivingLicense": true,
"residencePermit": false,
"identityCard": true
},
"acceptedPOADocuments": {
"utilityBill": true,
"bankStatement": true
}
},
{
"id": "69362fd2-9e23-4c66-a4f3-5a19bce5998d",
"country": "United States of America (USD)",
"countryShort": "US",
"createdAt": null,
"acceptedIDDocuments": {
"passport": true,
"drivingLicense": true,
"residencePermit": false,
"identityCard": true
},
"acceptedPOADocuments": {
"utilityBill": true,
"bankStatement": true
}
}
],
"code": 200
}EUR Accounts
List Of Acceptable IDs
This endpoint shows the list of acceptable identification documents in various countries for the creation of Euro subaccounts.
GET
/
payaza-account
/
api
/
v1
/
euro
/
acceptable-ids
List Of Acceptable IDs
curl --request GET \
--url https://api.payaza.africa/live/payaza-account/api/v1/euro/acceptable-ids \
--header 'Authorization: <api-key>' \
--header 'X-TenantID: <api-key>'import requests
url = "https://api.payaza.africa/live/payaza-account/api/v1/euro/acceptable-ids"
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/euro/acceptable-ids', 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/euro/acceptable-ids",
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/euro/acceptable-ids"
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/euro/acceptable-ids")
.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/euro/acceptable-ids")
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{
"status": true,
"message": "Country Documents",
"data": [
{
"id": "b362187b-47aa-41ff-8978-73d5893ea5fa",
"country": "Nigeria",
"countryShort": "NG",
"createdAt": null,
"acceptedIDDocuments": {
"passport": true,
"drivingLicense": true,
"residencePermit": false,
"identityCard": true
},
"acceptedPOADocuments": {
"utilityBill": true,
"bankStatement": true
}
},
{
"id": "b2547d05-f533-4241-a814-ecd3bbddd851",
"country": "United Kingdom (GBP)",
"countryShort": "UK",
"createdAt": null,
"acceptedIDDocuments": {
"passport": true,
"drivingLicense": true,
"residencePermit": true,
"identityCard": false
},
"acceptedPOADocuments": {
"utilityBill": true,
"bankStatement": true
}
},
{
"id": "2a1e13a7-96e9-4a22-aa6b-3868100a33fa",
"country": "France",
"countryShort": "FR",
"createdAt": null,
"acceptedIDDocuments": {
"passport": true,
"drivingLicense": true,
"residencePermit": true,
"identityCard": true
},
"acceptedPOADocuments": {
"utilityBill": true,
"bankStatement": true
}
},
{
"id": "bfdafa95-61e5-4b57-843f-104c378145a1",
"country": "Germany",
"countryShort": "DE",
"createdAt": null,
"acceptedIDDocuments": {
"passport": true,
"drivingLicense": true,
"residencePermit": true,
"identityCard": true
},
"acceptedPOADocuments": {
"utilityBill": true,
"bankStatement": true
}
},
{
"id": "1bb6071b-7934-4958-8deb-8598ef6b6ea9",
"country": "Italy",
"countryShort": "IT",
"createdAt": null,
"acceptedIDDocuments": {
"passport": true,
"drivingLicense": true,
"residencePermit": true,
"identityCard": true
},
"acceptedPOADocuments": {
"utilityBill": true,
"bankStatement": true
}
},
{
"id": "48142897-a6c4-4559-bf49-9e7e9690fbed",
"country": "Spain",
"countryShort": "ES",
"createdAt": null,
"acceptedIDDocuments": {
"passport": true,
"drivingLicense": true,
"residencePermit": true,
"identityCard": true
},
"acceptedPOADocuments": {
"utilityBill": true,
"bankStatement": true
}
},
{
"id": "014f3d4b-0d6f-474b-9385-891d372d2d54",
"country": "Benin (XOF)",
"countryShort": "BJ",
"createdAt": null,
"acceptedIDDocuments": {
"passport": true,
"drivingLicense": false,
"residencePermit": true,
"identityCard": true
},
"acceptedPOADocuments": {
"utilityBill": true,
"bankStatement": true
}
},
{
"id": "7272af4a-3be8-4fe2-b500-1229ceb5b2d5",
"country": "Mali (XOF)",
"countryShort": "ML",
"createdAt": null,
"acceptedIDDocuments": {
"passport": true,
"drivingLicense": false,
"residencePermit": false,
"identityCard": true
},
"acceptedPOADocuments": {
"utilityBill": true,
"bankStatement": true
}
},
{
"id": "6d89a00e-bac0-4ef7-97bc-898212a7d1df",
"country": "Togo (XOF)",
"countryShort": "TG",
"createdAt": null,
"acceptedIDDocuments": {
"passport": true,
"drivingLicense": true,
"residencePermit": false,
"identityCard": true
},
"acceptedPOADocuments": {
"utilityBill": true,
"bankStatement": true
}
},
{
"id": "4d28475f-4d5f-4515-a27d-c6d1be4f25f9",
"country": "Côte d'Ivoire (XOF)",
"countryShort": "CI",
"createdAt": null,
"acceptedIDDocuments": {
"passport": true,
"drivingLicense": true,
"residencePermit": false,
"identityCard": true
},
"acceptedPOADocuments": {
"utilityBill": true,
"bankStatement": true
}
},
{
"id": "69362fd2-9e23-4c66-a4f3-5a19bce5998d",
"country": "United States of America (USD)",
"countryShort": "US",
"createdAt": null,
"acceptedIDDocuments": {
"passport": true,
"drivingLicense": true,
"residencePermit": false,
"identityCard": true
},
"acceptedPOADocuments": {
"utilityBill": true,
"bankStatement": true
}
}
],
"code": 200
}Authorizations
Payaza {{Public API Key in Base 64}}
live or test
⌘I