Data types
This section describes the data types and formats used consistently in the API.
Data types
- Dates: Dates (without time/timezone information) in ISO 8601
YYYY-MM-DDformat. Sample use cases:conversion_date,payment_date - Timestamps: Date and time with timezone information in ISO 8601
YYYY-MM-DDTHH:mm:ssZformat. Sample use cases:created_at,last_updated_at - Country Codes: Country codes are represented as two-letter ISO 3166-1 alpha-2 codes.
- Currency Codes: Three-letter ISO 4217 currency code.
- Currency Amounts: Currency amounts specified in major units as defined by ISO 4217 . For example, $9.99 is represented as
9.99.
| Example values | |
|---|---|
| Date | 2017-03-26 |
| Timestamp | 2017-03-26T16:30:00Z |
| Country Code | AU |
| Currency Code | AUD |
| Currency Amount | 9.99 |
Was this page helpful?