Buy credits (returns a payment link or crypto invoice)
buy_creditsCreate a credit-package checkout without completing payment. Read get_service_status first. Stripe returns a card checkout link. New crypto checkout is temporarily paused during the Plisio incident. Any actual charge or transfer requires user authorization.
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": {
"package_id": "<package_id>"
},
"name": "buy_credits"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| method | No | Payment method. 'stripe' = card link (needs a human), 'crypto' = wallet-payable invoice. Default 'stripe'. | |
| currency | No | For method 'crypto': the coin to pay in; returns a raw wallet address an agent can pay autonomously. | |
| package_id | Yes | The package id to buy (from get_packages). |