Documentation Index
Fetch the complete documentation index at: https://docs.xquik.com/llms.txt
Use this file to discover all available pages before exploring further.
Free - does not consume credits
curl -X POST https://xquik.com/api/v1/credits/topup \
-H "x-api-key: xq_YOUR_KEY_HERE" \
-H "Content-Type: application/json" \
-d '{"dollars": 10}' | jq
Your API key. Session cookie authentication is also supported.
Must be application/json.
Body
Amount in US dollars to top up. Minimum $10.
Optional checkout locale. Defaults to en.
Response
200 OK
400 Invalid input
401 Unauthenticated
429 Rate Limited
Checkout URL. Redirect the user to complete payment.
{
"url": "https://xquik.com/billing/checkout/session"
}
{ "error": "Minimum top-up is $10" }
The top-up amount is below the $10 minimum.{ "error": "unauthenticated" }
Missing or invalid API key.{ "error": "rate_limit_exceeded", "message": "Too many requests. Try again later.", "retryAfter": 60 }
Too many requests. Wait for the Retry-After header before retrying.