#ゞ4444-subscription
1 messages · Page 1 of 1 (latest)
After the customer subscribes to the product, I need to know his expiration timestamp
There's no expiry timestamp in the event, but customer has 23 hours to complete during subscription creation: https://stripe.com/docs/billing/subscriptions/overview#payment-window
Do I need to maintain the expiration time of each customer's subscription products in my program?
Hey, I'm a little confused here. By 'expiry time; do you mean the billing cycle date?
yes
Cool, you want to check the current_period_end field: 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.