Credits and billing
Simple credit system. 1 credit = 1 page.
How credits work
Credits are consumed when a job completes successfully.
| Document | Credits used | |----------|-------------| | 1-page PDF | 1 | | 3-page PDF | 3 | | Any image (PNG, JPG, WebP, TIFF) | 1 |
Plans
| Plan | Pages | Price | Notes | |------|-------|-------|-------| | Free | 10 pages | ₹0 | Included on signup | | Starter Pack | 500 pages | ₹499 | One-time, never expires |
Credits from packs carry over indefinitely. They never expire.
Checking your balance
curl "https://exdocapi.cheapehai.shop/api/v1/usage" \
-H "Authorization: Bearer $EXDOC_API_KEY"
{
"credit_balance": 47,
"recent_usage": [
{
"delta_pages": -2,
"reason": "extraction",
"job_id": "a1b2c3d4-...",
"created_at": "2024-11-15T10:23:00Z"
},
{
"delta_pages": 500,
"reason": "purchase",
"created_at": "2024-11-01T09:00:00Z"
}
]
}
delta_pages is negative for usage, positive for purchases.
Insufficient credits
If you don't have enough credits, the API returns 402 and the job is not created.
{ "error": "Insufficient credits" }
Top up via Dashboard → Billing. Payments via Razorpay — UPI, cards, and net banking supported.