Settle a signed x402 payment
settle_paymentBroadcasts the payment on-chain and moves real funds; it is idempotent per signed payload, so resubmitting the identical payload returns the recorded outcome. Treat errorReason "settlement_pending" as unresolved and call again with the identical arguments to poll.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"paymentPayload": "<paymentPayload>",
"paymentRequirements": "<paymentRequirements>"
},
"name": "settle_payment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x402Version | No | ||
| paymentPayload | Yes | ||
| serverExtensions | No | ||
| paymentRequirements | Yes |