# Stripe Subscription cancel with API

**URL:** <https://forum.adalo.com/t/stripe-subscription-cancel-with-api/42757>\
**Category:** Database\
**Created:** [October 20, 2023, 8:17pm UTC](https://forum.adalo.com/t/stripe-subscription-cancel-with-api/42757 "2023-10-20T20:17:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![uglyunicorns](https://avatars.discourse-cdn.com/v4/letter/u/977dab/32.png) [@uglyunicorns](https://forum.adalo.com/u/uglyunicorns)\
**Post date:** [October 20, 2023, 8:17pm UTC](https://forum.adalo.com/t/stripe-subscription-cancel-with-api/42757/1 "2023-10-20T20:17:57Z")

</div>

Does anyone have a step-by-step solution for being able to cancel a Stripe Subscription with the API. The component does not have this function.

---

<div class="post-metadata">

**Author:** ![Rozza](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/rozza/32/22780_2.png) [@Rozza](https://forum.adalo.com/u/Rozza)\
**Post date:** [October 20, 2023, 8:42pm UTC](https://forum.adalo.com/t/stripe-subscription-cancel-with-api/42757/2 "2023-10-20T20:42:19Z")

</div>

The key is storing the subscription ID in the user table. Not easily achieved but it is possible.

If you get familiar with Stripe documentation then make a Custom Action to carry out the API call referencing the subscription ID.
