Credits
Quick top-up credits
Instantly charge a saved payment method for X API credits with a USD 10 minimum and USD 500 maximum
POST
Quick top-up credits
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
Headers
Your API key. Session cookie authentication is also supported.
Must be
application/json.Body
Amount in US dollars to charge. Minimum 500.
charged outcome grants credits and updates balance. If the endpoint returns requires_action, complete payment authentication with clientSecret before retrying the metered API call. Pass clientSecret to the billing confirmation flow only; do not print it in logs. If it returns no_payment_method, create a checkout top-up instead.
Response
- 200 Charged
- 200 Requires action
- 200 No payment method
- 400 Invalid input
- 401 Unauthenticated
- 429 Rate Limited
Related: Top Up Credits · Get Top-Up Status · Get Credits · Billing Guide
Last modified on May 14, 2026
Quick top-up credits