Data Formats
Date/Time
Timestamps are represented by strings in RFC3339 format.
Example:
"2006-01-02T15:04:05Z"
.
All the dates and times in our API are in UTC unless otherwise mentioned.
When used as query parameters timestamps are accepted in RFC3339 format and also in shorter forms: 2006-01-02T15:04:05
and 2006-01-02
.
Price
Prices are represented by strings with dot as decimal separator.
Example: 10.3 USD must be represented as
"10.3"
.
Currency is specified separately as ISO 4217 code.
Example:
"USD"
,"EUR"
,"RUB"
.