⚙️Data formats
This page describes common formats used throughout the Vitesse API.
Dates and times
Vitesse returns date and time values in ISO 8601 format using Coordinated Universal Time (UTC).
A trailing Z identifies UTC:
{
"Birthdate": "1975-03-29",
"CreatedAt": "2026-07-14T10:15:30Z"
}When you send a date to the API, use the format specified for that field in the API Reference. The accepted format depends on the field. For some fields, it also depends on the country and currency combination.
Currency amounts
The API represents currency amounts as JSON numbers.
For example:
{
"Balance": 100.39
}Trailing decimal places are omitted when they are not required. For example:
| Value | Returned as |
|---|---|
| £100.39 | 100.39 |
| £100.00 | 100 |
Do not include currency symbols or thousands separators in JSON values.
Currency codes
The API represents currencies using three-letter ISO 4217 currency codes.
For example:
{
"Currency": "GBP"
}Country codes
The API represents countries using ISO 3166-1 alpha-2 country codes.
For example:
{
"Country": "GB"
}Identifiers
The Vitesse API uses different identifier formats for different resources, including numbers, strings and universally unique identifiers (UUIDs).
Treat each identifier as an opaque value:
- Use the data type and format defined in the API Reference.
- Store and submit the complete value without changing it.
- Do not infer the resource type or integration from the identifier format.
Phone numbers
When an endpoint accepts a phone number, supply it in E.164 international format. Start the number with + and the country calling code, followed by the subscriber number.
Do not include spaces, brackets or hyphens.
For example:
{
"PhoneNumber": "+14155552671"
}Check the endpoint documentation for any additional phone-number requirements.
Omitted, null and empty values
Omitted, null and empty values have different JSON representations:
| Representation | Meaning |
|---|---|
| Omitted | The request does not include the property. |
null | The request includes the property with a JSON null value. |
| Empty | The request includes an empty string, array or object, such as "", [] or {}. |
Validation rules vary by endpoint and property. Check the request schema in the API Reference to determine which representations the property accepts.
Do not use an empty string as a substitute for an omitted or null value unless the endpoint documentation explicitly allows it.
Updated 1 day ago