Viewing mandate details

In order to view the mandate details:

  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 view.

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

Example of a cURL request:

$ curl'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 

{
	"title":"Mr",
	"email":"jsmith@ymail.com",
	"identifier":"DE98ZZZ09999999999-20140827onGTun",
	"rum":"DE98ZZZ09999999999-20140827onGTun",
	"id":"12345678-DE98ZZZ09999999999-20140827onGTun",
	"site":"12345678",
	"first_name":"John",
	"last_name":"Smith",
	"created_at":1409135927000,
	"updated_at":null
}