how-do-i-pay
Return the signing steps and wallet-specific commands to produce a valid x402 payment. First Dollar shows, never signs.
Instructions
Given a decoded x402 challenge, returns the specific signing steps and wallet-specific commands you can run to produce a valid payment. First Dollar does not sign for you — it shows you what to run.
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": {
"challenge": "<challenge>"
},
"name": "how-do-i-pay"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| challenge | Yes | The raw 402 response or PAYMENT-REQUIRED header value from the merchant |