Validate a field value

Runs a value through the named validator (vat, companyNumber, SSN, address or codiceFiscale), resolving the country context from the target user when not provided.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string

Raw field value to validate.

string
enum
required

Which validator to run.

Allowed:
context
object

Additional context passed to the validator (e.g. country). Resolved from the user entity when omitted.

number

Validate on behalf of this user instead of the caller — the traveler a trip is booked for. Honoured for roles that book for others (admin, super-admin, personal-assistant, travel-manager) and only within the caller’s company; ignored otherwise.

string

Key of the field being validated. For phone it picks the numbering plan a number without a country code is read on: the trip destination for client_phone, the user's entity country otherwise.

Response

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json