Start a purchase
buy_capsuleCreate an order for a PAID capsule and return the Stripe Checkout URL, the order id, and download instructions. Without api_key this does NOT complete payment: a person must open checkout_url and pay. Show the URL to your user. With a prepaid api_key (ncc_live_… from a $25 credit pack at /credits) the price is deducted at once and the result carries download_url, download_token, feedback_url and remaining_balance_cents.
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": {
"id": "<id>"
},
"name": "buy_capsule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Capsule id, as returned by search_capsules. | |
| api_key | No | Optional prepaid credits key. Pays from the credit balance instead of opening Stripe Checkout. Never echoed back. |