AmountRequired 422

When you get it

The QR carries no amount, so the payer has to say how much to pay. You called /v1/execute or /v1/pay without amount.

Example

{
  "_tag": "AmountRequired",
  "type": "AmountRequired",
  "message": "This QR is open-amount. Provide `amount` (minor units) and retry.",
  "docs_url": "https://apidocs.borderli.io/docs/errors/AmountRequired"
}

What to do

Ask your user for the amount and send it as amount, in minor units. QRs that carry an amount ignore this field.

← All errors