x402_create_api_key_quote
Creates a payment quote for a time-limited API key, returning quote ID, receiver wallet, and exact SOL amount based on desired duration.
Instructions
Create an x402 payment quote for a time-limited API key (returns quoteId, receiverWallet, and exact SOL amount).
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": {
"durationMinutes": "<durationMinutes>"
},
"name": "x402_create_api_key_quote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| durationMinutes | Yes | Minutes for key validity (1 to 43200). | |
| name | No | Optional key name. | |
| payerWallet | No | Optional payer wallet to lock quote payer. | |
| scopes | No | Optional scopes. |