---
title: "Purchase Overage Pack"
method: POST
path: "/v1/credits/purchase"
tags: ["credits"]
---

# Purchase Overage Pack

`POST /v1/credits/purchase`

## Request

- Base URL: `https://api.theagentc.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.theagentc.io/v1/credits/purchase`
- Auth: HTTP bearer

DISABLED. This used to grant credits directly with no payment — a faucet
that, with free accounts now active, would let anyone self-grant unlimited
credits. Credit packs are now retired entirely (POST /v1/billing/credit-pack
410s too). Kept as a 410 so any stale client gets a clear message.

## Request body

- OveragePackPurchaseRequest: Request body for POST /v1/credits/purchase.
  - `pack` string, required: Size of overage pack to purchase

## Response `200`

Successful Response

- OveragePackPurchaseResponse: Response after purchasing an overage pack.
  - `success` boolean, required: Whether purchase was successful
  - `new_balance` integer, required: Updated credit balance
  - `credits_added` integer, required: Credits added by this pack
  - `price_cents` integer, required: Price paid in cents
  - `message` string, required: Confirmation message

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/theagentc/apis/the-agent-c-api.md) · [All operations](https://skmtc.dev/theagentc/apis/the-agent-c-api/llms.txt) · [OpenAPI document](https://skmtc.dev/theagentc/apis/the-agent-c-api/revisions/1c9868b44584?raw)
