check_payment_batch
Paid ($0.50, x402 v2 exact): batch pre-signing safety check — 1 to 20 payment checks in ONE paid call. Each item takes exactly the same fields as check_payment_recipient and gets its own decision; the result carries per-item decisions plus a summary {total, allow, escalate, block, input_error}. An item with invalid fields is reported per item as INPUT_ERROR and does not fail the batch. Envelope errors (missing batch idempotency_key, items not an array of 1-20) are returned before payment and are never charged. On an uncertain outcome, reuse the same batch idempotency_key; a replay returns the stored result without a new payment.
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": {
"items": "<items>",
"idempotency_key": "<idempotency_key>"
},
"name": "check_payment_batch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | ||
| idempotency_key | Yes |