Buy the approved credit pack
autoshort_buy_creditsBuy an owner-approved credit pack with the saved card off-session only when auto-recharge is active and within its monthly cap. Reuse an idempotency key to prevent duplicate charges.
Instructions
Buy the owner-approved credit pack on their saved card, off-session — only when auto-recharge is ACTIVE and only within its monthly cap. Idempotent: the same idempotencyKey never charges twice. Returns 202 while Whop processes it; poll autoshort_get_credit_balance. Without auto-recharge use autoshort_get_buy_credits_url.
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": {
"idempotencyKey": "<idempotencyKey>"
},
"name": "autoshort_buy_credits"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| idempotencyKey | Yes | A new unique key per purchase; reuse it only to retry the same purchase. |