Checkout

Get the company's active Median subscription, with plan + payment method

Changed on

Returns the joined view of a company's Median (SaaS) subscription, shaped for the Billing & Plan card in the customer app. When the local median_subscriptions row is missing but the company already has a Stripe customer, the service resyncs from Stripe before returning (self-heals missed webhook deliveries).

get/companies/{companyId}/checkout/subscription

Request

  • Base URL
    https://api.medianfi.com/api/v1
  • Auth
    HTTP bearer

Path parameters

companyId, string uuid required

Response

Subscription (null when the company has none)

object required
success, true required
data, CheckoutSubscriptionResponse nullable required

Changes

    • info

      added the required property data/oneOf[#/components/schemas/CheckoutSubscriptionResponse]/taxReturnAddon to the response with the status