#Surya-Mani
1 messages · Page 1 of 1 (latest)
Hi
Could you please share more details about your ask ?
sub_1NTJFVLabf7E4J4FjUUoa3Lm , here is one subscription id i need to display the current plan, price of that plan and renewal date of that subscription id
How should i get that details
You can list the Subscription's items via API:
https://stripe.com/docs/api/subscription_items/list
For dates, you need to refer to the latest subscription's invoice:
https://stripe.com/docs/api/invoices/object#invoice_object-period_end
https://stripe.com/docs/api/invoices/object#invoice_object-period_start
For more detailed view, check each invoice item:
https://stripe.com/docs/api/invoices/line_item#invoice_line_item_object-period
any API available to display that details
All the links I shared above are APIs.