Merchant API Documentation
Authentication
Include your API token in the Authorization header:
Authorization: Bearer YOUR_API_TOKEN
Get your API token from the API Keys page.
Endpoints
GET /api/merchant/products
List all products available in your store with prices.
POST /api/merchant/orders
Create a new order.
{
"product_id": 1,
"customer_inputs": {"email": "customer@example.com"},
"customer_email": "customer@example.com"
}
GET /api/merchant/orders
Get your order history.
GET /api/merchant/wallet
View your wallet balance and recent transactions.
GET /api/merchant/analytics
Get sales analytics and statistics.
Rate Limiting
API requests are limited to 60 requests per minute per token.
Webhooks
You can configure webhooks to receive real-time notifications for order events.
Events: order.created, order.completed, order.failed
Webhooks send a POST request with a JSON payload to your configured URL.