Base URL
All API requests should be made to:Authentication
All API requests require authentication using your API key in the Authorization header:API Keys
Get your API keys from the Dashboard. API keys follow this format:Request Format
All POST requests must include:Content-Type: application/jsonheader- Valid JSON body
Response Format
Success Response
All successful responses return JSON with adata field:
Error Response
Error responses include an error message and appropriate HTTP status code:400- Bad Request (invalid parameters)401- Unauthorized (invalid or missing API key)404- Not Found (resource doesn’t exist)429- Too Many Requests (rate limit exceeded)500- Internal Server Error
Pagination
List endpoints support pagination using query parameters:page- Page number (default: 1)limit- Items per page (default: 10, max: 100)
Rate Limits
API requests are rate limited to prevent abuse:- Production: 100 requests per minute per API key
- Rate limit headers are included in responses:
429 Too Many Requests response:
Idempotency
To prevent duplicate payments from network issues or retries, include an idempotency key:Versioning
The API version is included in the URL path:Available Endpoints
Payments
Create and manage payments:Create Payment
POST /api/v1/payments
Retrieve Payment
GET /api/v1/payments/:id
SDK Libraries
Official SDKs coming soon. For now, use the REST API directly with your preferred HTTP client.Node.js
PHP
Python
Testing
See Testing Guide for information on testing your integration.Support
Need help? Check these resources:Integration Guides
Step-by-step integration tutorials
FAQ
Frequently asked questions
Error Reference
Complete list of error codes
Webhook Documentation
Learn how to handle payment notifications