# Amounts and currencies (/docs/money)

```json
{ "amount": "1500.50", "currency": "PEN" }
```

- An amount is a **string** of digits with, if needed, a decimal point: `"100"`, `"100.5"`, `"100.50"`.
- No sign, no thousands separators, no scientific notation.
- No more decimal places than the currency has.
- The API always responds with **exactly** the currency's decimal places: you send `"100.5"` in PEN and receive `"100.50"`.
- An amount sent as a number (`100.5`) is rejected with `400 invalid_body`.

<Callout type="warn" title="Never use floating point">
`0.1 + 0.2` isn't `0.3` in floating point. Store amounts as strings or in a decimal type (`BigDecimal`, `decimal.Decimal`, `NUMERIC`), or as integers in minor units.
</Callout>

## Currencies [#currencies]

| Code | Decimals | Currency |
| --- | --- | --- |
| `BRL` | 2 | Brazilian real |
| `PEN` | 2 | Peruvian sol |
| `VES` | 2 | Venezuelan bolívar |
| `USD` | 2 | US dollar |
| `MXN` | 2 | Mexican peso |
| `COP` | 2 | Colombian peso |
| `EUR` | 2 | Euro |
| `USDT` | 6 | Tether |
| `USDC` | 6 | USD Coin |

A currency being in this table doesn't mean you can collect or pay out in it: [capabilities](/docs/capabilities) tells you what's available to you.

## Exchange rates [#exchange-rates]

When a payout converts from one currency to another, the [quote](/docs/quotes) tells you everything before you pay:

- `source.principal`: what gets converted.
- `source.platform_fee`: the platform fee.
- `source.tenant_markup`: your own markup, if you have one; it's credited to your earnings (`earnings`).
- `source.total`: what's debited from your balance (`principal + platform_fee + tenant_markup`).
- `destination.amount`: what the beneficiary receives.
- `rate`: destination units per source unit, with markups included.

## Dates [#dates]

All dates are in RFC 3339 and UTC: `2026-10-18T14:00:20Z`. The number of fractional-second digits can vary.

## Identifiers [#identifiers]

Every resource has an opaque id with a prefix that tells you what it is: `pout_` a payout, `pin_` a credited pay-in, `fa_` a funding account, `ben_` a beneficiary, `cus_` a customer, `quo_` a quote, `evt_` an event. Don't interpret what comes after the prefix.
