Country

Get All Countries

Fetch a list of all countries.
GET https://api.ivorypay.io/v1/countries/all
Response
{
"success": true,
"message": "Query successful",
"data": [
{
"uuid": "d0343578-f6ee-4a75-bbc2-9c8286ea1358",
"name": "Afghanistan",
"dialCode": "+93",
"code": "AF",
"createdAt": "2022-05-29T10:08:32.638Z"
},
{
"uuid": "81a1950c-b277-42f3-849e-04e6272b6c67",
"name": "Albania",
"dialCode": "+355",
"code": "AL",
"createdAt": "2022-05-29T10:08:32.638Z"
},
{
"uuid": "b0b01a23-c2f6-4259-8566-de9398061103",
"name": "Algeria",
"dialCode": "+213",
"code": "DZ",
"createdAt": "2022-05-29T10:08:32.638Z"
},
{
"uuid": "fc8cdb8e-d6ce-4756-bc1e-9cd2098b96ac",
"name": "AmericanSamoa",
"dialCode": "+1 684",
"code": "AS",
"createdAt": "2022-05-29T10:08:32.638Z"
},
.
.
.
]
}

Get Supported Countries

Fetch a list of all the the countries IvoryPay can currently support their businesses.
GET https://api.ivorypay.io/v1/countries
Response
{
"success": true,
"message": "Query successful",
"data": [
{
"uuid": "7bf6ea5a-0f94-490e-9caa-c15e92b1f0ed",
"name": "Ghana",
"dialCode": "+233",
"code": "GH",
"createdAt": "2022-05-29T10:08:32.638Z"
},
{
"uuid": "4bcdf9ea-8154-4a71-a425-65d34a2d7cd5",
"name": "Kenya",
"dialCode": "+254",
"code": "KE",
"createdAt": "2022-05-29T10:08:32.638Z"
},
{
"uuid": "817d5f28-0d5c-428d-a910-81dc16c742c9",
"name": "Nigeria",
"dialCode": "+234",
"code": "NG",
"createdAt": "2022-05-29T10:08:32.638Z"
},
{
"uuid": "52ae41e9-995c-4cef-acca-d5cc430bca0c",
"name": "South Africa",
"dialCode": "+27",
"code": "ZA",
"createdAt": "2022-05-29T10:08:32.638Z"
}
]
}
Last modified 11mo ago