On This Page
Canceling a Subscription
You can cancel a pending, active, suspended, or delinquent subscription. Subscriptions cannot be canceled within 10 minutes before or after a payment begins processing.
Follow these steps to cancel a subscription:
- In the endpoint path, include the subscription ID that you received when you retrieved a list of subscriptions.
- Send the request to the recurring billing endpoint:Production:POST https://api.cybersource.com/rbs/v1/subscriptions/{id}/cancelTest:POST https://apitest.cybersource.test.com/rbs/v1/subscriptions/{id}/cancel
- Check the response message to make sure that the request was successful. A 200-level HTTP response code indicates success.For information about response codes, seeTransaction Response Codes.