v1

latestOpenAPI 3.1.1Apache 2.02026-07-26774088.4 KB
Purchases

Cancel subscription

Cancel the subscription associated with a purchase by ID

This endpoint cancels the underlying subscription (Stripe, PayPal, or Kajabi Payments) associated with the purchase. The purchase will be deactivated and the subscription will be cancelled immediately, according to the payment provider's cancellation rules.

If the payment can be cancelled the response will be successful. Otherwise, the response will be an error with validation details.

post/v1/purchases/{id}/cancel_subscription

Path parameters

idstring required

Purchase ID

Response

Success, cancelled subscription and deactivated purchase