---
title: "Spending cap reached — Anis Developers"
description: "HTTP `429`, `spending_limit_exceeded`: this order would exceed the application’s spending cap for the current window, across the application or for this wallet. The order was not placed and nothing was charged. Anis staff set the cap; a new application defaults to 5,000 LYD per day across all its wallets."
url: https://developers.anis.ly/errors/spending-limit-exceeded/
language: en
---

> Every page of this documentation: https://developers.anis.ly/llms.txt

[Error codes](https://developers.anis.ly/errors.md) · Limits

# Spending cap reached

- **Code:** `spending_limit_exceeded`
- **Status:** 429
- **If this was an order:** This request bought nothing
- **Send it again unchanged?** No — change something first
- **.NET SDK:** `LimitExceededException`

## What it means

HTTP `429`, `spending_limit_exceeded`: this order would exceed the application’s spending cap for the current window, across the application or for this wallet. The order was not placed and nothing was charged. Anis staff set the cap; a new application defaults to 5,000 LYD per day across all its wallets.

## What to do

- `Retry-After` gives the seconds until the spending window resets. Windows follow UTC: a one-day window starts at 00:00 UTC, which is 02:00 in Libya.
- Do not resend the same order immediately or retry it in a loop. The refusal is recorded: after the window resets, place a new order with a new operation id.
- Ask [Anis staff](mailto:support@anis.ly) to change the cap if your application needs a different allowance.

## Where you can meet it

- POST [Place an order](https://developers.anis.ly/reference/create-order.md) `/v1/wallets/{walletId}/orders`
- POST [Charge a meter](https://developers.anis.ly/reference/create-meter-charge.md) `/v1/wallets/{walletId}/meter-charges`
- POST [Request a direct recharge product](https://developers.anis.ly/reference/create-direct-recharge.md) `/v1/wallets/{walletId}/direct-recharges`

## Example

The body of the refusal. Its `type` is the address of this page.

```
{
  "type": "https://developers.anis.ly/errors/spending-limit-exceeded",
  "title": "Spending cap reached",
  "status": 429,
  "code": "spending_limit_exceeded",
  "requestId": "01J9R2K8T4V6XQ0M3B7C5D9E1F"
}
```
