Error codes · Orders

Order refused

Codepurchase_not_allowed
Status409
If this was an orderThis request bought nothing
Send it again unchanged?No — change something first
.NET SDKAuthorizationException

What it means

The purchase conflicts with the current state of the Anis business account, and it was refused. It carries the code purchase_not_allowed.

What to do

  • Place a new order with a new operation id only after the account’s state has changed.

Where you can meet it

Example

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

{
  "type": "https://developers.anis.ly/errors/order-refused",
  "title": "Order refused",
  "status": 409,
  "code": "purchase_not_allowed",
  "requestId": "01J9R2K8T4V6XQ0M3B7C5D9E1F"
}