HomeGuidesAPI ReferenceChangelog
Log In
Guides

Canceling a Subscription

To cancel a subscription, make the API call:

{{Api Root}}/api/Subscriptions/{{Active Subscription Id}}/cancel

No Payload in Request.

Response

{
    "subscriptionId": 2232,
    "customerId": 6684,
    "subscriptionStatus": "Cancelled",
    "cancelledAt": "2024-07-11T18:16:33.8785322Z"
}

Canceling a subscription will only stop the next Billing Cycle. If you want to also issue a refund, make another API call for the invoice you want to refund.