Billing

Preview a plan change

Projects the price of switching to the pro plan (monthly or annual) without charging anything. aiCreditTier selects the monthly AI credit allowance (default 1,000). Website capacity is computed from existing custom-domain sites and cannot be chosen here. Rejected while billing is past due. Requires the organization owner.

post/billing/plan/preview

Request

  • Base URL: https://api.cactal.ai/v1
  • URL: https://api.cactal.ai/v1/billing/plan/preview
  • Auth: HTTP bearer

Request body

plan'pro' required
interval'monthly' | 'annual' required
organizationIdstring required
aiCreditTier1000 | 2000 | 4000 | 8000 | 12000 | 20000 | 30000 | 40000 | 50000 | 75000 | 100000
successUrlstring
idempotencyKeystring

Response

Price projection for the plan change.

totalnumber nullable required

Total amount due now; null when the provider does not return one.

currencystring nullable required

ISO currency code, e.g. usd.

Changes

No recorded changes to this operation across all 1 revision of this API.