Get a link to buy credits
prism_buy_creditsReturns a Stripe checkout link for your user to buy credits ($0.50 each, 20-2000 at a time). This tool cannot pay: it only returns the link, and your user opens it and pays on the Stripe page themselves. Ask your user before calling it. Credits are added as soon as their payment completes.
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": {
"credits": "<credits>"
},
"name": "prism_buy_credits"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| credits | Yes | How many credits, 20 or more. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Total price, e.g. $10.00. | |
| credits | Yes | ||
| nextStep | Yes | ||
| checkoutUrl | Yes | Stripe checkout link to give the user; they pay on it themselves. |