The x402 payment header for a signed voucher
hold_headerAfter hold_pay and the payer's signature: the header the merchant reads (PAYMENT-SIGNATURE, or X-PAYMENT for x402 version 1), base64 JSON with the voucher { hold, cumulative, signature }. Reads no chain and sends nothing; recovers a 65-byte signature to the hold's payer. Send the same request again with header.name set to header.value.
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": {
"payment_required": "<payment_required>",
"voucher": "<voucher>",
"signature": "<signature>"
},
"name": "hold_header"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| voucher | Yes | The voucher hold_pay returned, as it returned it | |
| signature | Yes | The payer's signature of hold_pay's typed_data (0x hex) | |
| payment_required | Yes | The same payment_required given to hold_pay |