---
title: "Allowed-debt consent required — Anis Developers"
description: "The wallet can cover this purchase only by using the account’s allowed debt, and the order did not consent to that. Debt is never used without an explicit yes."
url: https://developers.anis.ly/errors/allowed-debt-consent-required/
language: en
---

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

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

# Allowed-debt consent required

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

## What it means

The wallet can cover this purchase only by using the account’s allowed debt, and the order did not consent to that. Debt is never used without an explicit yes.

## What to do

- Place a new order with `useAllowedDebt: true` — only if you mean to spend debt — under a new operation id.

## Where you can meet it

- POST [Place an order](https://developers.anis.ly/reference/create-order.md) `/v1/wallets/{walletId}/orders`

## Example

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

```
{
  "type": "https://developers.anis.ly/errors/allowed-debt-consent-required",
  "title": "Allowed-debt consent required",
  "status": 402,
  "code": "allowed_debt_consent_required",
  "requestId": "01J9R2K8T4V6XQ0M3B7C5D9E1F"
}
```
