Deleting a mandate

Merchants using the payment gateway only for signing their SEPA mandates should be able to delete the mandates after 3 years of inactivity.

In order to delete a mandate:

  1. Specify the desired action on the first line: https://secure.lyra.com/sdd/mandates/[id]'

    Note: [id] allows to identify the exact mandate that you wish to remove.

  2. Build your http header (see chapter Identifying yourself when exchanging with the payment gateway).

Example of a cURL request:

$ curl -X DELETE
'https://.../mandates/12345678-DE98ZZZ09999999999-20140827onGTun' -H 
'Authorization:Basic MTIzNDU2Nzg6MTIzNDU2Nzg5MDEyMzQ1Ng==' -H 
'Content-Type: application/json' -H 
'Accept:application/json' -i
Response:
HTTP/1.1 200 OK 
Date: Wed, 27 Aug 2014 10:44:52 GMT
Content-Type:application/json 
Connection: close 
Transfer-Encoding:chunked