---
title: "Set Spend Cap"
method: PUT
path: "/v1/accounts/{account_id}/billing/spend-cap"
---

# Set Spend Cap

`PUT /v1/accounts/{account_id}/billing/spend-cap`

## Request

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

The affordability guarantee: a hard monthly ceiling on
pack + auto-reload spend. null = no cap; 0 = no pack spend.

## Path parameters

- `account_id` string, required

## Headers

- `authorization` string, nullable

## Request body

- SpendCapBody
  - `monthly_spend_cap_cents` integer, nullable

## 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)
