Error codes · Orders
Allowed-debt consent required
Code
allowed_debt_consent_requiredStatus402
If this was an orderThis request bought nothing
Send it again unchanged?No — change something first
.NET SDK
AnisApiExceptionWhat 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
- POSTPlace an order
/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"
}