Get a checkout link for a paid plan
billing_linkGenerates a Stripe Checkout link to upgrade the API key to a paid plan, addressing 402/429 errors and user upgrade requests.
Instructions
Get a Stripe Checkout link that upgrades this API key's account to a paid plan (POST /agent/checkout-link). Use it when a check answers 'needs the ... plan' (402) or 'monthly allowance used' (429), or when the user asks to upgrade. Needs an API key (PROOFREAD_API_KEY, or one from sign_up). Plans: payg = pay as you go (no monthly fee; per check and per deep-checked citation), solo = monthly, firm = monthly with more keys; current prices at https://proofread.law/pricing. Give the link to the account owner to open in a browser; the plan is live within a minute of payment. No charge happens until the owner pays. An account that already has a subscription answers 409 (the owner changes plans in the billing portal at https://proofread.law/account).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan | No | payg (pay as you go), solo or firm. | payg |