#OpenExO
1 messages · Page 1 of 1 (latest)
Hi there
Heya
"Ended" isn't really a thing with Subscriptions. That would only apply to Subscription Schedules really
im pulling status of subscription
Where are you seeing "ended"?
customer
optional
The ID of the customer whose subscriptions will be retrieved.
price
optional
Filter for subscriptions that contain this recurring price ID.
status
optional enum
The status of the subscriptions to retrieve. Passing in a value of canceled will return all canceled subscriptions, including those belonging to deleted customers. Pass ended to find subscriptions that are canceled and subscriptions that are expired due to incomplete payment. Passing in a value of all will return subscriptions of all statuses. If no value is supplied, all subscriptions that have not been canceled are returned.
Possible enum values
active
past_due
unpaid
canceled
incomplete
incomplete_expired
trialing
paused
all
ended```
just want to grab the churned users
Where is the above coming from? If you look at our API Ref you can see ended is not a status on a Sub: https://stripe.com/docs/api/subscriptions/object#subscription_object-status
Oh oh oh
That is in the List option
Sorry yeah it explains it there as well
yeah I see now
Pass ended to find subscriptions that are canceled and subscriptions that are expired due to incomplete payment.
So yeah this means it includes those Subs that were created but basically never "got going"
Nope ended is both if they canceled and if they started but never completed the first payment