API Key Security

Multi-layered defense to protect your API keys and your customers' funds.

Key Rotation

Rotate keys with a 24-hour grace period. Old key keeps working while you update your integration. New key inherits IP allowlist and scope settings.

IP Allowlisting

Lock keys to specific IPs or CIDR ranges. Requests from unlisted IPs get 403 Forbidden. Empty list allows all (backwards compatible).

Scoped Permissions

Assign resource:action scopes like charges:write or customers:read. Empty scopes grant full access. 12 granular scopes available.

Auto-Suspension

Real-time anomaly detection flags write bursts and IP diversity spikes. Key is auto-suspended with dashboard notification.

Emergency Revocation

Instantly revoke one key or all keys from the dashboard. Revoked keys are permanently deactivated you will have to generate a new one.

Available Scopes

charges:readcharges:writecustomers:readcustomers:writesubscriptions:readsubscriptions:writeinvoices:readinvoices:writerefunds:writepayment_methods:writewebhooks:readwebhooks:write