Classic-integration icon

Disable stored details

View source

This endpoint is inactive and is no longer supported for new integrations.

The Checkout API enables your online payments integration to accept all supported payment methods, use latest features, and access more benefits.

When you terminate your shopper's subscription, you need to disable the recurring contract to prevent charging this shopper with the previously stored payment details.

Request

To disable stored details, send a request to the /disable endpoint. In this request specify the merchant account, shopper reference, and the contract type (either ONECLICK or RECURRING). You can also specify the reference of a particular recurring detail to disable, or skip this parameter to disable all recurring details for the specified shopper.

For information on all available fields, refer to the /disable page.

The example below illustrates how to disable a one-click recurring detail. Submit this request to the https://pal-test.adyen.com/pal/servlet/Recurring/v25/disable endpoint.

The following example shows how to disable all the details of a recurring contract. Submit this request to the https://pal-test.adyen.com/pal/servlet/Recurring/v25/disable endpoint.

Response

The response to the /disable endpoint contains only a response field of a string type.

Possible values:

  • [detail-successfully-disabled] - when a single detail is disabled.
  • [all-details-successfully-disabled] - when all the details are disabled.

For information on all available fields, refer to the /disable page.

The following examples shows the response in case all recurring details are successfully disabled: