SOAP HEADER

The HEADER conveys information to authenticate and secure the data exchanged between the merchant website and payment gateway.

It contains:

  • shopId
    The merchant's shop ID.
  • requestId
    The UUID (Universally Unique Identifier).
    Its value allows to compute the authentication token.
  • timestamp
    The digital representation of the date and time of the query in the ISO 8601 format - W3C and UTC.
  • mode
    The transaction type.
    The attribute value can be set to TEST (for a test transaction) or PRODUCTION (for a real transaction).
  • authToken
    The authentication token.
    It must be systematically transmitted and the values it contains must be computed for each call.

Example of a HEADER in the query and the response:

<soap:Header xmlns:soapHeader="http://v5.ws.vads.lyra.com/Header">     
     <soapHeader:shopId>12345678</soapHeader:shopId>     
     <soapHeader:requestId>04967dae-af01-43ff-a7d8-f3f228b9b1c2</soapHeader:requestId>     
     <soapHeader:timestamp>2014-10-31T16:38:19Z</soapHeader:timestamp>     
     <soapHeader:mode>TEST</soapHeader:mode>     
     <soapHeader:authToken>NxoFUSsTqmMjwaDzTXyCN4nNpMOVJKb5UxHdS9TBuTg=</soapHeader:authToken>
     </soap:Header>