four02_invoice_status
Verify a signed 402 invoice cryptographically and check heuristically if it looks paid by scanning Ink USDC Transfer events to the issuer. Payment detection is likely, not certain.
Instructions
Verify a signed 402 invoice (pure cryptography, no trust needed) and heuristically check whether it looks paid by scanning Ink USDC Transfer events to the issuer. Payment detection is a heuristic — "likely paid", never certain.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lookbackBlocks | No | How many recent blocks to scan for payment | |
| signedInvoiceJson | Yes | The signed invoice JSON (as produced by four02_invoice_create) |