#nickjw-connect-subscription
1 messages · Page 1 of 1 (latest)
@hybrid rapids you mean did the connected account ever create a Subscription on their own?
If so https://stripe.com/docs/api/subscriptions/list + https://stripe.com/docs/connect/authentication#authentication-via-the-stripe-account-header would list all subscriptions on the connected account so you can do that + limit: 1 just to confirm if there's one or not
Well I mean 'ever', not necessarily an active subscription
oh wait
I'm not saying this correctly
My apologies... is there a way to query a Customer to see if it's ever had a Subscription (not a Connect Standard Account)
Our logic is a bit antiquated and we're creating a Stripe Customer every time an account is created on our system (not when they subscribe). So it's difficult to tell if that Customer has ever had a subscription before.
ahhhh
https://stripe.com/docs/api/subscriptions/list + customer: 'cus_123' is the best approach in that case. Make sure you use the latest API version and pass status: 'all'
ok got it. thanks so much!
One last question. I notice sometimes that Stripe Customers that have been cancelled have delinquent set to true, and other times it's set to false. Is the reason for this documented anywhere?
got it. thanks again.