Skip to main content

Documentation

(A) (Optional) List Supported Countries

List the countries that are supported for this application. This is an optional method that should be used only when unsure whether a specific country is supported.

Note

The response sample has been shortened since it contains many lines.

Returns a list of country codes and their respective country names.

  • id

  • Country of the beneficiary. Two-letter ISO 3166-1 ALPHA-2 code.

  • value

  • Official name of the country.

  • {base_uri}/verify/api/supported_countries

  • List Supported Countries

  • curl -X get
    {base_uri}/verify/api/supported_countries
    -H 'access_key: your-access-key-here'
    -H 'Content-Type: application/json'
    -H 'idempotency: your-idempotency-parameter-here'
    -H 'salt: your-random-string-here'
    -H 'signature: your-calculated-signature-here'
    -H 'timestamp: your-unix-timestamp-here'
    -H 'api_timestamp: your-unix-timestamp-here'
    
    
  • {
        "status": {
            "error_code": "",
            "status": "SUCCESS",
            "message": "",
            "response_code": "",
            "operation_id": "712dc03c-a502-4817-ad59-c6f2620824e8"
        },
        "data": [
            {
                "id": "AF",
                "value": "Afghanistan"
            },
            {
                "id": "AD",
                "value": "Andorra"
            },
            {
                "id": "AO",
                "value": "Angola"
            }
            /// additional IDs and values of supported countries
        ]
    }