Common Data Types
To keep things simple, the Dibsy API endpoints will always attempt to use the same structure when representing certain value objects.
Field | Data Type |
---|---|
Currency | An ISO 4217 currency code. |
Country | The country of the address in ISO 3166-1 Alpha-2 format. |
Boolean | In JSON structures, booleans should be passed as the JSON boolean type. |
Date | A string representing a date in YYYY-MM-DD format. |
Datetime | A string representing a date and time in ISO 8601 format. |
Phone number | All phone numbers must passed as strings in the E.164 format. For example, +97430302020. |