Skip to main content
POST
Typescript (SDK)
Verify checks a customer’s Stripe subscriptions against the plans Autumn has on record and reports any drift, such as missing or unexpected items, quantity or price differences, schedule mismatches and cancellation state. It is read-only and never changes Autumn or Stripe.

Common Use Cases

Each mismatch carries a message you can show as-is and a severity. Warnings, like a Stripe subscription with no Autumn plan linked to it, can be deliberate; errors mean Stripe will bill differently from what Autumn expects.

Body Parameters

Response

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

x-api-version
string
default:2.4.0
required

Body

application/json
customer_id
string
required

Autumn customer whose Stripe subscriptions should be checked against Autumn's customer_products.

subscription_ids
string[]

Optional whitelist of Stripe subscription IDs to verify. Defaults to every subscription linked to the customer's plans, plus any other active Stripe subscription on the customer, which is reported as not linked to Autumn.

strict
boolean

When true, report missing usage-based items and unexpected metered Stripe items. Defaults to false.

Response

200 - application/json

OK

customer_id
string
required
customer_mismatches
object[]
required
subscriptions
object[]
required