View Markdown

invalid_receipt

HTTP 422 · retryable is false

POST /v2/receipts/verify checked the receipt and it failed: it was altered, it is not Kabu’s, or it belongs to another account or mode.

What to do: send the receipt exactly as it came in resolution.receipt, with a key of the same account and mode. See Receipts.

The response

Every error comes as application/problem+json; Errors explains each field.

{
  "type": "https://usekabu.com/docs/errors/invalid_receipt",
  "title": "Invalid receipt",
  "status": 422,
  "code": "invalid_receipt",
  "detail": "…",
  "hint": "…",
  "retryable": false,
  "request_id": "req_…",
  "doc_url": "https://usekabu.com/docs/errors/invalid_receipt"
}