cURL
curl --request GET \ --url https://api.onekhusa.com/sandbox/v1/core/countries/GetAll \ --header 'Authorization: Bearer <token>'
[ { "countryCode": "MWI", "countryName": "Malawi" } ]
This endpoint retrieves all supported countries on OneKhusa.
Bearer authentication header of the form Bearer Token, Where accessToken is the access token used to authenticate the request.
Bearer Token
accessToken
Preferred language for the response
Success Response
A two-letter ISO 3166-1 code that identifies the country
"MW"
The full name of the country
"Malawi"