https://api.easner.com
Auth: Authorization: Bearer easner_sk_test_… or easner_sk_live_…. See Authentication. Every secret key belongs to one business and one mode (test or live). The same key prefixes work for Banking, Checkout and Connect; scopes on the key decide which rows below you can call.
API reference. This page is the index. The API reference tab lists one page per method under Banking, Checkout, Connect and API (the same grouping as the Guides). Each page has parameters, the response, and a request builder. Paste a test key and send the call from the page. Use a test key. A live key moves money.
GET /v1/checkout/publishable-keys/validate is the only route that is not for your server. Checkout.js calls it from the browser with a publishable key.
Payment links (/v1/payment_links) are not on the public API. Create them in Console under Collections → Links.
Banking
Connect
API keys and webhooks
Ids
Document ids on invoices, quotes and statements are one undashed code, for example
EINV3F2A9C1B7D4E. Invoice routes are not on /v1.
A Checkout
customer (on sessions, and in customer.updated for checkout) is a plain UUID such as 0b9f1c2e-5a7d-4e1b-9c3a-2f6d8e4b7a10, not a banking cus_. The two are different objects. Do not pass one where the other is expected.Request rules
- Send JSON with
Content-Type: application/json. Amounts are integers in the smallest currency unit (cents). Idempotency-Key(up to 255 characters; longer is400invalid_idempotency_key) is honoured onPOST /v1/transfers,POST /v1/checkout/sessions,POST /v1/refundsand the three subscription actions (cancel,pause,resume). See Authentication.- Responses carry
livemode. The key decides the mode. A test key never reads live objects and the reverse. /v1has no browser CORS, except the publishable-key validate route. Call everything else from your server.- Rate limits: Authentication and API keys and scopes. Errors: Errors.
Lists
Every list answers{ "object": "list", "data": [ … ], "has_more": true, "url": "/v1/customers" }. data is the array a list always returned. object, has_more and url are new. Read has_more before you assume the list ended.
The order, and the page size, depend on the endpoint:
Pagination and filtering
Every list takes the same parameters:
To read every row, ask for
limit=100, then pass the last id of each page as starting_after until has_more is false:
400 invalid_request, not an empty page. The response names the parameter in error.fields. An empty data with has_more: false means the list has ended.
Order is stable: items with the same created are ordered by id, so a page boundary never repeats or skips a row. A row created while you page can appear on the page you read last.
Checkout sessions, payments and subscriptions are the exception. Their ending_before is 400 invalid_request (page forward with starting_after), and they break ties on created alone: two of them created in the same instant can fall on either side of a page boundary. Use a created[gte] / created[lte] window when you need an exact range.
The filters that exist beyond paging:
Other fields are filtered on your side, for example by
external_id on a customer or by customer on a transaction.
Publishable key validate
GET /v1/checkout/publishable-keys/validate?key=easner_pk_… is called by Checkout.js in the browser. It needs no Authorization header. It sends access-control-allow-origin: *, and answers OPTIONS with 204, so any page can call it. It returns nothing secret. Success, 200:
Errors use the usual envelope:
400 missing_key, 401 or 403 invalid_publishable_key, 503 test_payments_unconfigured. The same CORS header is on errors. See Embed reference.
Not on /v1
- No
GETdestination or quote by id. Store the id from create. - No customer update. Put
emailon create before live verification. - No session update, and no subscription create or price change on
/v1. A subscription’s price change, its “keep” (undo a pending cancel) and the refund of its unused part are Console only.refund_unusedon the cancel route is refused with400. - No automated USDC checkout. A stablecoin payment link shows your static wallet address. There is no USDC session or quote on the API.
- No delete of a product, price or promotion code. Archive a product or price with
active: false, and turn a code off withactive: false. A price’s amount and a code’s discount cannot change: make a new one. - Payment links are created in Banking (Collections, Links). They are not in this reference.
- No refund retrieve by id. List by
checkout_session. - Creating an API key, and rotating a webhook signing secret, stay in Console.
/v1can list and revoke keys and manage webhook endpoints, see API keys and Webhooks. - No test-credit endpoint. Fund test with Console Simulate test deposit or test onramp.
Quickstart
Integrate Checkout from the Console, then send your first transfer in test.
