billing ยท version 0.1.0

List billing plans

GET /api/billing/catalog

Request

GET https://sourced.sh/api/billing/catalog

Responses

200

Public plan catalog (Free Trial, Launch, Scale, Enterprise).

application/json

type: object
required: plans
properties:
  plans (required): array
    type: array
  stripe: BillingStripeStatus
    BillingStripeStatus:
      type: object
      properties:
        configured: boolean
        mode: string enum live | test | unknown | not_configured
        launchPriceConfigured: boolean
        scalePriceConfigured: boolean
        webhookConfigured: boolean
  readiness: BillingReadiness
    BillingReadiness:
      type: object
      properties:
        mode: string enum live | test | unknown | not_configured
        checkoutConfigured: boolean
        webhookConfigured: boolean
        liveBillingAllowed: boolean
        liveApproved: boolean
        testCheckoutAllowed: boolean
        checkoutAllowed: boolean
        portalAllowed: boolean
        blockers: array
          type: array
  billingEvents: BillingEventsStatus
    BillingEventsStatus:
      type: object
      properties:
        persistenceDriver: string
        durablePersistence: boolean
        idempotentWebhookPersistence: boolean

Back to version index