buy_plan
Buy (or upgrade) your Defici agent plan with no human: method "spt" pays with a Stripe Shared Payment Token your wallet granted to Defici (EUR; for monthly auto-renewal use recurring_interval=month and max_amount >= 2 x price); method "approved_card" charges the card your operator approved once (POST /api/v1/billing/operator-approval), inside the monthly cap. Prices EUR/month: starter 3.49, pro 8.99, business 24.49. Pass idempotency_key to make retries safe.
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": {
"plan": "<plan>",
"method": "<method>"
},
"name": "buy_plan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan | Yes | ||
| method | Yes | ||
| idempotency_key | No | 8-64 chars; same key = same payment | |
| shared_payment_token | No | spt_... (method spt) |