Plan a payment via the MoneyTools Pay Gateway
x402_gateway_planBefore paying an x402 seller through the non-custodial MoneyTools Pay Gateway: prechecks the seller (valid x402 terms, OFAC-screened payTo) and returns the gateway URL to call, the price and the gateway fee (max(0.5% of price, $0.001), charged from prepaid credits only when the seller answers 2xx). Your own wallet always pays the seller directly; the gateway never holds or signs funds. Then call gatewayUrl with header X-API-Key using any x402 client. Free to try: 20 MCP calls/day per client, no API key or wallet needed (beyond that: prepaid credits via header X-API-Key, see server instructions).
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": {
"url": "<url>"
},
"name": "x402_gateway_plan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | seller x402 endpoint you plan to pay | |
| method | No | default GET |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| decision | Yes | ||
| precheck | Yes | ||
| gatewayFee | No | ||
| gatewayUrl | Yes |