Pay x402 Resource
veil_pay_x402Pay x402-protected Base USDC resources from private Veil USDC by setting maxPayment and confirming after user approval; submits via Veil relay without a WalletChan popup.
Instructions
Pay a Veil-supported x402 v2 exact Base USDC resource from private Veil USDC. Requires maxPayment and confirm=true after explicit user approval because this submits through the Veil relay without a WalletChan popup.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | x402-protected resource URL. | |
| body | No | Request body for POST: a JSON object or raw string. | |
| method | No | HTTP method. Defaults to GET in Veil MCP. | |
| confirm | Yes | Must be true after explicit user approval of the private USDC payment. | |
| headers | No | ||
| forceFresh | No | Skip funded-payer reuse and withdraw to a new payer EOA. | |
| maxPayment | Yes | Maximum USDC to pay, e.g. 0.10. Required by WalletChan MCP for x402 payments. | |
| payerIndex | No | Optional deterministic payer EOA index to reuse or top up after a failed/funded attempt. |