API Reference
Data types

Data Types

Currency

We use standard currency codes (like USD for US Dollars) to keep things clear. Currently, we only support payments in US Dollars.

JSON
{
  "currency": "USD"
}

Date and Time

We use a consistent format for dates and times throughout our system. This format follows the international standard (ISO 8601) and excludes milliseconds for simplicity. We also use Coordinated Universal Time (UTC) as the time zone. Think of it like this: November 12th, 2018 at 5:12 AM would be formatted as "2018-11-12T05:05:00Z".

JSON
{
  "date_start":"2018-11-12T05:05",
  "dob":"1995-11-12"
}

Amount

Prices are shown in cents (e.g., 1000 cents = $10 USD) following the ISO 4217 standard.

JSON
{
  "amount": 1000
}

Country and Address

Countries are shown using short ISO codes (e.g., US for United States).

JSON
{
  "country":"US"
},
{
  "country_code":"CA"
}