protect_payment
One automatic x402 payment-safety front door: pre-payment ALLOW/BLOCK, duplicate-safe ID binding, policy risk reasons, and optional mined-settlement verification. Free and rate-limited; the buyer signs and pays.
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": {
"idempotencyKey": "<idempotencyKey>",
"payment": "<payment>"
},
"name": "protect_payment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| payment | Yes | ||
| settlement | No | ||
| idempotencyKey | Yes |