Submit x402 payment
submit_x402_paymentPay an x402_testnet order with a base64 X-PAYMENT value (testnet only). Requires scope 'orders:write'.
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": {
"order_id": "<order_id>",
"payment": "<payment>"
},
"name": "submit_x402_payment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| payment | Yes | The base64 X-PAYMENT value. | |
| order_id | Yes | ||
| idempotency_key | No | Optional. Same key + same arguments within 24 h returns the original result. |