Embed recharges into your product.
Server-to-server REST API with HMAC request signing, per-key rate limits, idempotency, and reliable webhooks. All amounts are in paise (₹ × 100).
Authentication
Every partner request is signed with HMAC-SHA256.
X-API-Key: pk_live_...
X-Timestamp: 1714400000
X-Signature: hex(hmac_sha256(secret, "<ts>.<METHOD>.<path>.<body>"))
Idempotency-Key: <client-generated-uuid>The X-Timestamp must be within 5 minutes of server time. The signature is computed over a .-joined payload of timestamp, uppercased HTTP method, request path, and the raw request body.
Create an order
PUT /api/v1/orders — scoped to orders:create.
PUT /api/v1/orders
{
"rechargeNumber": "9876543210",
"operatorCode": "JIO",
"operatorName": "Reliance Jio",
"circleCode": "DL",
"planId": "P-199",
"planAmount": 19900 // paise
}
200 OK
{
"success": true,
"data": {
"id": "uuid",
"orderNumber": "ORD-20260427-A3K9M",
"status": "CREATED",
"totalAmount": 19900,
"financialYear": "2026-27"
},
"requestId": "..."
}Webhooks
We POST status updates to your registered URL.
POST <your-webhook-url>
X-Signature: hex(hmac_sha256(your_secret, raw_body))
{
"event": "order.completed",
"orderId": "uuid",
"status": "SUCCESS",
"operatorRef": "OPR-XXXXX",
"amount": 19900
}Rate limits & idempotency
Default limit: 120 requests/minute per partner key — adjustable on request. Headers: X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset.
POST/PUT requests support Idempotency-Key — replays return the original 2xx response within 24 hours.
All errors follow the shape { success: false, error: { code, message, details? } } with stable codes: BAD_REQUEST, UNAUTHORIZED, RATE_LIMITED, CONFLICT, RECHARGE_FAILED, …