---
title: "Begin a prepaid credit purchase"
method: POST
path: "/v1/billing/checkout"
tags: ["Billing"]
---

# Begin a prepaid credit purchase

`POST /v1/billing/checkout`

## Request

- Base URL: `https://ratchetgate.com`
- URL: `https://ratchetgate.com/v1/billing/checkout`
- Auth: HTTP bearer

Buys prepaid credit. Set save_card to keep the payment method on file so automatic top-up can use it later — it defaults to false, and the consent wording for a future charge is shown on Stripe's own page.

## Request body

- object
  - `pack_id` 'pack_25' | 'pack_100' | 'pack_500', required
  - `save_card` boolean

## Response `200`

Default Response

- object

## Other responses

- `400`: Invalid request.
- `401`: Missing or invalid API key.
- `402`: Insufficient prepaid credit.
- `403`: Scope, policy, or budget refusal.
- `404`: Not found.
- `409`: Conflicting state or idempotency-key reuse.
- `413`: Payload too large.
- `429`: Rate limit exceeded.

---

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