Countries

Get https://whitelabel.markets/demos/giftcard/api/countries/{card_id}

Headers

Authorization* string

Pass your {secret_key} as a bearer token in the request header to authorize this call

Path parameters

card_id string

Giftcard ID

Body parameters

page string

Sets the page number; use "all" to retrieve all items. The default is 1

limit integer

Specifies the default number of items per page, with a default setting of 20

Response


{
    "data": [
        {
            "id": "1be6af1f-82f2-432f-8f5a-6021a67e058c",
            "name": "Nigeria",
            "iso2": "NG",
            "currency": "NGN"
        },
        {
            "id": "85c97667-8728-4f40-b009-2e2e1f5acf8f",
            "name": "United Kingdom",
            "iso2": "GB",
            "currency": "GBP"
        },
        {
            "id": "66907685-6a2f-41fa-8b52-5cb4d9fd7428",
            "name": "United States",
            "iso2": "US",
            "currency": "USD"
        }
    ]
}