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

# Customers

> Map your user to a cus_, then verify them before live Receive.

A customer is **your** end user. They never log into Easner — they onboard on **your** app. You store `cus_` and call `v1`. Creating one opens **their** vault and issues a USD `acct_` (USDC on Solana).

There are two verifications. Mixing them up is the usual onboarding bug.

| Who | What | Where |
| - | - | - |
| **You** (the business) | **KYB** — access to Easner | Settings, Verification tab (same Settings page as Team and Payments). Not a `cus_`. |
| **Your customer** (`cus_`) | **KYC** if their `type` is `individual`, **KYB** if it is `business` — onboard on your app so they can use a named vault and live Receive | `POST /v1/customers/:id/verification`. Console Customers → Verification. |

Email and name on create are not verification. Live bank details, chain addresses, and onramp wait until `verification_status` is `approved`.

> [!NOTE]
>
> **Scope:** `GET` needs `accounts.read`. `POST` customer needs `accounts.write`. `POST` verification needs `accounts.write`.

## Onboard a customer

**1. Create**

`POST /v1/customers` with your `external_id` and a `type` (`individual` for a person, `business` for a company). Save `id` (`cus_…`) and the issued USD `accounts[0].id` (`acct_…`). In Console, create from Customers while Test is on.

**2. Start verification**

`POST /v1/customers/:id/verification` with a `return_url`. Test approves immediately (`url` is `null`). Live returns a hosted form — send that URL on your app so they complete KYC or KYB. Already-approved customers return `{ "status": "approved", "url": null }`.

**3. Wait for approved**

Poll `GET /v1/customers/:id` or handle `customer.updated`. Live Receive returns `403` `verification_required` until `approved`.

**4. Publish Receive**

After `approved`, fetch [bank details](https://docs.easner.com/receive.md#virtual-account), a [wallet address](https://docs.easner.com/receive.md#wallet-address), or a [card onramp](https://docs.easner.com/receive.md#card-onramp).

Your KYB does not verify your customers. Completing the Verification tab in Settings does not set `verification_status` on a `cus_`.

## Fields

Every field on the customer is on [Retrieve a customer](https://docs.easner.com/api-reference/customers/retrieve-a-customer.md). That page is the contract. `verification_status` is `unverified`, `pending`, `approved` or `rejected`. `GET /v1/customers/:id` also includes `accounts` and, in live mode, `limits`.

## Send limits

Easner limits how much a live customer can send, so you can show your user what is available before a transfer is refused. Amounts are in cents (USD); a EUR transfer counts at its USD value. Test mode has no limits and `limits` is `null`.

```json theme={null}
"limits": {
  "currency": "usd",
  "daily": { "limit": 1000000, "used": 860000, "remaining": 140000, "resets_at": "2026-10-31T10:00:00Z" },
  "monthly": { "limit": 5000000, "used": 3120000, "remaining": 1880000, "resets_at": "2026-11-27T09:12:00Z" },
  "per_transfer": { "limit": 5000000 }
}
```

* **`daily` and `monthly`** are rolling: the last 24 hours and the last 30 days. A transfer counts from the moment it is created and holds the money; a failed, canceled or expired one gives its amount back. `resets_at` is when the oldest counted transfer leaves the window, or `null` when nothing is counted.
* **Standard limits** follow the customer `type`: an `individual` can send 10,000 a day and 50,000 a month, a `business` 50,000 a day and 500,000 a month. Easner can set different limits for your customers; contact Easner to ask.
* **`per_transfer`** is the most one transfer can be.
* A quote or transfer over what is left returns `400` `limit_exceeded`, and nothing is held.

## Create

```bash theme={null}
curl https://api.easner.com/v1/customers \
  -H "Authorization: Bearer $EASNER_SECRET_KEY" \
  -H "Content-Type: application/json" \
  -d '{"type":"individual","email":"ada@example.com","name":"Ada","external_id":"user_42"}'
```

`201` on success. The response includes the issued USD account (the vault view) under `accounts`. A restricted business gets `403` `ACCOUNT_RESTRICTED` or `ACCOUNT_LOCKED` ([API keys and scopes](https://docs.easner.com/api-keys.md#restrictions)).

`type` decides two things for the life of the customer. **Verification:** a person goes through KYC, a company through KYB. **Corridors:** an `individual` and a `business` can be offered different countries and currencies to send to. Read a customer's list with `GET /v1/payment_methods?customer=cus_…`. A `type` that is not `individual` or `business` is `400` `invalid_type`. There is no way to change it later, so create a new customer if you got it wrong.

What the API does not validate:

* A body that is not valid JSON is treated as an empty body. The call still succeeds and creates an empty customer (no `400` `invalid_request` on this route).
* `email` is lower-cased and trimmed but its format is not checked. Check it yourself: live verification needs a real address.
* `external_id` is **not unique**. Two customers can share one, so keep your own mapping and look the customer up by the `cus_` id you store. There is no filter by `external_id`.

## List

`GET /v1/customers` → `{ "data": [ Customer, … ] }`

Newest first. Up to 100. There is no next page and no filter. There is no customer `PATCH` — put `email` on create before live verification.

## Retrieve

`GET /v1/customers/:id` → Customer plus `accounts`.

`404` `not_found` if the id is missing or belongs to the other livemode.

## Start verification

```bash theme={null}
curl https://api.easner.com/v1/customers/cus_…/verification \
  -H "Authorization: Bearer $EASNER_SECRET_KEY" \
  -H "Content-Type: application/json" \
  -d '{"return_url":"https://yoursite.com/verified"}'
```

```json theme={null}
{ "status": "approved", "url": null }
```

| Mode | Result |
| - | - |
| Test | Sets `verification_status` to `approved`. `url` is `null`. No hosted form |
| Live | `{ "status": "pending", "url": "https://…" }` hosted KYC (person) or KYB (business). Already-approved customers return `{ "status": "approved", "url": null }` |

Live verification needs an email. `404` if the customer is missing.

A live `cus_` with only email and name cannot be issued a named virtual account or card onramp until `approved`. The vault still exists; live bank details wait on verification.

In Console, Customers → the `cus_` → Verification. Test approves in place. Live opens the hosted URL.

## Events

| Event | When |
| - | - |
| `customer.created` | After a successful create. The issued USD account is created first, so `account.updated` arrives before it |
| `customer.updated` | When the record changes, including `verification_status` |

## Expected

* Store `id` and `external_id` on your side.
* Attach destinations with `"customer": "cus_…"`.
* Open EUR with `POST /v1/accounts` and `"customer": "cus_…"` — a second vault view, same customer.
* Verify the `cus_` (KYC or KYB) before live Receive. KYB yourself in Banking for access to Easner.
* There is no customer update. Live verification needs `email` on create.

> [card] [Receive money](https://docs.easner.com/receive.md)
>
> Bank details, chain addresses, and onramp after verification.


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