Sandbox. Test keys, Arc testnet and test USDC. No real money moves here.

API reference

Authentication

Authenticate every request with a secret key in the Authorization header, as a bearer token.

curl https://sandbox.api.saphra.one/v1/checkout/sessions \
  -H "Authorization: Bearer sk_test_…"

Secret keys

PrefixEnvironmentMoves real money
sk_live_LiveYes
sk_test_SandboxNo
  • Create and revoke keys in the console. Only the business owner and admins can manage keys.
  • A key is shown once when it is created. Store it straight away.
  • Live keys can be created only once your business is verified.
  • Revoking is immediate; requests with a revoked key fail with api_key_invalid.

When authentication fails

HTTPcodeWhy
401api_key_missingNo Authorization: Bearer header.
401api_key_invalidThe key is malformed, unknown or revoked.
401api_key_wrong_modeA test key on the live API, or a live key on the sandbox.
403account_not_businessThe key's account is no longer a Business account.
403business_not_verifiedA live key whose business is no longer verified.