What we do
- One API key per cashier. Regenerate it in the dashboard at any time; the old key stops working immediately.
- IP allowlist. Restrict a key to your server's IP addresses. The dashboard shows which IPs used the key.
- Encrypted seed. Wallet seed phrases are stored AES-encrypted and are never returned in any API response.
- HTTPS only. Every request travels over an encrypted channel.
- Retry protection. If the same order arrives twice in a row, the second one buys nothing — automatically.
- Empty-wallet check. If the balance is too low, nothing is sent to Fragment and no order is created.
What we need from you
- Keep the API key on your server only — never in browser or mobile app code.
- Turn on the IP allowlist for the cashier.
- Keep only the working amount in the cashier wallet and move the rest out.
- If you suspect a key leak, regenerate it in the dashboard right away.
Error codes
| Code | Meaning |
|---|---|
INVALID_API_KEY | Wrong or regenerated key |
IP_NOT_ALLOWED | Request from a non-allowed IP |
CASHIER_INACTIVE | The cashier is disabled |
INSUFFICIENT_BALANCE | Not enough funds; no order created |
IDEMPOTENCY_KEY_MISMATCH | Key already used with different parameters |
Found a vulnerability?
Please message @roxiyuz on Telegram and give us a chance to fix it before public disclosure.
Minutes to your first order
Signing up and getting an API key is free. The first 20 orders on each account carry no service fee.