Buy Credits
buy_creditsCreate a Stripe Checkout session for a credit pack ('starter',
'growth', or 'scale' — see get_pricing). Returns a checkout_url: open
and pay it (card), and the webhook credits this account automatically
within seconds. Requires Authorization: Bearer zs_....
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": {
"pack": "<pack>"
},
"name": "buy_credits"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pack | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |