sign_and_pay
Debug-broadcasts an on-chain x402 payment and returns payment signature and settlement transaction; it does not fetch VPN credentials—next call fulfill_payment with the same invoice_no.
Instructions
DEBUG ONLY. Broadcasts on-chain payment and returns payment_signature + settlement_tx but does NOT fetch VPN credentials. Prefer buy_vpn. If you use this, you MUST next call fulfill_payment with the same invoice_no — never curl /pay and never call buy_vpn again (double charge).
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": {
"accepts": "<accepts>"
},
"name": "sign_and_pay"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| accepts | Yes | ||
| dry_run | No | ||
| network | No |