Documentation base URLs use placeholder https://{your-tenant}.sso.id. Log in to show your tenant or custom domain.
Log in for Your Tenant URL
Chapter 11 — Subscription Tiers, Quotas & Billing

Service Plans, Quotas & Payment Methods

Compare SSO.ID platform plans (Free, Pro, and Business), upgrade via Stripe Checkout in /service-plans, define custom per-application monetization plans for your SaaS customers, and manage payment methods in /payment.

1. Platform Subscription Plans (/service-plans)

Open Subscriptions → Service Plans ( /service-plans) to view available SSO.ID platform tiers and upgrade your workspace:

Plan Base Price Included Quotas & Capabilities
Free (platform_free) $0 / month Up to 50,000 Monthly Recurring Users (MRUs), 3 Admin Seats, core OIDC/OAuth 2.0/SAML 2.0 SSO, and standard MFA.
Pro $75 / month Expanded MRUs and Admin Seats, custom domains, FIDO2 Passkeys, SCIM 2.0 directory sync, and SIEM webhooks.
Business $250 / month Enterprise SLAs, unlimited Organizations & OUs, GDPR/HIPAA/SOC 2 presets, HIPAA BAA signing, and dedicated support.
Flow Diagram Subscription Upgrade & Stripe Checkout Flow
flowchart LR SP["Select Plan (/service-plans)"] --> PAY["Stripe Checkout & Payment (/payment)"] PAY --> WH["Stripe Webhook Confirmation"] WH --> QUOTA["Unlock MRUs, Admin Seats & Compliance Presets"] QUOTA --> OV["Live Usage & History (/overview)"]
Plan selection on /service-plans redirects to PCI-compliant Stripe Checkout, confirms via webhook, and unlocks MRU/Admin Seat quotas in /overview.
https://cloudpulse.us.beta.sso.id/service-plans Click to zoom
Service Plans catalog showing Free, Pro, and Business subscription tiers and Stripe upgrade actions.
Service Plans catalog showing Free, Pro, and Business subscription tiers and Stripe upgrade actions.

2. Custom Application Subscription Plans

Below the platform tiers, /service-plans lets SaaS builders create custom Application-Scoped Service Plans so your end-user organizations can subscribe to your own product tiers using your connected Stripe account.

3. Payment Methods & Checkout (/payment)

Manage saved billing methods, review offer tiers, and complete PCI-compliant payments via Stripe Checkout at /payment.

https://cloudpulse.us.beta.sso.id/payment Click to zoom
Payment Methods and subscription checkout portal.
Payment Methods and subscription checkout portal.

4. Stripe & Plan API Reference

Method Endpoint Description
GET https://{your-tenant}.sso.id/api/stripe/usage-summary Fetches live tenant usage counters and quota limits.
POST https://{your-tenant}.sso.id/api/stripe/create-checkout-session Creates a Stripe Checkout session to upgrade the tenant plan.
GET https://{your-tenant}.sso.id/api/service-plans Lists platform and custom application-scoped service plans.

Service Plans, Quotas & Stripe Billing API Specifications

Below is the complete parameter-level specification for every endpoint in this module. Tenant context is automatically resolved from the signed Bearer JWT token claims or the tenant domain URL (no custom tenant header is required).

GET https://{your-tenant}.sso.id/api/stripe/platform-packages
Bearer JWT

Lists all available SSO.ID Platform Subscription Plans (Free, Starter, Professional, Enterprise) and their included Monthly Active User (MAU), Application, and Connection quotas. To list custom application-level service plans created for your own SaaS customers, call GET /api/stripe/service-packages.

Request Parameters
Parameter Type Required Description & Constraints
Authorization Header string Required Bearer JWT access token (Bearer eyJhbG...). Tenant context is resolved automatically from the token claims or request domain URL.
Response Fields & Schema
Field Type Description
servicePlanId string Unique Plan identifier.
servicePlanName string Plan tier name (Free, Starter, Professional, Enterprise).
price number (decimal) Monthly/annual subscription price.
currency string ISO currency code (USD, EUR).
type string Billing recurrence interval (month, year).
servicePlanOffers array Array of feature entitlement limits (offerKey, servicePlanOfferName, quantity).
Sample Request
curl -X GET "https://{your-tenant}.sso.id/api/stripe/platform-packages" \
  -H "Authorization: Bearer eyJhbGciOiJSUzI1NiIs..."
Expected Response 200 OK
[
  {
    "servicePlanId": "plan_enterprise_monthly",
    "servicePlanName": "Enterprise",
    "price": 499.00,
    "currency": "USD",
    "type": "month",
    "enable": true,
    "servicePlanOffers": [
      { "offerKey": "MAU_LIMIT", "servicePlanOfferName": "Monthly Active Users", "quantity": 50000 },
      { "offerKey": "SAML_CONNECTIONS", "servicePlanOfferName": "Enterprise SAML/OIDC Connections", "quantity": -1 }
    ]
  }
]
POST https://{your-tenant}.sso.id/api/stripe/service-plans
Bearer JWT

Creates a custom application-scoped Service Plan synchronized with your connected Stripe account so you can monetize your own B2B/B2C application tiers. Use PUT /api/stripe/service-plans/{serviceplanid}/applications/{appid} to update and DELETE /api/stripe/service-plans/{serviceplanid}/applications/{appid} to remove.

Request Parameters
Parameter Type Required Description & Constraints
Authorization Header string Required Bearer JWT access token (Bearer eyJhbG...). Tenant context is resolved automatically from the token claims or request domain URL.
applicationId Body string (UUID) Required Target Application UUID.
servicePlanName Body string Required Display name of the plan (e.g., Pro Team, Enterprise Plus).
price Body number (decimal) Required Price amount (e.g., 49.00).
currency Body string Required 3-letter ISO currency code (e.g., usd, eur).
type Body string Required Billing cycle: month, year, or one_time.
enable Body boolean Optional Whether the plan is immediately active and purchasable (default: true).
servicePlanOffers Body array Optional Feature entitlement matrix (servicePlanOfferName, offerKey, quantity).
Response Fields & Schema
Field Type Description
servicePlanId string (UUID) Generated Service Plan UUID.
stripeProductId string Provisioned Stripe Product ID (prod_...).
stripePriceId string Provisioned Stripe Price ID (price_...).
stripePaymentLink string (URL) Hosted Stripe Payment Link URL.
Sample Request
curl -X POST "https://{your-tenant}.sso.id/api/stripe/service-plans" \
  -H "Authorization: Bearer eyJhbGciOiJSUzI1NiIs..." \
  -H "Content-Type: application/json" \
  -d '{
    "applicationId": "app_7712b",
    "servicePlanName": "CloudPulse CRM Pro",
    "price": 79.00,
    "currency": "usd",
    "type": "month",
    "enable": true,
    "servicePlanOffers": [
      { "servicePlanOfferName": "Team Seats", "offerKey": "SEATS", "quantity": 25 },
      { "servicePlanOfferName": "AI Forecasting", "offerKey": "AI_FORECAST", "quantity": 1 }
    ]
  }'
Expected Response 201 Created
{
  "servicePlanId": "sp_44112233-5566-4778-9900-aabbccddeeff",
  "applicationId": "app_7712b",
  "servicePlanName": "CloudPulse CRM Pro",
  "price": 79.00,
  "currency": "usd",
  "stripeProductId": "prod_R9918273645",
  "stripePriceId": "price_1Q9918273645abcdef",
  "stripePaymentLink": "https://buy.stripe.com/test_9918273645"
}
POST https://{your-tenant}.sso.id/api/stripe/create-checkout-session
Bearer JWT

Creates a hosted Stripe Checkout Session URL to upgrade the tenant's platform subscription or subscribe a customer to an application service plan.

Request Parameters
Parameter Type Required Description & Constraints
Authorization Header string Required Bearer JWT access token (Bearer eyJhbG...). Tenant context is resolved automatically from the token claims or request domain URL.
servicePlanId Body string Required Target Service Plan ID to subscribe to.
applicationId Body string Optional Application UUID (or 1 for platform subscription plans).
successUrl Body string (URL) Optional Redirect URL upon successful payment completion.
cancelUrl Body string (URL) Optional Redirect URL if the user cancels checkout.
Response Fields & Schema
Field Type Description
sessionId string Stripe Checkout Session ID (cs_...).
url string (URL) Hosted Stripe Checkout URL to redirect the browser to.
Sample Request
curl -X POST "https://{your-tenant}.sso.id/api/stripe/create-checkout-session" \
  -H "Authorization: Bearer eyJhbGciOiJSUzI1NiIs..." \
  -H "Content-Type: application/json" \
  -d '{
    "servicePlanId": "plan_enterprise_monthly",
    "applicationId": "1"
  }'
Expected Response 200 OK
{
  "sessionId": "cs_live_a1b2c3d4e5f6g7h8i9j0",
  "url": "https://checkout.stripe.com/c/pay/cs_live_a1b2c3d4e5f6g7h8i9j0"
}