Get a payment link for extra credits
createTopupLinkBuy extra credits: a Stripe payment page for that many credits, for the user to open and pay (show them the checkout_url). Nothing is charged until they pay, never the card saved on the account, and the credits are added the moment they do; getTopupLink says when. One page is open at a time (replace: true ends the open one). Use it when the user is out of credits and asks to buy more. Free to call.
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": {
"requestBody": "<requestBody>"
},
"name": "createTopupLink"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| requestBody | Yes |