No momento, esta página não está disponível em português
Classic-integration icon

Disable stored details

Adyen is no longer developing the Classic API integration

This page is for the Classic API (/authorise) integration, which we no longer accept new integrations with.

We strongly recommend switching to the newer Manage tokens integration.

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: