Prepare a prepaid purchase
Prepares a purchase of a prepaid offer selected for your workspace by Lumeus. Plans are bought with POST /billing/checkout instead. Keep one Idempotency-Key per purchase across retries. Never treat the browser redirect as proof of payment. Served by the Activity host for all products. Read-only and publishable keys get 403.
Authorizations
Send Authorization: Bearer <key>. Testnet: lum_test_…; Mainnet: lum_live_…. A key works only on its own network, so pick the server that matches it (the other network answers 401). Publishable lum_pub_… keys call the GET data routes only, from an allowed browser origin. Webhook keys (whk_…) are not accepted here.
Headers
Required. 8 to 128 printable ASCII characters (0x21-0x7E: no spaces or control characters), sent once; otherwise 400. Save one key per purchase and reuse it with the same offer_version on retry.
8 - 128^[\x21-\x7E]{8,128}$"purchase-0001-2026-10-22"
Body
Offer version selected for your workspace.
Response
The purchase, with a checkout_url once it is ready.