Retrieving the list of countries

A list of countries can be retrieved through a GET call towards /v1/countries. The response contains an array holding all supported countries with an entry point to query the supported banks.

Request

GET /v1/countries HTTP/1.1
Content-Type: application/json
Authorization: Bearer <Token>
Host: <Host>
curl -X "GET" "/v1/countries" \
         -H "Content-Type: application/json" \
         -H "Authorization: Bearer <token>"

Response

array<{
    "country_code": string,
    "banks": string
}>

[].country_code String, always present

The ISO 3166-1 alpha-2 representation of the supported country

[].banks String, always present

URL to call in order to retrieve information about all banks in the country specified by the country_code property

Example

GET https://universe.openbanking.klarna.com/v1/countries HTTP/1.1
curl -X "GET" "https://universe.openbanking.klarna.com/v1/countries"
[
    {
        "country_code": "AT",
        "banks": "https://universe.openbanking.klarna.com/v1/banks?country_code=at"
    },
    {
        "country_code": "CH",
        "banks": "https://universe.openbanking.klarna.com/v1/banks?country_code=ch"
    },
    {
        "country_code": "DE",
        "banks": "https://universe.openbanking.klarna.com/v1/banks?country_code=de"
    }
]

results matching ""

    No results matching ""