#Dev-Ahmed-Hasnain
1 messages · Page 1 of 1 (latest)
Hi there, a subscription doesn't have a expired status (see https://stripe.com/docs/api/subscriptions/object#subscription_object-status)
Perhaps you mean unpaid, canceled or past_due? in any case you can listen to customer.subscription.updated event (https://stripe.com/docs/api/events/types#event_types-customer.subscription.updated) and check its status.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.