Skip to main content

SDKs & Libraries

Accelerate your integration by using official SDKs for TypeScript, Python, Go, PHP, Java, Kotlin, C#, Ruby, and React Native. These libraries simplify API requests, authentication, and error handling, letting you focus on building great payment experiences.

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 YOUR_API_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: 1000 requests per minute per business
  • Burst: Up to 100 requests per second
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.