Skip to main content
Every key belongs to one business and one mode (test or live). The same key type authenticates Banking, Checkout and Connect routes on https://api.easner.com/v1; only the scopes on the key differ. Over the API a key can see and revoke the keys of its own mode, if it carries the keys.manage scope. Creating a key is a Console action. Bearer auth and rotation: Authentication.

What the API does

A key in the list has these fields, and no others: The list is paged and newest first, like every list. See Pagination and filtering.

What the API does not do

  • Create a key. Creating a key needs a security code in Console, and the secret is shown in the browser. Make keys in Console: Settings → API keys, then Create test key or Create live key. Choose the scopes there.
  • Show a secret. The secret, the publishable key and the stored hash are never returned by the API, not even to a key with keys.manage.
  • Change a key. A key’s name and scopes are fixed. To change what a key can do, create a new key in Console and revoke the old one.
  • Undo a revoke. A revoked key cannot be revived. Create a new key.
  • Revoke a key of the other mode. A test key sees only test keys and a live key only live keys. Another key’s id is 404 not_found.

Secrets are shown once

A secret key (easner_sk_…) is shown once, when it is created in Console. Easner keeps only a hash, so a lost secret cannot be read back. If a secret is lost or leaked, create a new key in Console, deploy it, then revoke the old one through the API or in Console. Rotation is covered on Authentication.

Revoking

POST /v1/api_keys/:id/revoke takes no body. It works at once: the next call with the revoked key answers 401 invalid_api_key.
  • A key can revoke itself. The response is the key with revoked_at set, and the calling request is the last one that key makes.
  • Revoking a key that is already revoked answers 200 with the key unchanged, and writes nothing.
  • An id that is not a key of your business and mode is 404 not_found.
  • The change is written to the audit log. It is credited to the person who created the calling key, or to the business owner if that is not known. The owner is not emailed about a revoke.

Errors

See Errors for every code.

Console

Settings → API keys, in Console, is where you create keys, see their scopes, and revoke them with a security code. Use the API for automation that only needs to look at or revoke keys.

Scope matrix

Notes:
  • keys.manage and webhooks.manage are never on by default. Tick them on purpose when you create a key in Console, or leave them off. Detail on API keys and Webhooks.
  • Money-out switch: live only, off by default. Live calls return 403 payouts_disabled until Easner enables it for you. Test calls are never held by it. See Send.
  • Quotes and cancel are not behind the money-out switch, and neither check restrictions. Only creating the transfer is.
  • A key sees only objects of its own mode. A wrong-mode id is 404 not_found.

Restrictions

Easner can restrict a business for sending, for deposits, or lock it. The restriction answers 403 with type: permission and one of two codes: POST /v1/destinations does not check restrictions (it checks the money-out switch only), and neither do Checkout routes or reads such as GET /v1/accounts. Resolve a restriction in Console or with support, then retry. Branch on code.

Rate limits and headers

Over a limit, the call answers 429 with Retry-After: 60 and the usual error body (type rate_limit, code rate_limit). Response headers on /v1 calls: There are no X-RateLimit-Limit, X-RateLimit-Remaining or X-RateLimit-Reset headers, and no Idempotency-Key echo header. The numbers (per IP: 120 reads and 30 writes a minute, approximate; per business: 300 reads and 40 writes a minute, each shared across all your keys; 100 checkout sessions a minute) and what counts as a write are on Authentication. POST /v1/customer_portal/sessions counts as a write, and so does every POST and DELETE on /v1/api_keys, /v1/webhook_endpoints and /v1/subscriptions/:id/… (cancel, pause, resume). Their GET calls count as reads.

Errors

Every code, with the status it comes back with.
Last modified on November 18, 2026