Token Reset after billing cycle ends

Afternoon all,

I have built an app where users can use tokens and upgrade to a monthly subscription. Everything is set up to go apart from one issue I have with Stripe.

When the user cancels their subscription, it runs until the end of the billing cycle, this is set up in Stripe nicely. However, when the billing cycle ends, I want it to trigger something in my app also to downgrade the user’s plan and amount of available tokens.

I have searched high and low and seemed more confused than ever. I have created a backend workflow as per the image (not sure if this is right or not)

Additionally, I tried to set an API schedule but to be honest, I don’t know how to set it up with the correct calls, etc.

Thanks in advance

Here’s a tutorial on how to set up a credit system https://www.youtube.com/watch?v=9b3hpy8bI0s

This topic was automatically closed after 70 days. New replies are no longer allowed.