api_payment_setup
Dual Payment Setup — generate installable x402 and MPP seller/buyer starter files using official SDKs; no automatic payment, deployment or secret custody. One call costs 0.01 USDC on Base x402; customer-owned provider credentials use X-Provider-Key header where needed.
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": {
"protocol": "<protocol>",
"role": "<role>"
},
"name": "api_payment_setup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Local HTTP paid route, e.g. /paid | |
| role | Yes | seller or buyer | |
| amount | No | Positive payment amount, such as 0.01; separate chain/currency terms apply to MPP | |
| protocol | Yes | x402, mpp or both | |
| recipient | No | Seller EVM receiving address (0x followed by 40 hex characters) |