Updating a mandate

The fields that can be subject to change are:

  • e-mail
  • IBAN


Even if the mandate update does not concern these two fields, they still must be present in the request.

In order to update 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 want to update.

  2. Build your http header (see chapter Identifying yourself when exchanging with the payment gateway).
  3. Add the email and iban fields required for updating mandate details.
    Table 1. Required fields
    Field name Format Description Required Example
    iban string IBAN for International Bank Account Number: Debtor’s bank account identifier
    email string Debtor’s e-mail address

Example of a cURL request:

$ curl -k -X PUT -H 
"Content-type:application/json" -H 
"Authorization:Basic MTIzNDU2Nzg6MTIzNDU2Nzg5MDEyMzQ1Ng==
" https://..../mandates/12345678-67127d4f3c9e4f3c8f52ceaabd4ba11f --data 
HTTP/1.1 200 OK
Date: Wed, 27 Aug 2014 10:38:47 GMT
Connection: close