Get a checkout link to upgrade a key
get_upgrade_linkReturn a hosted checkout URL for upgrading an Attestwire key to a paid plan (Solo: 1,000 documents/month for €9/month; Starter: 5,000 for €29/month; Scale: 50,000 for €99/month (EUR, plus VAT where due)). 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 in the Paddle checkout. You cannot complete the purchase and must not report it as completed. Call this ONLY when the user has asked to upgrade or has agreed to see a checkout link, and only with the plan they chose. On quota_exceeded, tell the user the limit is reached and that paid plans exist; do not call this until they say which plan they want. Monthly billing only here; annual plans are on https://attestwire.com/pricing. 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: "solo" (€9/mo) or "starter" (€29/mo) or "scale" (€99/mo). |