Security
Security
7. Security & Anti-Replay
- HTTPS only.
codeis one-time, TTL 2-5 minutes, store usedcode/statepairs.- Validate Bearer
api_key. - For webhook, verify HMAC (
X-Cryptopass-Signature) and/or Bearerwebhook_api_key. - Apply rate limits, log requests/responses (redact secrets).
Important: do not log
api_key,webhook_secret, or user tokens.