@lap v0.3
# Machine-readable API spec. Each @endpoint block is one API call.
@api Adyen Data Protection API
@base https://ca-test.adyen.com/ca/services/DataProtectionService/v1
@version 1
@auth ApiKey X-API-Key in header | Bearer basic
@endpoints 1
@toc requestSubjectErasure(1)

@endpoint POST /requestSubjectErasure
@desc Submit a Subject Erasure Request.
@optional {forceErasure: bool # Set this to **true** if you want to delete shopper-related data, even if the shopper has an existing recurring transaction. This only deletes the shopper-related data for the specific payment, but does not cancel the existing recurring transaction., merchantAccount: str # Your merchant account, pspReference: str # The PSP reference of the payment. We will delete all shopper-related data for this payment.}
@returns(200) {result: str} # OK - the request has succeeded.
@errors {400: Bad Request - a problem reading or understanding the request., 401: Unauthorized - authentication required., 403: Forbidden - insufficient permissions to process the request., 422: Unprocessable Entity - a request validation error., 500: Internal Server Error - the server could not process the request.}

@end
