Skip to main content
POST
/
credits
/
topup
Top up credits
curl --request POST \
  --url https://xquik.com/api/v1/credits/topup \
  --header 'Content-Type: <content-type>' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "dollars": 123,
  "locale": "<string>"
}
'

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

Headers

x-api-key
string
required
Your API key. Session cookie authentication is also supported.
Content-Type
string
required
Must be application/json.

Body

dollars
number
required
Amount in US dollars to top up. Minimum $10.
locale
string
Optional checkout locale. Defaults to en.

Response

url
string
Checkout URL. Redirect the user to complete payment.
{
  "url": "https://xquik.com/billing/checkout/session"
}
Last modified on May 5, 2026