Deleting a mandate
DELETE .../mandates/{id}
Merchants who use the payment gateway only for signing their SEPA mandates should be able to delete the mandates after three years of inactivity.
To delete a mandate, simply perform a DELETE on the mandate resource, specifying the identifier of the mandate to be deleted.
Example
Request
DELETE https://secure.lyra.com/sdd/mandates/12345678-94aebef39d0349a09fb525a80a6e0d55
Response
{ "title": "Mr", "first_name": "Michel", "last_name": "Durand", "email": "mrdurand@ymail.com", "address": { "street_number": "109", "street": "rue de l'Innovation", "district": "Labège-Innopole", "zip": "31670", "city": "Labège", "country": "FR", "state": "Occitanie" }, "created_at": 1634732659000, "updated_at": 1634799227000, "identifier": "94aebef39d0349a09fb525a80a6e0d55", "rum": "94aebef39d0349a09fb525a80a6e0d55", "id": "12345678-94aebef39d0349a09fb525a80a6e0d55", "site": "12345678", "fetch_address": true }