AmountRequired 422

When does this happen?

The QR code is an open-amount QR — it carries no fixed amount, so the payer must specify how much to pay. You called /v1/execute or /v1/pay without an amount.

Example response

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

What to do

Retry the request with an amount field in minor units (e.g. centavos). This applies to open-amount QRs only; fixed-amount QRs ignore it.

← Back to Error Handling