• France
lyra.com
Search
Categories
Tags
docs.
France
Spain
Europe (English)
India
Home
Implementation
Embedded form (cards)
REST payment API
REST PCI-DSS payment API
REST SEPA API
Hosted payment
Data collection form
File exchange
Mobile payment
Snippets
Plugins
Marketplace
Back Office
Merchant Back Office
Expert Back Office
Guides
Help
FAQ
Video tutorials
Support

Defining the Merchant ID (MID)

In the payment form, the Merchant must specify the value of the Merchant ID (MID).

This feature is used only if you have several MIDs that accept the same currency within the same acceptance network.

Use the optional vads_contracts field to define the Merchant ID (MID) to be used.
  • To define a list of MIDs, separate them with a semi-colon “;”.
    vads_contracts=NETWORK_CODE_A=MID_A1;NETWORK_CODE_B=MID_B2

  • To exclude a network, add network name= NO.
    vads_contracts=NETWORK_CODE_A=NO

  • To force the TID, separate the MID number and the TID number by a colon: “: ”
    vads_contracts=NETWORK_CODE_A=MID_A1:TID_1

  • If the field is submitted empty, the MID used will be the one defined by the priority order in the Expert Back Office ( Settings > Shop > MID association tab).
List of available networks:
Network code Description
ACCORD_SANDBOX Oney network (private and gift cards) - sandbox mode
ACCORD Oney network (private and gift cards)
AMEXGLOBAL American Express network
AURORE Cetelem Aurore network (Brand cards and universal Aurore card)
CB CB network
CONECS Titre-Restaurant Conecs network
DINERS Diners Club network
EDENRED Edenred network (Tickets Restaurant, Tickets EcoChèque, Tickets Compliments)
FULLCB FULL CB Network (Payment in 3 or 4 times without fees by BNPP PF)
GATECONEX GATECONEX Network
GICC_DINERS GICC network (Diners Club cards)
GICC_MAESTRO GICC network (Maestro cards)
GICC_MASTERCARD GICC network (Mastercard cards)
GICC_VISA GICC network (Visa cards)
GICC GICC network
GOOGLEPAY Google Pay network
JCB JCB network
LYRA_COLLECT_PPRO PPRO network
ONEY_SANDBOX Oney Network (Payment in 3 or 4 installments by FacilyPay) - sandbox mode
ONEY Oney Network (Payment in 3 or 4 installments by FacilyPay)
PAYPAL PayPal network
PAYPAL_SB PayPal network - sandbox mode
POSTFINANCEV2 POSTFINANCE network
SEPA SEPA network (SDD and SCT)

Examples:

You have:

  • Two MIDs within the A network: MID_A1 and MID_A2
  • Two MIDs within the B network: MID_B1 and MID_B2

To specify which MID to use for these two networks, vads_contracts must be populated as follows:

vads_contracts=A=MID_A2;B=MID_B1

To offer a payment only for the MID_A1 contract and prevent payments within the B network, populate vads_contracts as follows:

vads_contracts=A=MID_A1;B=NO

In order to force the TID to be used within the A network:

vads_contracts=A=MID_A1:TID_A1
Recruitment

Head Office :

LYRA NETWORK
109, rue de l’innovation
31670 Labège
FRANCE

2.9.0-doc-1.8