payment_incoming
Verify a x402 payment ON-CHAIN (the USDC transfer to your address, exact amount) and mark the session fulfilled. The blockchain is the ONLY source of truth — the payment_sessions table is never trusted alone. Returns { status: 'fulfilled', resource } if verified, or an error if not yet paid/expired.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tx_hash | Yes | The on-chain transaction hash of the USDC transfer / payX402 call | |
| payment_id | Yes | The paymentId returned by payment_required (pay_...) |