#nadia
1 messages ยท Page 1 of 1 (latest)
๐ happy to help
hi @harsh robin
looking into this
thanks a lot
so basically you're calling list Subscriptions with status ended ?
https://stripe.com/docs/api/subscriptions/list#list_subscriptions-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.
we list all the customer subscriptions
the discount filed is set to null, but on subscription creation i've applied a coupon, & the returned subscription had a discount field including the coupon i used
would you mind sharing the subscription ID?
since the coupon you've used is a one-off coupon
it doesn't apply on the subscription level
but rather on the first invoice
as shown in this request https://dashboard.stripe.com/test/logs/req_m5thT3jbpPctnb
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.