---
title: "Setup Checkout"
method: POST
path: "/api/billing/auto-topup/setup-checkout"
tags: ["Billing"]
---

# Setup Checkout

`POST /api/billing/auto-topup/setup-checkout`

## Request

- Base URL: `https://zsign.io` (the document declares no server; this is the origin it was published from)
- URL: `https://zsign.io/api/billing/auto-topup/setup-checkout`
- Auth: HTTP bearer

## Request body

- SetupCheckoutBody
  - `threshold_credits` integer, required
  - `refill_pack` string, required
  - `monthly_limit_cents` integer, nullable
  - `expected_settings_version` integer, required
  - `action` 'activate' | 'replace', required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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