CorebanqCorebanq Developer Docs
Countriesv1

Create new country

POST/v1/countries

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/v1/countries" \  -H "Content-Type: application/json" \  -d '{    "name": "string",    "iso_alpha_2": "st",    "iso_alpha_3": "str",    "iso_numeric": "str"  }'
{
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  "name": "string",
  "iso_alpha_2": "string",
  "iso_alpha_3": "string",
  "iso_numeric": "string",
  "iban_length": 0,
  "currency_code": "string",
  "active": true,
  "metadata": {},
  "created_at": "2019-08-24T14:15:22Z",
  "updated_at": "2019-08-24T14:15:22Z"
}