verify_settlement
Free post-payment step. Call only after the merchant x402 payment for a previously approved authorization or transaction clearance. Verifies the Base USDC settlement on-chain and, when it matches the authorization, returns a signed settlement receipt. The authorization_token may come from clearance_x402_ap2 or authorize_x402_ap2; payment_response is the merchant x402 PAYMENT-RESPONSE when available. No additional Trust fee is charged.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| payment_response | No | Optional merchant x402 PAYMENT-RESPONSE header/value from the completed payment; omit only when on-chain reconciliation can identify the settlement. | |
| authorization_token | Yes | Signed authorization_token returned by clearance_x402_ap2 or authorize_x402_ap2 for the exact merchant request. |