Adyen Data Protection API provides a way for you to process Subject Erasure Requests as mandated in GDPR.
Use our API to submit a request to delete shopper’s data, including payment details and other related information (for example, delivery address or shopper email).## Authentication
Each request to the Data Protection API must be signed with an API key. Get your API Key from your Customer Area, as described in How to get the API key. Then set this key to the X-API-Key
header value, for example:
curl
-H "Content-Type: application/json" \
-H "X-API-Key: Your_API_key" \
...
Note that when going live, you need to generate a new API Key to access the live endpoints.
Data Protection Service API supports versioning using a version suffix in the endpoint URL. This suffix has the following format: “vXX”, where XX is the version number.
For example:
https://ca-test.adyen.com/ca/services/DataProtectionService/v1/requestSubjectErasure
Use this page to mock Adyen Data Protection API in your testing and development.
Run our mock API sample using the open source WireMock library, or in the free edition of WireMock Cloud. You'll have a working API server simulating the behavior of Adyen Data Protection API, which will allow you to keep building and testing even if the actual API you isn't currently available.