#cp-next-sub-payment
1 messages ยท Page 1 of 1 (latest)
Hey! I guess you'd list the subscriptions for that customer: https://stripe.com/docs/api/subscriptions/list (passing customer parameter)
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Then check the current_period_end field of each returned object: https://stripe.com/docs/api/subscriptions/object#subscription_object-current_period_end
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
@zenith needle
That way i will have date for all the subscriptions and then will have to compare through own code right?
Yup
Can i pas multiple subscription ids into that API instead of Customer ID @zenith needle ?
No, it'd be a single API call for each subscription