API reference

HTS APIs

Every endpoint, schema and error code, rendered from the published OpenAPI files, in the order you integrate them.

Schema

national_id_document

A national identity document

Fields

type
string enum
required

Travel document type discriminator

Values national_id
number
string
required

National ID number

Length ≥ 1 · Example 12345678
issuing_country
string
required

ISO 3166-1 alpha-2 country code of the issuing country

Length ≥ 2, ≤ 2 · Example BR
Example
{
  "type": "national_id",
  "number": "12345678",
  "issuing_country": "BR"
}