Credits & Pricing¶
Each dewarp request costs 1 credit. Credits are prepaid — purchase a pack, then use them at your own pace. Credits do not expire.
Pricing¶
| Credits | Price (GBP) | Per image |
|---|---|---|
| 25 | £2.00 | £0.08 |
| 100 | £5.00 | £0.05 |
| 250 | £10.00 | £0.04 |
| 1,000 | £20.00 | £0.02 |
Prices include VAT where applicable. All billing and tax compliance is handled by our payment provider.
Checking your balance¶
curl -s https://page-dewarp-api.louismmx.workers.dev/api/credits \
-H "Authorization: Bearer pdw_YOUR_API_KEY" | jq .
The X-Credits-Remaining response header on every dewarp request also
reports your current balance.
Purchasing credits¶
curl -s https://page-dewarp-api.louismmx.workers.dev/api/checkout \
-H "Authorization: Bearer pdw_YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"pack": "100"}' | jq .
Open the checkout_url in a browser to complete the purchase. You'll
be redirected back after payment, and credits are added immediately.
Available packs¶
The pack field accepts: "25", "100", "250", "1000".
Failed requests¶
Credits are only deducted on successful processing. If a request fails (bad image, server error, timeout), no credit is charged.