Resubmit an x402 payment proof
x402_resubmitRe-send an x402 payment proof your wallet already broadcast to claim content when a fetch left the tx pending or undelivered. No new funds move or approval is needed.
Instructions
Resubmits the on-chain proof of an x402 payment this wallet already broadcast itself, to get the content it paid for. Use it when x402_fetch returned a tx without content (status pending, unknown or undelivered, or settlement_failed with a tx). No new money moves and no approval is asked: the wallet re-sends the same proof (the tx plus the saved challenge values) to the same URL. It first checks the tx on-chain — if it isn't mined yet you get status pending (wait and call again), if it reverted you get reverted (payment none: nothing was paid, so paying again is a new decision). Sellers keep proofs acceptable only for a while (the reference server: 10 minutes), so a late resubmit can be refused — that is settlement_failed with a notice; do not pay again then, tell the user and show the tx. Proofs are kept for 7 days. Returns the same shape as x402_fetch.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tx | Yes | The `tx` that x402_fetch returned for a payment the wallet broadcast itself (status pending, unknown or undelivered, or settlement_failed with a tx). |