Anton.Docs
Dashboard (opens in a new tab)
Get started

Environments

Sandbox and production share one API and nothing else. Keys, data and webhooks never cross between them.

EnvironmentBase URLToken lifetimeMoney
Productionhttps://api.antonpayments.com1 hourReal
Sandboxhttps://api.antonpayments.dev8 hoursNone. Rails are simulated

A credential belongs to one environment, and its client_id says which: sandbox IDs start ant_oc_test_ and production IDs ant_oc_live_. A sandbox token sent to the production API is refused with 403 key_environment_mismatch, and a sandbox client asking the production token endpoint for a token gets 403 invalid_client. A production token sent to the sandbox returns 401 invalid_token, because each environment signs tokens with its own key. Every object carries livemode, true in production and false in the sandbox, so stored data can always say where it came from. Authentication covers the token and the proof.

Sandbox

The same endpoints, schemas, statuses, idempotency and signed webhooks as production. Rails are simulated, so nothing reaches a bank or a chain, and a payout finishes in seconds. It opens before your business is verified. One call funds a balance: see Fund your balance.

Production

Production opens once your business is verified through KYB, Anton has underwritten the account, and the corridors you plan to use are enabled. Nothing is promoted from the sandbox. You create production credentials, subscriptions and payees again, and your code is the only thing that carries over. Go live is the checklist.

Something wrong or missing here? Open an issue (opens GitHub in a new tab) ↗