---
title: "Purchase Pack"
method: POST
path: "/v1/accounts/{account_id}/billing/packs/purchase"
---

# Purchase Pack

`POST /v1/accounts/{account_id}/billing/packs/purchase`

## Request

- Base URL: `https://api.textforagents.com`
- URL: `https://api.textforagents.com/v1/accounts/{account_id}/billing/packs/purchase`
- Auth: none declared

Buy a reload pack. Rail 'stripe' returns a Checkout URL
and credits NOTHING until the webhook confirms payment;
'stripe_saved' charges the saved method now; 'usdc' converts
existing USD ledger balance now. Segment credit is
exactly-once under replayed confirmations.

## Path parameters

- `account_id` string, required

## Headers

- `authorization` string, nullable

## Request body

- PackPurchaseBody
  - `pack_id` string, required
  - `rail` string

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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