#codelearner1188

1 messages · Page 1 of 1 (latest)

main narwhalBOT
stable nexus
sturdy sinew
#

Yeah I know this API but we have a scenario where we would need to get the amount for like lieftime amount of that customer sub with us if suppose they were with us for 45 weeks then i have to loop through all of it and its not efficient enough

stable nexus
#

Stripe doesn't have an API for this purpose. I'd recommend saving the payment/invoice history of a subscription in your own database and calculate from there