Build a Paddle.js checkout config for Invogi Control (ADMIN+)
const url = 'https://api.invogi.com/v1/billing/checkout';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"plan_code":"CONTROL","billing_interval":"month","additional_legal_entities":0,"conversion_source":"business_case","conversion_variant":"plan_led","scan_id":"2489E9AD-2EE2-8E00-8EC9-32D5F69181C0","expected_monthly_invoices":1}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.invogi.com/v1/billing/checkout \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "plan_code": "CONTROL", "billing_interval": "month", "additional_legal_entities": 0, "conversion_source": "business_case", "conversion_variant": "plan_led", "scan_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "expected_monthly_invoices": 1 }'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Header Parameters
Section titled “Header Parameters”For a Clerk session, selects a workspace in which the user has an active membership. If omitted, the remembered accessible workspace is used. API keys remain bound to their own workspace and cannot select another tenant.
Request Body
Section titled “Request Body”object
Must cover every active company beyond Control’s three included entities; more than 10 total entities requires Enterprise.
Controlled attribution for the upgrade surface that opened checkout.
Stable business-case CTA experiment assignment; valid only with business_case.
Tenant-owned audit used for attribution and the post-checkout activation return.
Buyer-confirmed planning assumption recorded for funnel analysis. It does not alter line-item pricing; values above 20,000 are routed to Enterprise and cannot open self-service checkout.
Responses
Section titled “Responses”Paddle.js Checkout.open() options
object
object
object
object
Server-recorded checkout attempt used for conversion attribution.
object
Example generated
{ "items": [ { "priceId": "example", "quantity": 1 } ], "customer": { "email": "example" }, "customData": { "organization_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "checkout_attempt_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0" }, "settings": { "successUrl": "https://example.com" }}Invalid request
Missing or invalid API key
API key lacks required scope/role
Organization already has a subscription