Get a checkout link to upgrade a key
get_upgrade_linkReturn a hosted checkout URL for upgrading an Attestwire key to a paid plan (starter: 2,500 documents/month at $49; scale: 25,000 at $199). THIS DOES NOT BUY ANYTHING. It creates a checkout link and charges nothing; a human must open the link, enter their own card and confirm the recurring charge on the payment provider's page. You cannot complete the purchase and must not report it as completed. Use this when a key has hit its quota or the user asks to upgrade. Costs no documents.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | The Attestwire API key to upgrade (aw_live_...). Optional if this server is configured with an Authorization header, which is read instead. | |
| plan | Yes | Which paid plan to price up: "starter" ($49/mo) or "scale" ($199/mo). |