• France
status page
Demo shops
assistance
FAQContact support
Search
Categories
Tags
docs.
France
Spain
Europe (English)
India
Homepage
Use cases
Create a payment
Create an installment payment
Create a multi-card (split) payment
Create a payment by Alias (Token)
Create a payment link
Create a recurring payment
Manage subscriptions
Manage your transactions (refund, cancel...)
Analyze your reports
API docs
Embedded Form
REST API
Hosted payment
Mobile payment
File exchange
SDD mandates by REST API
Snippets
Payment methods
Plugins
Marketplace
Guides
Merchant Back Office
Back Office Expert
Functional guides

Using the Web Service

Each request is composed of the following elements:
  • a requested URL (or “endpoint”)
  • a method
  • headers
  • the data (or “body”)

The endpoint

The endpoint (root-endpoint) of the API is: https://secure.lyra.com/sdd.

Several resources, each associated with a different path, are provided:

Action Method URl
Import an existing mandate POST /mandates
Import several existing mandates POST /multimandates
View mandate details GET /mandates/{id}
Download a mandate GET /mandates/{id}
Update a mandate PUT /mandates/{id}
Delete a mandate DELETE /mandates/{id}

Replace {id} by the identifier of the mandate that you would like to use.

The method

Each resource is accessible via a specific method. This method reflects the action that you would like to perform (see table below).

  • GET This request is used for obtaining a resource via the server.
  • POST This request is used for creating a new resource.
  • PUT This request is used for updating a resource.
  • DELETE This request is used for deleting a resource.

The headers

The HTTP headers are key-value pairs separated by “:”.

They are used for transmitting authentication details and information about the request contents.

The headers used in this API are described in the chapter titled Authentication.

The data (or “body”)

The data (also referred to as “body” or “message”) contains the information that you want to pass to the server. It is used only in the POST and PUT requests.

Both in requests and responses, the data is transmitted in JSON (Javascript Object Notation) format.

In this format, each property and value is enclosed in double quotes:

 {
"property1": “value1",
"property2": “value2"
 }
Jobs
Legal
GDPR
25.18-1.11