Skip to content

API reference

The Cryptonly merchant API is a JSON over HTTPS API. Call it from your backend only, never from a browser or mobile app.

New to the API? Start with the Quickstart.

EnvironmentBase URL
Productionhttps://api-merchant.cryptonly.net
Sandboxhttps://sandbox-api-merchant.cryptonly.net

The two environments are fully separate, with their own dashboards, API keys, and signing keys. See Sandbox environment.

Your organization can hold several accounts, each with its own balances.

  • API keys and webhook signing keys belong to an account. Create them under Accounts → account → Settings → Security. Requests authenticated with a key operate on that account.
  • Default webhook URLs belong to the organization. Configure them under Settings → Integration.
  • The API key determines the account, so requests never take an accountId. To work with several accounts, use a separate key for each.

Send your API key in the x-tenant-api-key header:

x-tenant-api-key: YOUR_API_KEY

See Authorization for creating keys and scopes.

  • Send request bodies as JSON with Content-Type: application/json.
  • Create requests take an orderId, your own reference and the idempotency key.
  • Errors return a JSON body with a stable code and a human-readable message. See HTTP status codes.
  • Each API key can make up to 200 requests per minute. Beyond that, the API returns 429.

The OpenAPI reference lists every endpoint with its request and response fields.