Skip to main content
Three paths, all in Test, where nothing real moves: Every public method is on the v1 reference, grouped like the Guides (Banking, Checkout, Connect, API) in the API reference tab.

Keys and mode

Mint a test secret key in Console → Settings → API keys. Copy it once into EASNER_SECRET_KEY on your server. The prefix (easner_sk_test_… or easner_sk_live_…) decides test vs live; there is no sandbox host. One key can call every route its scopes allow across Banking, Checkout and Connect. Tick only the scopes you need when you create the key (or use the defaults for your business mode). See Authentication, API keys and scopes and Test and live.

Integrate Checkout from the Console

Open Console, Checkout, Integrate. It walks the same six steps below and writes the code for your language and your choices. Before you start: stay in Test and add your website. Test needs no business verification or payment setup; you do those before going live.
1

What and where

Choose what customers pay for (one-time payments, subscriptions, or both), where they pay (an overlay on your page, inline in your checkout, or a hosted page Easner serves), your website, the return URL and your webhook URL. Console shows a summary and an honest time estimate. Adding your website here is what makes your success_url and cancel_url allowed. Mint a test key in Settings → API keys and copy the secret once into your server environment.
2

Create a session

On your server, call POST /v1/checkout/sessions with your secret key, the line items in cents, the return URLs, your own order id in metadata, and an Idempotency-Key per order. Hand the browser only the session url (hosted) or client_secret (overlay and inline).
Expected: 201 with url, client_secret and status: "open".
3

Open checkout

Hosted: redirect to url. Overlay: load https://js.easner.com/v1/checkout.js and call EasnerCheckout.openOverlay({ publishableKey, clientSecret }). Inline: EasnerCheckout.mount("#checkout", { publishableKey, clientSecret }). Browser code only ever holds the test publishable key (easner_pk_test_…). For a plain page with no server code, button.js opens a session from a data-easner-button element.
4

Make a test payment

Open checkout from your site and pay with 4242 4242 4242 4242, any future date and any CVC. Nothing is charged. Console shows “Test payment received” by itself.
5

Handle the result

Add your webhook endpoint in Settings → Webhooks (a public https:// address), tick checkout.completed, checkout.async_succeeded, checkout.failed and refund.created, plus the subscription events for subscriptions. Copy the signing secret once into EASNER_WEBHOOK_SECRET. Verify easner-signature (Webhooks), then fulfil the order on checkout.completed. Press Send test event in Console. Your server should answer 200.
6

Go live

Console shows four checks: business verified, branding set, a test payment went through, your webhook answered 200. When all are done, turn on live payments, then swap in your live keys and a live webhook endpoint. See the go-live checklist.

Building with an AI assistant?

The Integrate page has a Building with an AI assistant? card with Preview prompt. It writes one prompt from your choices that you paste into your coding assistant, or download as AGENTS.md. The prompt holds only the test publishable key. It names your secret key and webhook secret as environment variables (EASNER_SECRET_KEY, EASNER_WEBHOOK_SECRET) for the assistant to read from your server, and Console replaces anything that looks like a secret with the variable name. An example, for one-time payments in an overlay with Node:
Give the assistant this documentation too. Checkout, Webhooks and Errors are the pages it needs. Before you trust the result, check three things: the secret key is only read from the environment, the browser only gets url or client_secret, and the order is fulfilled in the webhook, not in onSuccess.
Never paste a real secret key or webhook secret into an AI chat, a prompt or a repository. Test keys included.

Banking: open Console

Stay in Test. Settings is API keys, webhooks, logs, and Workbench.
1

Mint a test key

Settings → API keys. The list is the current Test or Live mode only. Create as many keys as you need. Copy the secret once into your server env.
2

Add a webhook URL

Settings → Webhooks. Create as many URLs as you need. Default ticks are Banking: customer.updated, account.updated, transfer.completed, transaction.created. Add Checkout events if you take payments on a site. In Connect mode the list also offers Connect events, including payee.linked and payout.completed.
You need Dev Platform enabled on the business and that test secret.

First send

The customer authorizes every send. Your key creates a transfer, but only the customer can approve it. In live, they enter a 6-digit code Easner emails to them, either on a page Easner emails them or on one you open from your app (In your own app). Test needs no code. Plan this step into your app before anything else on the send path.
Sending live money over the API is off by default. In Test everything below works. With a live key, creating a destination, creating a transfer and confirming one all return 403 payouts_disabled until Easner enables money-out API keys for your environment. It is a setting Easner turns on (not something you can switch in Console), so contact Easner support and say you want Send over the API. Customers, accounts, receive, quotes, transactions and all of Checkout work without it.
1

Create a customer

A customer is your end user. Creating one opens their USD vault (USDC) and issues acct_.
type is individual (a person, KYC) or business (a company, KYB). It decides which verification they go through and which corridors they can send to, and it cannot change later. Save id (cus_…) and the issued accounts[0].id (acct_…).
2

Fund the test vault

A new acct_ is available: 0. In Console, open Accounts → Simulate test deposit (session API, not /v1, test only). Or POST /v1/accounts/acct_…/onramp_sessions and complete the hosted test page. Wait for account.updated.
3

Add a destination

A payment method. A wallet is the simplest test destination, because it needs no corridor. For bank or mobile money, see Send.
Save id (dest_…).
4

Quote

Lock send and receive. source is required. Amounts are cents. Quotes expire in 15 minutes.
Save id (qt_…). In test, send and receive are 1:1 unless a live wallet destination is priced.
5

Transfer

Create the send. Always send Idempotency-Key.
Expected: status is requires_action. Save id and client_secret.
6

Confirm

In your app the customer reviews, then you confirm with the client_secret — not the secret key. Or open next_action.url. See Transfers.
Expected: status is completed. The test vault is debited. A txn_ row is written.Listen for transfer.completed and transaction.created on your webhook.
7

Read activity

A new test account starts at available: 0. Fund it before the first send (step above). For live-sized sends, use Receive.

Take a payment on your website

To accept online payments, go to Checkout. Those funds land on your business balance, not this customer acct_.

Receive money

Verify the customer (KYC or KYB), then fetch bank details, chain addresses, and onramp onto their account.
Last modified on November 18, 2026