Buy a credit pack (returns a checkout link)
buy_creditsGet a Stripe checkout link for a one-time credit pack, to hand to the user. Packs: starter $9 for 500 credits, growth $29 for 2,000 credits, scale $99 for 10,000 credits. Credits never expire; 1 credit per document. If this server has an API key set, the credits land on that key's account. Without a key, pass the user's email (ask them; do not invent one) — the page after payment shows their new API key. Creating the link charges nothing; the user pays on Stripe's page.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pack | No | Which pack. Defaults to starter. | |
| No | The user's email. Required only when no API key is set on this server; ignored when one is. |