Subscribe

Charges a saved payment method only after explicit confirmation. Send 1 Idempotency-Key per purchase. Reuse it within 24 hours to retry a lost answer, & the retry replays the first charge. A second top-up for the same account answers 409 while the first runs.

post/api/v1/credits/quick-topup

Request

  • Base URL: https://xquik.com
  • URL: https://xquik.com/api/v1/credits/quick-topup
  • Auth: API key in cookie __Host-xquik_session

Headers

Idempotency-Keystring

Generate 1 unique value per intended request. Reuse it only to retry the same request. Exact retries return the original result & charge nothing.

Request body

dollarsnumber required

Dollar amount for the top-up

Example request

{
  "dollars": 25
}

Response

Quick top-up result

OR
OR
OR

Example response

{
  "balance": "1450",
  "credits": "1000"
}

Changes

    • warning

      added the new topup_in_progress enum value to the ///// response property for the response status

    • warning

      added the new topup_in_progress enum value to the ////// response property for the response status

    • warning

      added the new topup_in_progress enum value to the / response property for the response status

    • warning

      added the new topup_in_progress enum value to the / response property for the response status

    • warning

      added the new topup_in_progress enum value to the / response property for the response status

    • warning

      added the new topup_in_progress enum value to the / response property for the response status

    • warning

      added the new topup_in_progress enum value to the / response property for the response status

    • warning

      added the new topup_in_progress enum value to the // response property for the response status

    • warning

      added the new topup_in_progress enum value to the // response property for the response status

    • warning

      added the new topup_in_progress enum value to the // response property for the response status

    • warning

      added the new topup_in_progress enum value to the // response property for the response status

    • warning

      added the new topup_in_progress enum value to the // response property for the response status

    • info

      added the new optional header request parameter Idempotency-Key

    • info

      added the non-success response with the status