Skip to main content
GET
/
v1
/
checkouts
/
country-data
Get Country Data
curl --request GET \
  --url https://api.y.uno/v1/checkouts/country-data \
  --header 'PRIVATE-SECRET-KEY: <api-key>' \
  --header 'PUBLIC-API-KEY: <api-key>' \
  --header 'X-Account-Code: <api-key>'
[
  {
    "country_code": "AR",
    "documents": [
      "DNI",
      "CUIT",
      "CUIL",
      "CDI",
      "LE",
      "LC",
      "CI",
      "PASSPORT",
      "OTHER"
    ]
  },
  {
    "country_code": "BR",
    "documents": [
      "CPF",
      "CNPJ"
    ]
  },
  {
    "country_code": "CO",
    "documents": [
      "CC",
      "NIT",
      "CE",
      "PASSPORT",
      "OTHER"
    ]
  },
  {
    "country_code": "MX",
    "documents": [
      "RFC",
      "CURP",
      "IFE",
      "PASSPORT",
      "OTHER"
    ]
  },
  {
    "country_code": "PE",
    "documents": [
      "DNI",
      "RUC",
      "CE",
      "PASSPORT",
      "OTHER"
    ]
  }
]
This API is in Beta. Endpoints and schemas may change without prior notice.

Authorizations

PUBLIC-API-KEY
string
header
required

Merchant public API key. Found in Yuno dashboard → Settings → API Keys.

PRIVATE-SECRET-KEY
string
header
required

Merchant private secret key, paired with the public key. Never embed in client-side code.

X-Account-Code
string
header
required

UUID of the merchant account scope for the request.

Response

200

country_code
string

ISO 3166-1 alpha-2 country code.

Example:

"AR"

documents
string[]

List of accepted document type identifiers for this country.

Example:
["DNI", "CUIT"]