Development
  • Guides
  • API Reference
  • API Explorer
  • SDKs
  • Sample apps
  • System status
Support
  • Developer forums
  • Developer blog
  • YouTube
  • X
More
  • Square Home
  • Square Developer
  • App Marketplace
  • Partner with Square
  • Solutions Partner Program
  • Pricing
  • Sales

© 2026 Square, Inc.

  • Developer terms of service
  • Developer Integration and Marketing Agreement
  • Privacy policy
  • Partnerships
  • Sign In
  • Sign In

    Subscriptions

  • Create subscription

  • Bulk swap plan

  • Search subscriptions

  • Retrieve subscription

  • Update subscription

  • Delete subscription action

  • Change billing anchor date

  • Cancel subscription

  • List subscription events

  • Pause subscription

  • Resume subscription

  • Swap plan

  • Webhooks

  • subscription.created

  • subscription.updated

<- Subscriptions API

Subscriptions API

All versions ->

Cancel subscription

POST

 /v2/subscriptions/{subscription_id}/cancel

Schedules a CANCEL action to cancel an active subscription.

This sets the canceled_date field to the end of the active billing period. After this date, the subscription status changes from ACTIVE to CANCELED.

Permissions:SUBSCRIPTIONS_WRITE

Guide

Cancel Subscriptions

Try in API Explorer
Link to section

Path parameters

Example code

Link to section

subscription_id

string

Required

The ID of the subscription to cancel.

Link to section

Response fields

Link to section

errors

Errors encountered during the request.

Link to section

subscription

The specified subscription scheduled for cancellation according to the action created by the request.

Link to section

actions

Beta

A list of a single CANCEL action scheduled for the subscription.

Link to section

Examples

All versions ->

POST /v2/subscriptions/{subscription_id}/cancel
curl https://connect.squareup.com/v2/subscriptions/910afd30-464a-4e00-a8d8-2296e/cancel \ -X POST \ -H 'Square-Version: 2026-11-18' \ -H 'Authorization: Bearer ACCESS_TOKEN' \ -H 'Content-Type: application/json'

Response JSON

{ "subscription": { "id": "910afd30-464a-4e00-a8d8-2296e", "location_id": "S8GWD5R9QB376", "plan_variation_id": "6JHXF3B2CW3YKHDV4XEM674H", "customer_id": "CHFGVKYY8RSV93M5KCYTG4PN0G", "card_id": "ccof:qy5x8hHGYsgLrp4Q4GB", "start_date": "2022-01-19", "canceled_date": "2023-06-05", "paid_until_date": "2023-12-31", "status": "ACTIVE", "invoice_ids": [ "inv:0-ChCHu2mZEabLeeHahQnXDjZQECY", "inv:0-ChrcX_i3sNmfsHTGKhI4Wg2mceA" ], "created_at": "2022-01-19T21:53:10Z", "version": 3, "timezone": "America/Los_Angeles", "source": { "name": "My Application" } } }