x402 payment receipt: decode the payment you sent
x402_receiptDecodes the x402 v2 PAYMENT-SIGNATURE header sent with the request into a readable receipt: x402 version, scheme, CAIP-2 network and chain name, resource URL, the copied payment requirements, payer, recipient, value in atomic units and USD, USDC contract, nonce, validity window in ISO-8601 with seconds to expiry, signature length and prefix, extension keys, and pass/fail diagnostics. Computed locally, no upstream source. Price: $0.002 per successful call, paid in USDC with x402 v2; failed calls and calls that match nothing are not charged.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "x402_receipt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| echo | No | Optional text up to 200 characters, returned verbatim in the response for request correlation. |