Miscellaneous
The APIs that are classified under Miscellaneous API category, function as supportive tools that facilitate the provision of intricate information to other API services.
GET/countries
Countries
This endpoint allows you to retrieve a of all countries.
Request
GET
/countriescurl -G https://api.notchpay.co/countries \
-H "Authorization: {public_key}"
Response
{
"code": 200,
"status": "OK",
"message": "Countries retrieved",
"data": [
{
"name": "Afghanistan",
"code": "AF"
},
...
{
"name": "Zimbabwe",
"code": "ZW"
}
]
}
GET/currencies
Currencies
This endpoint allows you to retrieve a of all currencies supported by Notch Pay.
Request
GET
/currenciescurl -G https://api.notchpay.co/currencies \
-H "Authorization: {public_key}"
Response
{
"code": 200,
"status": "OK",
"message": "Currencies retrieved",
"data": [
{
"name": "Egyptian Pound",
"code": "EGP",
"fraction": 2,
"symbol": "ج.م"
},
{
"name": "El Salvador Colon",
"code": "SVC",
"fraction": 2,
"symbol": "₡"
},
]
}