---
title: "Create credit top-up checkout"
method: POST
path: "/api/v1/credits/topup"
tags: ["Subscribe"]
---

# Create credit top-up checkout

`POST /api/v1/credits/topup`

Create a hosted checkout only after the user confirms. The request never completes payment or adds credits.

## Request body

- object
  - `dollars` integer, required — Amount to top up in US dollars. Minimum 10.
  - `locale` string — Optional checkout locale. Defaults to en.

## Response `200`

Top-up checkouts

- object
  - `redirect_url` string, uri, required — Stable Xquik redirect URL for the active checkout.
  - `url` string, uri, required — Same stable Xquik redirect URL as redirect_url. The response never exposes the hosted checkout URL.

## Other responses

- `400` — Invalid input
- `401` — Unauthenticated
- `429` — Xquik tier rate limit exceeded. Wait `Retry-After` seconds before retrying.
- `default` — Unexpected error.

## Changes

- **2026-09-27** `c33250258fdf` — 16 warning
  - added the new `draw_too_large` enum value to the `allOf[#/components/schemas/Error]/error/oneOf[subschema #1: LegacyErrorCode]/` response property for the response status `429`
  - added the new `draw_too_large` enum value to the `allOf[#/components/schemas/Error]/error/oneOf[subschema #2: StructuredError]/code` response property for the response status `429`
  - added the new `draw_too_large` enum value to the `error/oneOf[subschema #1: LegacyErrorCode]/` response property for the response status `400`
  - added the new `draw_too_large` enum value to the `error/oneOf[subschema #1: LegacyErrorCode]/` response property for the response status `401`
  - …12 more
- **2026-09-26** `9ae77b3e4fdc` — 8 warning
  - added the new `bookmark_folders_unavailable` enum value to the `allOf[#/components/schemas/Error]/error/oneOf[subschema #1: LegacyErrorCode]/` response property for the response status `429`
  - added the new `bookmark_folders_unavailable` enum value to the `allOf[#/components/schemas/Error]/error/oneOf[subschema #2: StructuredError]/code` response property for the response status `429`
  - added the new `bookmark_folders_unavailable` enum value to the `error/oneOf[subschema #1: LegacyErrorCode]/` response property for the response status `400`
  - added the new `bookmark_folders_unavailable` enum value to the `error/oneOf[subschema #1: LegacyErrorCode]/` response property for the response status `401`
  - …4 more
- …earlier changes not shown

[Full history](https://skmtc.dev/xquik-dev/apis/xquik-api-2/changes/api/v1/credits/topup/post.md)

---

[API](https://skmtc.dev/xquik-dev/apis/xquik-api-2.md) · [All operations](https://skmtc.dev/xquik-dev/apis/xquik-api-2/llms.txt) · [OpenAPI document](https://skmtc.dev/xquik-dev/apis/xquik-api-2/revisions/c33250258fdf?raw)
