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

# Test and live

> What test completes, and what live actually moves.

There is **one API address**, `https://api.easner.com/v1`, and no separate sandbox host. Livemode is the key prefix: a `easner_sk_test_…` key reads and writes test objects, a `easner_sk_live_…` key reads and writes live ones, on the same URL. There is no `livemode` body flag. Switching from test to live is a change of key, nothing else.

In Console, the Test / Live switch in the header is the same split. It applies to Home, Customers, Payments, Accounts, Checkout, Connect, and Settings (keys, webhook endpoints and their deliveries, logs, events, usage and the Workbench). Both sides are marked, so you always know where you are. Test has a warning-coloured line along the top of the header and a "Test data" chip beside the switch. Live has a brand-coloured line and a neutral "Live data" chip. In Live, the Workbench asks you to confirm before it sends anything other than a read.

| | Test (`easner_sk_test_`) | Live (`easner_sk_live_`) |
| - | - | - |
| Objects | Isolated test objects | Isolated live objects |
| Customer KYC / KYB | Approves immediately. No hosted form | Hosted KYC (person) or KYB (business) on your app. Live bank details and onramp need `approved` |
| Your KYB | Not required to call test `v1` | Complete in Settings, Verification tab, for **access to Easner**, before live |
| Virtual account | Sandbox numbers. No real bank | Named ACH/SEPA after approval. Fiat converts into the vault |
| Wallet address | A sandbox Solana address, the same for that account every time. No real wallet is opened and nothing can be sent to it: fund a test account with the onramp or Simulate test deposit | Require `approved`. USDC/EURC into the customer's own vault |
| Onramp | Hosted page completes and credits the vault | Hosted card onramp after approval, onto the vault |
| Quote | Completes. Send/receive 1:1 | May price wallet destinations |
| Transfer | Create `requires_action`. Confirm debits the **test** vault, with no code | Create `requires_action`. Confirm sends from the customer vault. Merchant key cannot confirm |
| Checkout | Test card `4242…`. Nothing charged. Sessions, refunds and portal links are test objects | Real card and US bank payments on your website. Funds land on your business balance |
| Connect | Test payees, test links and **Approve as a test payee** | The same calls with a live key, once the program is live |
| Refunds, portal | Refund test payments. Test portal shows test customers | Refund live payments. Live portal shows live customers |
| Webhooks | Your test URL only. Test events never reach a live URL | Your live URL only |
| Keys | `easner_sk_test_…`, `easner_pk_test_…` | `easner_sk_live_…`, `easner_pk_live_…`. Needs finished online payment setup |

Test never moves live money. Live never writes test objects. A test id used with a live key is `404`, and a live id used with a test key is `404`. The prefixes are the same. Named bank details that are still provisioning return `409` `not_available`. `payment.available` is sent only when live money is credited to a balance. Restrictions are checked the same way in both modes: [API keys and scopes](https://docs.easner.com/api-keys.md#restrictions).

Sandbox numbers, test cards and the two ways to fund a vault are on [Test data and sandbox](#test-data-and-sandbox). Console tools for test and live are on [Console tools](https://docs.easner.com/console-tools.md).

## API keys across products

Keys are per business and per mode, not per product. The same `easner_sk_test_…` or `easner_sk_live_…` secret calls Banking (`accounts.*`, `transfers.write`), Checkout (`checkout`, `refunds.write`) and Connect (`payees.*`, `payouts.write`) when those scopes are on the key. Console shows a **Banking + Checkout** permission form for developer businesses and a **Connect** form (Checkout plus payee scopes; no customer vault scopes) in Connect mode. Defaults and live gates for each shape are in [What a live key needs](#what-a-live-key-needs). Auth, scopes and rotation: [Authentication](https://docs.easner.com/authentication.md) and [API keys](https://docs.easner.com/api-keys.md).

> [!NOTE]
>
> Money-out through **live** API keys (creating destinations, creating transfers and confirming them) is off by default. Test sends always work, so you can build the whole send flow first. Those calls return `403 payouts_disabled` until Easner turns it on for your environment. Customers, accounts, receive, quotes, transactions and all of Checkout are unaffected. Ask Easner support if you need Send over the API.

## Fund a test vault

A new `acct_` is `available: 0`. Credit it from [Test data](#test-data-and-sandbox), then listen for `account.updated` and `transaction.created`.

## Logs and Workbench

Use these in Console Settings while you stay in Test:

| Place | Job |
| - | - |
| Logs | Recent `v1` requests for this business and mode. Open a row for the request. |
| Workbench | Call `v1` as this business without pasting a secret. Retrieve an id you already have. |
| Events | A delivery log — every event, whether or not it reached your URL. Not the catalog; tick events on a webhook endpoint. |

## Go live with Checkout

This is the same list Console shows in Checkout, Overview, **Go live**, and in Integrate, step 6. Turn on live payments only when all four checks are done. Console will not let you go live before.

**1. Business verified**

Finish business verification in Settings, Verification tab. This is **your** access to Easner, not a customer `cus_`.

**2. Branding set**

Add your logo or a brand colour in Settings, Payments tab. Easner checks the colour is readable under white button text and falls back to Easner blue if it is too light. Customers see the logo and colour in the overlay, on the hosted page, in receipts and in the portal.

**3. A test payment went through**

Open checkout from your site in Test and pay with `4242 4242 4242 4242`, any future date, any CVC. Console spots the payment by itself.

**4. Your webhook answered 200**

Add a test webhook endpoint (Settings → Webhooks), tick the Checkout events you handle, and send a test event. The check passes when your server answers `200`. Verify the signature in your handler first: [Webhooks](https://docs.easner.com/webhooks.md).

**5. Turn on live payments**

Console, Checkout, Go live. The dialog lists the four checks. After it, create a **live** key, put `EASNER_SECRET_KEY` (live) and the live `easner_pk_live_…` in your production environment, add a live webhook endpoint with the same events, and swap its signing secret into `EASNER_WEBHOOK_SECRET`.

Below the checks, Console shows **Payment setup**: a read-only look at how payments are configured for your account. It lists Webhook events (the payment events Easner needs are subscribed), Link is off, Cards and US bank accounts (the payment methods are enabled), and Automatic tax registrations (needed only if you use `automatic_tax`). Easner reads these and does not change them. They do not block going live. Items marked "Needs attention" are worth fixing before real customers pay.

## What a live key needs

Test needs nothing: create a test key and build. A live key is gated on what it can do.

| The live key | What you need first |
| - | - |
| Any live key | Your business verified (Settings, Verification tab: your KYB, which is your access to Easner) |
| With Checkout permissions (`checkout`, `checkout.read` or `refunds.write`) | Online payments on and set up in Settings, Payments. Do the Checkout checklist above first so your test payment and webhook are proven |
| Banking only (`accounts.*`, `transfers.write`) | Nothing more. Sending money over the API also needs Easner to enable money-out for you (see the note above) |
| Connect (`payees.read`, `payees.write`, `payees.credit`, `payouts.write`, `payees.tax_forms.read`) | Connect mode on the business, and a live program before money calls. A new key starts with `checkout`, `payees.read` and `payees.write`. Tick earnings and payouts on purpose. A Connect key cannot hold customer or account scopes. The secret key is enough |

If you already have a live key, creating another to replace it is never blocked. Console tells you in a sentence what is missing when a live key is refused, and the Go live checklist in Checkout stays the place to prove a Checkout integration end to end. Going live does not switch anything else on by itself: your live key is the switch.

## Before live, Banking

**1. Mint a test key**

Settings → API keys, then Settings → Webhooks. Tick the events you handle. Stay in Test.

**2. Run the quickstart**

[Quickstart](https://docs.easner.com/quickstart.md): customer, fund test vault, destination, quote, transfer. Confirm `transfer.completed` on the test URL.

**3. Receive in test**

[Receive](https://docs.easner.com/receive.md): verify the customer, fetch sandbox bank details, complete a test onramp. Confirm `account.updated` and `transaction.created`.

**4. Check Console Logs**

You should see the `v1` calls. Errors should be gone.

**5. Complete your KYB, then mint live keys**

Finish business verification in Settings. Then mint a live key (the [rules above](#what-a-live-key-needs)) and set a live webhook URL. Tick the same events. Your customers each go through hosted KYC or KYB before live Receive.

## Before live, Connect

Connect mode is turned on for the business. A test key runs the whole path with no real person.

**1. Run the Connect quickstart**

[Connect quickstart](https://docs.easner.com/connect.md#quickstart): a payee, a credit, and the connect sheet. In test, **Approve as a test payee** finishes the link. Listen for `payee.linked` and `payout.completed`.

**2. Add the websites that open the sheet**

Console → Connect → Settings. Each website starts working as soon as it is added. Server calls use the secret key and do not need a website on this list.

**3. Mint a live key**

Create a live key with the Connect scopes you need. Money calls return `409` `program_not_live` until the program is live.

## What you should not do

> [!WARNING]
>
> Do not reuse a test key or a test publishable key in production. Do not fulfil from the browser `onSuccess` or the return URL without the webhook. Do not copy a test webhook secret into your live environment. Do not treat Checkout as Receive — a website payment does not credit a customer `acct_`.

## Restriction

If the business is restricted for send or deposit, matching writes fail with `permission`.

## Test data and sandbox

Everything here works with a **test** key (`easner_sk_test_…`) and the Test side of the Console switch. Test never moves live money and test objects never appear in live. The full comparison is on this page.

## Sandbox bank details

`GET /v1/accounts/:id/deposit_instructions` on a test key returns fixed sandbox details. No customer verification is needed and nothing moves at a real bank.

| Currency | Fields |
| - | - |
| USD | `account_number` `000123456789`, `routing_number` `110000000`, `bank_name` `Easner Test Bank`, `country` `US` |
| EUR | `iban` `DE89370400440532013000`, `bic` `COBADEFFXXX`, `bank_name` `Easner Test Bank`, `country` `DE` |

`account_holder` is the customer's name (or `Customer`). Sending money to these details does nothing. To put test money in a vault, use one of the two ways below.

## Test wallet addresses

Test customers get no real wallet. `GET /v1/accounts/:id/deposit_addresses` on a test key answers with a sandbox Solana address, the same one for that account every time, that nothing can reach. Use it to build your screens, and fund the account with one of the two ways below.

## Fund a test vault

* **Simulate test deposit.** In Console, Accounts, open an account and press **Simulate test deposit** (test only). It credits `$10.00` of `type: "deposit"` and fires `account.updated` and `transaction.created`. It is a Console action, not a `/v1` call.
* **Test card onramp.** `POST /v1/accounts/:id/onramp_sessions` with an `amount`, open the returned `url` and complete the hosted test page. It credits the vault (`type: "onramp"`).

## Test cards for Checkout

Use any future expiry, any three-digit CVC and any postal code. Nothing is charged. These are the payment provider's standard test numbers, and Checkout in test mode accepts them.

| Number | Result |
| - | - |
| `4242 4242 4242 4242` | Succeeds |
| `4000 0000 0000 0002` | Declined |
| `4000 0025 0000 3155` | Asks for 3D Secure authentication, then succeeds when you complete it |
| `4000 0000 0000 9995` | Declined for insufficient funds |

Bank debit (US bank account, USD sessions only): choose the test institution the payment form offers, or enter routing `110000000` with account `000123456789`. Bank debits settle after a delay: a `pending` payment, then `checkout.async_succeeded` and `checkout.completed`. The provider's test account numbers for a failing debit (for example `000222222227`) make the debit fail and send `checkout.failed`. Other currencies take cards only.

Saved cards are not available in the embedded Checkout form.

What test completes and what live moves is on this page.


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