Get started
Authentication
CamelPay supports two authentication methods: JWT bearer tokens for account management and API keys for payment processing.
CamelPay supports two authentication methods depending on the operation you're performing.
JWT Bearer Tokens
Used for: creating developer apps, generating API keys, managing payment pages, and viewing payouts.
Authorization: Bearer <your_jwt_token>JWT tokens expire after 1 hour. Re-authenticate via OTP when expired.
API Key Authentication
Used for: initiating payments, checking payment status, and webhook integrations.
X-API-Key: cp_live_your_api_key_hereAPI keys are scoped, environment-specific, and can be rotated without affecting your account.
