• 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

Generating a client via OpenAPI

The Marketplace API uses Swagger (https://swagger.io/) to facilitate the generation of a ready-to-use client in a wide variety of languages.

How does it work?

  1. Retrieve the Marketplace API template via this address:
    • In the YAML format: https://secure.lyra.com/marketplace/open_api.yaml
    • In the JSON format: https://secure.lyra.com/marketplace/open_api.json
  2. Copy the model in the left window of the Swagger editor (https://editor.swagger.io/).

    You can safely ignore the error “Semantic error at paths./orders/.post.operationId Operations must have unique operationIds”.

  3. In the menu of the Swagger editor, click Generate Client and select the language of your choice (PHP, Python, etc.).
  4. After downloading and extracting the generated code, follow the instructions of the README.md file.
That’s it!
Jobs
Legal
GDPR
25.18-1.11