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(1% 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. No demo limit with prepaid credits: send HTTP header X-API-Key: mtk_... on the MCP POST (buy once via x402: GET /v1/credits/buy?pack=1000 = 1000 calls for 1 USDC, or pack=100 for 0.10 USDC; 1 credit per successful call). Referral program: add ref=<your 0x Base wallet> to paid HTTP calls you route here and earn 20% of net revenue = amount received minus facilitator and gas fees (off-chain ledger, settled monthly in USDC on Base after manual review, min 1 USDC; earnings at GET /v1/referral/{address}).
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 |