Driftwatch

Stripe / Stripe API /

Breaking

billing_cycle_anchor changed type

What changed

Serialization mismatch. Integer-to-string moves are the usual cause and the usual outage.

Affects POST /v1/subscriptions/{subscription_exposed_id}.

string → object

Who is affected

Code that sends POST /v1/subscriptions/{subscription_exposed_id} (billing_cycle_anchor).

Before and after

WhereBeforeAfter
POST /v1/subscriptions/{subscription_exposed_id} · billing_cycle_anchorstringobject
POST /v1/subscriptions/{subscription}/resume · billing_cycle_anchorstringobject

Code that breaks

// payload.billing_cycle_anchor
// was: string
// now: object

Based on Stripe’s published API specification. How severity is decided.