The x402 payment header for a signed bill
credit_bill_headerAfter credit_bill and the wallet's signature: the header the merchant reads (PAYMENT-SIGNATURE, or X-PAYMENT for x402 version 1), base64 JSON with the authorization and signature. Reads no chain and sends nothing: checks the authorization against the bill (the merchant's payTo, exactly its amount, not run out) and recovers a 65-byte signature to its payer. Send the same request again with header.name set to header.value.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| signature | Yes | The wallet's signature of credit_bill's typed_data (0x hex) | |
| authorization | Yes | The authorization credit_bill returned, as it returned it | |
| payment_required | Yes | The same payment_required given to credit_bill |