API Authentication & Security
Handle uses Bearer Token Authentication over TLS 1.3 to authenticate all API requests.API Key Types
Secret keys are hashed using
SHA-256 before being stored in the Handle database. Handle will never display your secret key again after initial generation. Keep it stored securely in your .env file or secret manager.Request Idempotency (X-Idempotency-Key)
To prevent accidental double-billing if network connection drops during an API call, you can pass a unique X-Idempotency-Key header:
IP Whitelisting & Domain Security
For enterprise merchants, you can lock your API keys to specific production server IP addresses in the Handle Merchant Dashboard. Requests originating from unlisted IP addresses are rejected with403 Forbidden.