> ## Documentation Index
> Fetch the complete documentation index at: https://docs.artery.money/llms.txt
> Use this file to discover all available pages before exploring further.

# Conventions

> Amounts, currencies, ids, time, paging and retries.

> [!NOTE]
>
> The Artery API is in draft and may change before launch. Build against the sandbox, and check back here for changes.

## Amounts are whole numbers of cents

Every amount is an integer in the currency's smallest unit. There are no decimals.

| Field | Currency | Example |
| - | - | - |
| `amount_cents` on a PIN | Rand cents | R1,850.00 = `185000` |
| `*_balance_cents` | US cents | \$12,845.00 = `1284500` |
| `amountMinor`, `feeMinor`, `totalMinor` on withdrawals | US cents | \$50,000.00 = `5000000` |

Funding and withdrawals in USDT convert 1:1: 1 USDT = 100 US cents.

Rates are strings, for example `"16.69210000"` rand per dollar.

## Field names

PIN and balance responses use `snake_case` (`collection_id`, `partner_ref`). Funding and withdrawal responses use `camelCase` (`destinationId`, `amountMinor`).

## Ids

* A PIN has an eight-digit `collection_id` (Artery's id) and a 20-digit `pin` (what your customer pays).
* Put your own id in `partner_ref` (PINs) or `reference` (withdrawals). It's echoed in webhooks and statements.

## Time

All timestamps are UTC, in ISO 8601, for example `2026-09-16T09:12:00.000Z`. Settlement due dates are dates in South African time.

## Paging

Lists of stablecoin deposits and withdrawals are newest first. Pass `limit` (1–100, default 50) and, for the next page, `cursor` set to the previous response's `nextCursor`. `nextCursor` is `null` on the last page.

## Retrying safely

`POST /withdrawals` requires an `Idempotency-Key` header (at most 64 characters). Retrying with the same key returns the original withdrawal with status 200 instead of creating another.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.