Guide for platforms using the Mirakl Connector to prepare for the launch of Mangopay Echo
Platforms are able to use third-party acquirers along with Mangopay pay-ins and then benefit from Mangopay’s wallet and payout capabilities.
Mangopay is developing a new pay-in connector called Mangopay Echo to provide better transparency on funds acquired by other PSPs but which then transit the Mangopay environment.
The Mirakl Connector, which your platform is using, will take care of the Mangopay Echo functionality for all Mirakl Orders, regardless of whether the payments are processed by a third-party PSP or by Mangopay. However, we require you to enrich Mirakl Orders with some data so they can be processed.
Furthermore, we require certain actions from all platforms using third-party acquirer PSPs, including those using the Mirakl Connector.
While developments of Mangopay Echo are being finalized, certain actions can be started on your side.
Applies to: Any platform using a third-party PSP for funds acquisition (whether the platform uses the Mirakl Connector or not)
Settlement data consists of:
Many PSPs provide daily settlement files, but it is possible that your provider doesn’t. In this case, you need to request that they start making files available to you, ideally daily.
Best practice – Request settlement files as soon as possible (if not already provided)
If your PSP doesn’t provide settlement files today, you need to request that they do as soon as possible.
This data is essential for regulatory compliance and Mangopay relies on your partner PSP to provide you the files.
Applies to: Any platform using a third-party PSP for funds acquisition and using the Mirakl Connector
Note – If using multi-capture, use order line custom fields
The connector supports single capture (one capture per commercial_order
) and multi-capture (one capture per logistic_order
or multiple captures per logistic_order
).
If you use multiple captures per logistic_order
, use order line custom fields (order_line_additional_fields
) instead of order custom fields.
Mirakl allows its operators to create custom data fields (for Stores, Orders, etc.) for specific business needs.
Mangopay’s Mirakl Connector relies on these custom fields to standardize the transactional data that is not always present in Orders. Without these fields, Mangopay Echo can’t declare external payments (called Intents in the Echo solution) or reconcile and release funds.
To create custom fields in the Mirakl Dashboard:
Follow the specifications in the table below exactly.
For the Mirakl settings not mentioned below we recommend:
There are no requirements for the Label, which is your custom display name.
Code | Description | Type (Mirakl Dashboard) |
---|---|---|
mgp-external-provider-name | The name of the external provider processing the transaction. | Single values list containing the relevant value(s) exactly as they appear in the supported external providers. |
mgp-external-processing-date | The date at which the transaction was created. | Date (ISO 8601 format) |
mgp-external-provider-reference | The unique identifier of the transaction at the provider level. | Text (Max: 2000 char.) |
mgp-external-merchant-reference | The unique identifier of the transaction at the merchant level. | Text (Max: 2000 char.) |
mgp-external-provider-payment-method | One of the supported payment methods used to process the transaction. | Single values list containing the relevant values exactly as they appear in the supported payment methods. |
Best practice – Use list values not text strings
The data values sent in mgp-external-provider-name
and mgp-external-provider-payment-method
must match the supported enum values linked above.
Therefore, it is better to use the Mirakl Single values list format with the specified values rather than free text. In the Mirakl API this format is LIST
with accepted_values
.
Note that the payment method is not required by Mangopay, so if you make it required on Mirakl then all values must be in the supported values.
Now that the fields have been created, you need to integrate them on your calls to the Mirakl API for Orders.
The following fields are required for correct processing by Mangopay Echo:
Field | Required | Expected values |
---|---|---|
mgp-external-provider-name | Yes | One of the supported external providers. |
mgp-external-processing-date | Yes | ISO 8601 date time in UTC (YYYY-MM-DDTHH:MM:SSZ) |
mgp-external-provider-reference | Yes | String |
mgp-external-merchant-reference | No | String |
mgp-external-provider-payment-method | No | One of the supported payment methods. If the payment method is not supported, this field can be left blank (provided you created it as not required). |
You can send the data on the Mirakl endpoints:
Note – Incomplete custom fields blocks release of funds
You should provide the custom field data as early as possible in the flow.
With this information, the Mirakl Connector calls the Mangopay API to declare the order details to Mangopay based on the Mirakl Order status. It creates, captures and refunds Intents.
Without this custom field data, the Mirakl Connector cannot reconcile the Order and its settlement with Intents, preventing the release of funds to the seller.
Applies to: Any platform using a third-party PSP for funds acquisition (whether the platform uses the Mirakl Connector or not)
If your platform is using a third-party PSP for funds acquisition, you also need to send settlement data to Mangopay for reconciliation.
The payment intent declarations are created automatically by the Mirakl Connector, but the settlement data must be provided by the platform.
To do this, your platform needs to send CSV files to a dedicated endpoint as soon as they become available. Read more about the process and requirements in the guide: