Add-ons
Purchase Add-on
Initiate a checkout session for a tenant to purchase an add-on.
POST
Creates a Stripe checkout session for the tenant to purchase an add-on. Credits are granted automatically after payment confirmation via webhook (
event_type: addon_purchase).
The call is idempotent — passing the same idempotencyKey twice returns the original result without creating a duplicate checkout.
Path Parameters
Request Body
Unique key for this purchase event. Duplicate calls with the same key return the original result.
Authentication
Requires a secret key (Authorization: Bearer sk_live_...).