• France
status page
Demo shops
assistance
FAQContact support
Search
Categories
Tags
Europe (English)
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

Payment initiated by the Merchant

The use of an alias when creating an order allows to execute payments initiated by the Merchant (“Merchant Initiated Transaction”): the payment is made without interaction with the cardholder.

This functionality can be useful in the case of recurring payments.

For this, create a payment by token (see chapter Payment by token), then use the execute-mit link returned by the server.

For example:

Request

POST https://secure.lyra.com/marketplace/orders?expand=items

Body

{
  "marketplace": "ebfb36ab-2d30-4326-adb9-e16b0c9a89f3",
  "reference": "MKP BURO example",
  "description": "Office supplies order",
  "currency": "EUR",
  "alias": "1144951ea7ab42989c97159b3dfc0382",
  ...
}

In the sever response, the links attribute contains the execute-mit link to be called.

{...
 "links": {
  "execute-mit": {
  "href": "http://mymarketplace.com/marketplace/orders/5a439e70-4ccc-4d86-bf30-223552e2c74f/execute-mit"
 },
…
}
Jobs
Legal
GDPR
25.18-1.11