# Subscription API - is there anyway to cancel/end a subscription on a given future date?

**URL:** <https://developer.squareup.com/forums/t/subscription-api-is-there-anyway-to-cancel-end-a-subscription-on-a-given-future-date/9485>\
**Category:** Questions\
**Tags:** subscriptions-api, web-payments-sdk\
**Created:** [May 17, 2023, 1:35am UTC](https://developer.squareup.com/forums/t/subscription-api-is-there-anyway-to-cancel-end-a-subscription-on-a-given-future-date/9485 "2023-05-17T01:35:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![lawyu](https://avatars.discourse-cdn.com/v4/letter/l/a88e4f/32.png) [@lawyu](https://developer.squareup.com/forums/u/lawyu)\
**Post date:** [May 17, 2023, 1:35am UTC](https://developer.squareup.com/forums/t/subscription-api-is-there-anyway-to-cancel-end-a-subscription-on-a-given-future-date/9485/1 "2023-05-17T01:35:56Z")

</div>

Hi, I’m looking for a way to end a square subscription in the future and I hoping to use something similar to stripe’s cancel\_at\_period\_end. It looks theres a canceled\_date field but thats read only after a subscription has already been cancelled. Any thoughts? Thanks in advance.

---

<div class="post-metadata">

**Author:** ![Bryan-Square](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/bryan-square/32/38_2.png) [@Bryan-Square](https://developer.squareup.com/forums/u/Bryan-Square)\
**Post date:** [May 17, 2023, 4:26pm UTC](https://developer.squareup.com/forums/t/subscription-api-is-there-anyway-to-cancel-end-a-subscription-on-a-given-future-date/9485/2 "2023-05-17T16:26:14Z")

</div>

There isn’t a way to schedule a cancel date after the subscription has been created. You can call [CancelSubscription](https://developer.squareup.com/reference/square/subscriptions-api/cancel-subscription) Which schedules a `CANCEL` action to cancel an active subscription by setting the `canceled_date` field to the end of the active billing period and changing the subscription status from ACTIVE to CANCELED after this date. 🙂
