Environment URLs

Learn more about Test Mode vs Live Mode.

API Key Management and Authentication

1

Access API Keys

Navigate to Developer → API Keys in your dashboard to manage your keys.
2

Generate a New Key

Select Add API Key, provide a descriptive name, and generate your key.
3

Store Your Key Securely

Copy the generated key immediately and ensure it is stored securely.
4

Authenticate Your API Requests

Use your API keys to authenticate all requests. Apply the following authorization format:
Authorization: Bearer test_mode_key
Never expose your secret API keys in client-side code or public repositories.

Response Format

{
  "id": "pay_1234567890",
  "status": "completed",
  "amount": 2999,
  "currency": "USD",
  "created_at": "2024-01-15T10:30:00Z"
}

Rate Limits

  • Standard: 100 requests per minute per API key
  • Burst: Up to 10 requests per second
  • Webhooks: 1000 deliveries per minute
Monitor X-RateLimit-Remaining header to track usage.

Error Handling

To effectively manage errors, consult the Error Codes and Transaction Failures sections for detailed guidance.

Webhooks

Receive real-time notifications about payment events. See our Webhook Guide for setup instructions.

Webhook Guide

Set up webhooks for real-time notifications and event handling.