Countries
Get one country by ISO alpha-2 id (includes inactive)
Authorization
apiKey AuthorizationBearer <token>
A BeMyPlan API key: Authorization: Bearer bmp_live_… in production, bmp_test_… in sandbox.
In: header
Path Parameters
countryId*string
ISO 3166-1 alpha-2 country code. Case-insensitive: lower case is accepted and normalised (trimmed and upper-cased before it is checked); codes in responses are always upper case.
Match
^[A-Za-z]{2}$Header Parameters
If-None-Match?string
A previously returned ETag. When it still matches, the answer is 304 with no body (and no charge for a free call).
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/data/v1/countries/string"{ "data": { "id": "NL", "name": "Netherlands", "iso3": "NLD", "continent": "EU", "currencyCode": "EUR", "active": true }, "meta": { "requestId": "0b6f3c1e-8f0a-4a39-9a55-2d4d7f3e1c11" }}