Deleting a Plan

You can delete a standard plan that has a draft status. You can also delete a plan that has an active or inactive status and has never been assigned to any subscriptions.
Follow these steps to delete a plan:
  1. In the endpoint path, include the plan ID that you received when you retrieved a list of plans.
  2. Send the request to the Recurring Billing endpoint:
    Production:
    DELETE https://api.cybersource.com/rbs/v1/plans/{id}
    Test:
    DELETE https://apitest.cybersource.test.com/rbs/v1/plans/{id}
  3. 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, see
    Transaction Response Codes
    .