Inspect x402 Payment Receipt
sap_payments_verify_receiptDecode PAYMENT-RESPONSE or X-PAYMENT-RESPONSE receipt headers into readable JSON to inspect payment details locally.
Instructions
Decodes a PAYMENT-RESPONSE or X-PAYMENT-RESPONSE receipt header into agent-readable JSON. This is a local inspection helper; on-chain finality still comes from the x402 facilitator response and Solana transaction status.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| receiptHeader | No | Base64 JSON or raw JSON receipt header returned by PAYMENT-RESPONSE or X-PAYMENT-RESPONSE. | |
| paymentResponse | No | Alias for receiptHeader. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| decoded | No | Decoded receipt payload or the original string when not JSON. | |
| network | No | Settlement network when present. | |
| warning | No | Warning when the receipt could not be decoded as JSON. | |
| validJson | No | Whether the receipt decoded to JSON. | |
| txSignature | No | Settlement transaction signature when present. |