---
updatedAt: 2025-11-13T14:11:39.000Z
agentTools:
  siteIndex: https://docs.affirm.com/llms.txt
  projectIndex: https://docs.affirm.com/developers/llms.txt
---

# Data Types

The following standards and format for our data types apply to all our APIs.

> 📘 Localization support
>
> Our platform is only supported in the US and Canada at this time and includes the following data types:
>
> * **Currency:** `USD` and `CAD`
> * **Country:** `US` and `CA`

## Date and time

Date and datetime field values use the standard [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format, excluding milliseconds, and are retuned in UTC (Coordinated Universal Time). For example, December 11, 2019 at 08:15:00 is returned as `2019-12-11T08:15:00Z`.

```json
{
  "date_start":"2019-12-11T12:07",
  "dob":"1954-12-26"
}
```

## Currency

Our currency field values use the standard three-letter [ISO 4217 currency code](https://www.iso.org/iso-4217-currency-codes.html). We only support USD (United States) and CAD (Canada) currency at this time.

```json
{
  "currency": "USD"
}
```

## Amount

Our amounts are returned in cents using the [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) standard. For example, 1000 represents $10 USD and CAD.

```json
{
  "amount": 6100
}
```

## Country and address

Countries are returned in the two-letter [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) standard format. Our examples include `US` for the United States and `CA` for Canada.

```json
{
  "country":"US"
},
}  
  "country_code":"CA"
}
```

# Sibling pages

* [Introduction](https://docs.affirm.com/developers/reference/introduction.md)
* [Authentication](https://docs.affirm.com/developers/reference/authentication.md)
* [Errors](https://docs.affirm.com/developers/reference/errors.md)
* [Metadata](https://docs.affirm.com/developers/reference/metadata.md)