Get a Stripe Checkout URL that tops up this key’s balance
credits_checkoutCreate a one-time Stripe Checkout Session to buy a credit pack for the calling account; after payment, credits post to the balance, so poll GET /keys/me to confirm.
Instructions
Creates a one-time Stripe Checkout Session for a credit pack, bound to the calling live key’s account. When the payment completes the credits land on that balance; poll GET /keys/me. This is what a 402 topUp.checkoutEndpoint points at. Free, consumes no quota. (POST https://app.deepvalues.ai/api/v1/credits/checkout — free; needs a connected account or a dv_sk_ key)
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": "credits_checkout"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pack | Yes | Credit pack to buy, e.g. "1000". The `credits_packs` tool lists the packs on sale. |