> ## Documentation Index
> Fetch the complete documentation index at: https://docs.particle.pro/llms.txt
> Use this file to discover all available pages before exploring further.

# spend_limit_exceeded

> Monthly spend limit exceeded

|                    |                        |
| ------------------ | ---------------------- |
| **HTTP status**    | `402 Payment Required` |
| **Error code**     | `spend_limit_exceeded` |
| **Resolve action** | `update_spend_limits`  |

## What happened

The organization's API usage has reached the configured monthly budget cap. All API requests are blocked until the spend limit is increased or the next billing period begins.

## How to fix

Increase the spend limit:

Increase the limit:

```bash theme={"dark"}
curl -X PUT https://api.particle.pro/v1/organizations/{orgId}/billing/spend-limits \
  -H "Authorization: Bearer YOUR_JWT_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"monthly_budget_cents": 50000}'
```

Or remove the limit entirely:

```bash theme={"dark"}
curl -X DELETE https://api.particle.pro/v1/organizations/{orgId}/billing/spend-limits \
  -H "Authorization: Bearer YOUR_JWT_TOKEN"
```

Both actions immediately unblock the organization if the new limit exceeds current spend.

Requires the **OWNER** role.

Alternatively, wait for the next billing period — the block expires automatically at the end of the current period.
