> ## 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.

# How collections work

> How a collection moves from an Easypay PIN to dollars in your Available balance.

[How collections work](https://www.youtube-nocookie.com/embed/BdBGDgz6tMU?rel=0)

A **collection** is rand paid by one of your end users, credited to you in US dollars.

## From PIN to Available

**1. You request a PIN**

Your app asks the Artery API for a PIN for one amount, with your own reference for the payment. The collection appears in **Transactions** as **Awaiting payment**.

The rate is **locked the moment the PIN is issued**, so the dollars you'll receive are fixed before your end user pays.

**2. Your end user pays**

Your end user pays the PIN through Easypay: in their banking app, or by card or cash at the till of a participating retailer.

**3. Easypay confirms the payment**

The net amount (after fees) lands in your **Pending** balance, and the collection is stamped with the date it's due to settle. Artery sends you a `deposit.confirmed` webhook.

**4. Settlement**

On the due date, the settlement batch moves the amount into **Available**, and the collection shows as **Settled**. See [Settlement timing](https://docs.artery.money/knowledge-base/settlement-timing.md).

Only your **Available** balance can be withdrawn. Pending can't, until it settles.

## Unpaid PINs

An unpaid PIN **expires after 24 hours** and shows as **Failed**. The rate lock expires with it: nothing is converted, and nothing is owed.

## Limits

Each collection has a maximum amount. A request over it is refused with `AMOUNT_EXCEEDS_LIMIT`, and no PIN is created. Your limits are shown under **Settings → Limits**.

## Testing in the sandbox

There's no Easypay in the sandbox, so nothing pays a PIN for you.

1. Issue a test PIN through the API, or with **Issue a test PIN** under **Transactions**.
2. Click **Mark paid** to move it to Pending, or **Expire** to fail it.

The same webhooks fire as in live, with the same payloads, so you can build against every step.


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