Smart2Pay Mirakl Plugin for Marketplaces

Looking for one marketplace-focused solution, which is also fully compliant with the PSD2 regulatory requirements?

You’re in the right place!

Our solution for marketplace platforms has been designed to seamlessly integrate with Mirakl’s e-marketplace products and allows for fully customizable marketplace onboarding and split payments processes.

Mirakl Marketplace Platform is one of the most modern, flexible, and feature-rich Marketplace solution available, with years of best practices built in and also offering clients unparalleled expertise from their team of 30+ business, technical, and operational marketplace experts.

Not using Mirakl? No problem: we also offer Marketplace APIs to help you manage marketplace payments. More info here: https://docs.smart2pay.com/category/marketplace-api/.

The solution provides access to credit card payments and alternative payment methods for a Marketplace in a simple yet reliable legal and technical setup.

We are committed to help marketplaces run their business without worrying about the associated regulatory requirements from the new PSD2 directive which have come into force beginning 2018.

Smart2Pay solution ensures that all of the participating shops as well as the marketplace will benefit of a seamlessly onboarding process, reliable and secure transaction processing, reconciliation to the penny and prompt settlements.

The Mirakl plugin features:

  • automated import of all the the newly created shops and required documents from Mirakl to Smart2pay platform – leading to a fully customizable and seamless onboarding process.
  • automated shop approval notification which contains all info you need to start processing right away. More info here: https://docs.smart2pay.com/category/marketplace-api/shop-approval-notification/.
  • automated import of all payment instructions to marketplace participants and handling all the commission fees for the marketplace operator. Please discuss with our technical support the setup of your Mirakl voucher generation process.
  • supporting a wide range of payment methods from credit card payment to alternative payment methods with an all-in-one unified API and settlement flow. 

Here is how it works:

1 Marketplace - Processes and Systems

The technical process (KYC Flow) with all the necessary steps is described next:

    All KYC processes related to marketplace onboarding of the participating shops take place in Mirakl KYC system. All KYC processes related to payments take place in Smart2Pay KYC system.

  • Mirakl Marketplace accepts a new shop on its platform and creates an entry in its database.
  • Mirakl Marketplace exposes an API which Smart2Pay KYC platform calls several times per day to pull information about the newly created shops.
  • Smart2Pay KYC platform pulls all available information about the shop (ShopID, Alias, shop representative e-mail, documents etc.). If all the required information is not available, the merchant representative will have to fill it in on Smart2Pay KYC platform.
  • Smart2Pay will create an account for the shop in the Smart2Pay KYC platform and send an e-mail to the shop representative with the login details.
  • The shop representative will fill in any missing company related data and upload KYC/UBO specific documentation.
  • The shop representative signs online the Merchant agreement for Payment processing.
  • Smart2Pay Risk team reviews the company.
  • In case of approval, a siteID is generated in the Smart2Pay platform.
  • Smart2Pay will do a push notification to a page designated by Mirakl with the following info ShopID, SiteID, APIKEY. The last two parameters need to be used when calling Smart2Pay REST API when processing the payments. Mirakl Marketplace needs to respond with HTTP return code 204 (No content) to the POST notification.

Please contact our support team at support@smart2pay.com to schedule a more in depth demo on how we help your marketplace to process payments and perform split settlements.

Get the List of Shops from Mirakl Marketplace

Mirakl Marketplace Platform exposes an API which Smart2Pay can call to pull the list of newly created shops, using an action based on GET HTTP request. The response will contain a shop list in JSON format that returns all the shops that were created or updated after last_updated_date

Only a limited amount of details for each shop will be provided.

Definition: GET /api/shops?shop_ids=…&premium=…&state=…&updated_since=…&paginate=…

Where:
  • shop_ids – List of shop ids separated with comma. Limited to 100 values;
  • premium – Boolean : “ALL” (default), “FALSE” or “TRUE”. If TRUE (FALSE) returns only offers of premium (not premium) shop;
  • state – State of the shop;
  • updated_since – Filter all the shop that have been modified since the value of this parameter;
  • paginate – [optional] Control the pagination usage. Default : true.

Request Model:

GET /api/shops/{last_updated_date}
Authorization: Basic Pre-shared-APIKEY

Response Model:

 {
    "shops": [{
      "approval_delay": null,
      "approval_rate": null,
      "banner": null,
      "billing_info": {
        "bank_city": null,
        "bank_name": "Example",
        "bank_street": null,
        "bic": "ABCD1234",
        "iban": "IT123253453466453545",
        "owner": "Company example",
        "zip_code": null
      },
      "channels": [
        "INIT"
      ],
      "closed_from": null,
      "closed_to": null,
      "contact_informations": {
        "city": "X",
        "civility": "Mr",
        "country": "ITA",
        "email": "example@example.com",
        "fax": null,
        "firstname": "John",
        "lastname": "DOE",
        "phone": "(+39) 124567899",
        "phone_secondary": "(+39) 123456789",
        "state": null,
        "street1": "Street Test, 35",
        "street2": null,
        "web_site": null,
        "zip_code": "10123"
      },
      "currency_iso_code": "EUR",
      "date_created": "2019-12-08T14:25:43Z",
      "description": "\"\"\"Description goes here\"\"\"",
      "domains": [
        "PRODUCT"
      ],
      "evaluations_count": 0,
      "free_shipping": false,
      "grade": null,
      "immunity_date": null,
      "is_professional": true,
      "last_updated_date": "2019-12-02T15:24:08Z",
      "logo": null,
      "offers_count": 0,
      "operator_internal_id": null,
      "order_messages_response_delay": null,
      "orders_count": 0,
      "payment_details": {
        "paid_balance": 0.00,
        "pay_subscription": true,
        "payable_balance": 0.00,
        "payment_blocked": false,
        "pending_balance": 0.00,
        "subscription_free_from": null,
        "subscription_free_to": null
      },
      "payment_info": {
        "@type": "IBAN",
        "bank_name": "Example Bank",
        "bic": "ABCD123456",
        "iban": "IT132435456576867",
        "owner": "Example Company"
      },
      "premium": false,
      "premium_state": "DEFAULT",
      "pro_details": {
        "VAT_number": "LU123123",
        "corporate_name": "TEST",
        "identification_number": "123456789",
        "tax_identification_number": "LU123123"
      },
      "return_policy": null,
      "shipping_country": "ITA",
      "shipping_types": [
        "CSTANDARD"
      ],
      "shipping_zones": [
        "IT"
      ],
      "shippings": [
        {
          "additional_fields": [],
          "shipping_free_amount": null,
          "shipping_type_code": "CSTANDARD",
          "shipping_type_label": "Standard Courier  (2~4 days)",
          "shipping_zone_code": "IT",
          "shipping_zone_label": "Italy"
        }
      "shop_id": 1234,
      "shop_name": "Test Company",
      "shop_state": "SUSPENDED"
    },

Not all fields are mandatory in the above request! If Mirakl Marketplace does not provide all the necessary data, the shop representative will fill the missing fields in Smart2Pay platform. Another method of providing missing or incomplete data is by adding it in the additional fields and document fields in your Mirakl back office, if the initial configuration allows you to.

Once Smart2Pay identifies a newly created shop, it creates an account in Smart2Pay KYC platform for the shop representative and sends an email asking to finalize the application (e.g. fill missing info, upload documents, sign the online contract).

Get the List of Documents from Mirakl Marketplace

Information about the required documents can be retrieved by using an action based on GET HTTP request. The response will contain a list of documents provided for each Shop ID in JSON format.

Definition: GET /api/shops/documents?shop_ids=…

Where:
  • shop_ids – [required] A list of shop identifiers.

Request Model:

GET /api/shops/{shop_id}/documents
Authorization: Basic Pre-shared-APIKEY

Response Model:

{
"shop_documents": [
  {
  "date_deleted": null,
  "date_uploaded": "2019-08-01T03:38:32Z",
  "file_name": "bank statement.pdf",
  "id": 7973,
  "shop_id": 1234,
  "type": "ALL_PROOF_OF_BANK_ACCOUNT"
  },
  {
  "date_deleted": null,
  "date_uploaded": "2019-08-01T03:38:34Z",
  "file_name": "credit card bill.jpg",
  "id": 123,
  "shop_id": 1234,
  "type": "BILL"
  },
  {
  "date_deleted": null,
  "date_uploaded": "2019-08-01T03:38:51Z",
  "file_name": "article.pdf",
  "id": 124,
  "shop_id": 1234,
  "type": "LEGAL_ARTICLES_DISTR_OF_POWERS"
  },
  {
  "date_deleted": null,
  "date_uploaded": "2019-08-01T03:38:56Z",
  "file_name": "ID card.pdf",
  "id": 125,
  "shop_id": 1234,
  "type": "LEGAL_IDENTITY_OF_REPRESENTATIVE"
  },
  {
  "date_deleted": null,
  "date_uploaded": "2019-08-01T03:38:58Z",
  "file_name": "Business License.pdf",
  "id": 126,
  "shop_id": 1234,
  "type": "LEGAL_PROOF_OF_REGISTRATION_NUMBER"
  }
  ],
  "total_count": 5
  }

The following documents are required by Smart2Pay KYC platform:

  1. Bank statement (Not older than 6 months, with account holder and IBAN code visible);
  2. Company certificate / Incorporation certificate (Not older than 6 months);
  3. Register of directors (or any other document showing the company’s legal representatives) (Not older than 6 months);
  4. Passport copy of company’s legal representatives and UBO (Ultimate Beneficial Owners – all natural persons that own or control, directly or indirectly more than 25% of the Company): Legible ID copy in color within validity period;
  5. Take into consideration that for each of the company UBOs that own or control more than 25% of the company you must also provide proper identity documents (Legible ID copy in color within validity period)!

  6. Utility bill that can be used as proof of address for company’s legal representatives (Not older than 6 months).

Mirakl Notification for Shop Approval

Whenever a shop is approved in Smart2Pay onboarding system, a notification is sent from Smart2Pay to Mirakl Marketplace where the following info is send, and whether it was successful or not.

Mirakl Marketplace needs to respond with HTTP return code 204 (No Content) otherwise the approval will be resubmitted!

Definition: POST /api/shop/{ID}/notification

Where:
  • {ID} – ID of the shop

Shop Approval Notification Format:

{
    "merchant_site": {
        "shop_id": Int,
        "site_id": Int (eg. 31261),
        "api_key": "SmasdsPx6n2KJU9MNKcBdlqdLJZOXSl9IA/kdksjSsdDWD",
        "created": "Date (yyyy-mm-dd hh:mm:ss, eg. 2018-12-31 23:59:59)",
        "url": "http://www.johnshop.it",
    }
}

Response:

204 No Content

We recommend you to always verify the Notification content we sent and not just simply/automatically respond to our notifications.

In exceptional cases it is possible to receive duplicate notifications and your system should be able to handle such situations.

If you do not respond to the notifications of type Approval or our system will keep sending the notifications until it receives a response. At first you will be notified more often. Once the time passes the notifications from our system will be rare and they will eventually stop (after a period of time defined in our system, currently set to 7 days).

Transactional Flow for Mirakl Marketplace

Orders containing items from multiple shops will be sent for authorization in multiple transactions, each transaction containing items for a single shop.

Credit card transactions are authorized and their status is communicated on the following route: Acquirer -> Smart2Pay -> Mirakl Marketplace.

Transactions are manually captured within 7 days from authorization.

Tokenization, 3D and fraud prevention solutions are available upon request. For more information visit: Credit Card Payments.

Alternative payment methods are authorized and captured in one step and their status is communicated on the following route: Payment method provider -> Smart2Pay -> Mirakl Marketplace.

You need to integrate our REST API described here: https://docs.smart2pay.com.

Reconciliation process for Mirakl Marketplace

Smart2Pay reconciles at transaction level with the acquiring banks and alternative method providers.

The SiteID / APIKEY will be used to initiate the transactions towards Smart2Pay. The Mirakl Marketplace Transaction ID needs to be submitted by Smart2Pay REST API in the OriginatorTransactionID field for reporting and reconciliation purposes towards the shops / Mirakl Marketplace.

Settlement Flow for Mirakl Marketplace

Settlement cycles are defined in Smart2Pay system. Based on this, Smart2Pay generates settlement invoices for each shop. Also, Smart2Pay generates a commission settlement invoice for Mirakl Marketplace.

The acquiring banks and alternative payment method providers settle to Smart2Pay the (Gross amount – Acquiring/Processing Fees).

  • Smart2Pay settles gross amount – operator commission – acquiring fees to each shop. Settlement frequency: weekly.
  • Smart2Pay settles commission to Mirakl Marketplace based on Transaction Log API exposed by the Mirakl. Settlement frequency: weekly.

Optional functionalities:

  • Subscription fee can be collected by Smart2Pay from the shops on behalf of the marketplace operator.
  • Manual credits / debits will be issued by Mirakl Marketplace towards the shops and performed by Smart2Pay.
  • Mirakl Marketplace can withhold the payment of certain transactions towards the shop (e.g. only the transactions with PaymentStatus marked as PAID will be settled).

Mirakl’s Pre-Settlement Transaction API

Mirakl Marketplace exposes a Transaction Log API based on which Smart2Pay settles commissions for. Information about all the transactions created or updated within a certain interval can be retrieved by using an action based on GET HTTP request. The response will contain a transaction list in JSON format that returns all the transactions that were created or updated in the interval start_date – end_date.

Only a limited amount of details for each transaction will be provided.

Definition: GET /api/transactions_logs?shop_id=…&start_date=…&end_date=…&start_transaction_date=…&e
nd_transaction_date=…&updated_since=…&payment_voucher=…&payment_states=…&transactio
n_types=…&paginate=…&accounting_document_number=…&order_ids=…&order_line_ids=…

Where:
  • shop_id – [optional] shop id for filtering;
  • start_date – [optional] creation date for filtering. Format: “yyyy-MM-dd’T’HH:mm:ss”;
  • end_date – [optional] creation date for filtering. Format: “yyyy-MM-dd’T’HH:mm:ss”;
  • start_transaction_date – [optional] transaction date for filtering. Format: “yyyy-MM-dd’T’HH:mm:ss”;
  • end_transaction_date – [optional] transaction date for filtering. Format: “yyyy-MM-dd’T’HH:mm:ss”;
  • updated_since – [optional] last updated date for filtering. Format: “yyyy-MM-dd’T’HH:mm:ss”;
  • payment_voucher – [optional] payment voucher number for filtering;
  • payment_states – [optional] payment states separated by comma for filtering;
  • transaction_types – [optional] transaction types separated by comma for filtering;
  • paginate – [optional] Control the pagination usage. Default: true;
  • accounting_document_number – [optional] an accounting document number for filtering (invoice or credit note number);
  • order_ids – [optional] order id list for filtering, using comma (,) as a separator;
  • order_line_ids – [optional] order line id list for filtering, using comma (,) as a separator.

Request Model:

GET /v1/transactions?{start_date}&{end_date}
Authorization: Basic Pre-shared-APIKEY

Response Model:

{
  "lines": [
    {
      "accounting_document_creation_date": null,
      "accounting_document_number": null,
      "amount_credited": 0,
      "amount_debited": 1.03,
      "balance": 1433.14,
      "category_code": "MOD",
      "category_label": "Clothing & Accessories",
      "commission_grid_label": "Premium sellers Grid",
      "currency_iso_code": "USD",
      "date_created": "2015-09-25T14:28:09Z",
      "invoice_creation_date": null,
      "invoice_number": null,
      "last_updated": "2015-09-25T18:30:00Z",
      "offer_price_unit": 45,
      "offer_sku": "sku-AT5",
      "offer_state": "11",
      "order_commercial_id": "1443191231271",
      "order_id": "1443191231271-A",
      "order_line_id": "1443191231271-A-2",
      "order_state": "RECEIVED",
      "order_tax_code": null,
      "payment_state": "PAYABLE",
      "payment_voucher_number": null,
      "product_sku": "sku-fa8",
      "product_title": "Women's Retro Romance 3 Compartment Shopper",
      "quantity": 1,
      "refund_id": null,
      "shipping_type_code": "INIT",
      "shipping_zone_code": "INIT",
      "shop_id": 2012,
      "shop_name": "Everything Store",
      "shop_operator_internal_id": null,
      "shop_tax_code": "TAXDEFAULT",
      "shop_tax_rate": 20,
      "transaction_date": "2015-09-25T14:28:06Z",
      "transaction_number": "1443191231271-A-999-999",
      "transaction_type": "COMMISSION_VAT",
      "vat_rate": 20
    },
    {
      "accounting_document_creation_date": null,
      "accounting_document_number": null,
      "amount_credited": 0,
      "amount_debited": 5.17,
      "balance": 1434.17,
      "category_code": "MOD",
      "category_label": "Clothing & Accessories",
      "commission_grid_label": "Premium sellers Grid",
      "currency_iso_code": "USD",
      "date_created": "2015-09-25T14:28:09Z",
      "invoice_creation_date": null,
      "invoice_number": null,
      "last_updated": "2015-09-25T18:30:00Z",
      "offer_price_unit": 45,
      "offer_sku": "sku-AT5",
      "offer_state": "11",
      "order_commercial_id": "1443191231271",
      "order_id": "1443191231271-A",
      "order_line_id": "1443191231271-A-2",
      "order_state": "RECEIVED",
      "order_tax_code": null,
      "payment_state": "PAYABLE",
      "payment_voucher_number": null,
      "product_sku": "sku-fa8",
      "product_title": "Women's Retro Romance 3 Compartment Shopper",
      "quantity": 1,
      "refund_id": null,
      "shipping_type_code": "INIT",
      "shipping_zone_code": "INIT",
      "shop_id": 2012,
      "shop_name": "Everything Store",
      "shop_operator_internal_id": null,
      "shop_tax_code": null,
      "shop_tax_rate": 20,
      "transaction_date": "2015-09-25T14:28:06Z",
      "transaction_number": "1443191231271-A-999-999",
      "transaction_type": "COMMISSION_FEE",
      "vat_rate": 20
    },
    {
      "accounting_document_creation_date": null,
      "accounting_document_number": null,
      "amount_credited": 2,
      "amount_debited": 0,
      "balance": 1439.34,
      "category_code": "MOD",
      "category_label": "Clothing & Accessories",
      "commission_grid_label": "Premium sellers Grid",
      "currency_iso_code": "USD",
      "date_created": "2015-09-25T14:28:09Z",
      "invoice_creation_date": null,
      "invoice_number": null,
      "last_updated": "2015-09-25T18:30:00Z",
      "offer_price_unit": 45,
      "offer_sku": "sku-AT5",
      "offer_state": "11",
      "order_commercial_id": "1443191231271",
      "order_id": "1443191231271-A",
      "order_line_id": "1443191231271-A-2",
      "order_state": "RECEIVED",
      "order_tax_code": null,
      "payment_state": "PAYABLE",
      "payment_voucher_number": null,
      "product_sku": "sku-fa8",
      "product_title": "Women's Retro Romance 3 Compartment Shopper",
      "quantity": 1,
      "refund_id": null,
      "shipping_type_code": "INIT",
      "shipping_zone_code": "INIT",
      "shop_id": 2012,
      "shop_name": "Everything Store",
      "shop_operator_internal_id": null,
      "shop_tax_code": null,
      "shop_tax_rate": null,
      "transaction_date": "2015-09-25T14:28:06Z",
      "transaction_number": "1443191231271-A-999-999",
      "transaction_type": "ORDER_SHIPPING_AMOUNT",
      "vat_rate": null
    },
    {
      "accounting_document_creation_date": null,
      "accounting_document_number": null,
      "amount_credited": 45,
      "amount_debited": 0,
      "balance": 1437.34,
      "category_code": "MOD",
      "category_label": "Clothing & Accessories",
      "commission_grid_label": "Premium sellers Grid",
      "currency_iso_code": "USD",
      "date_created": "2015-09-25T14:28:09Z",
      "invoice_creation_date": null,
      "invoice_number": null,
      "last_updated": "2015-09-25T18:30:00Z",
      "offer_price_unit": 45,
      "offer_sku": "sku-AT5",
      "offer_state": "11",
      "order_commercial_id": "1443191231271",
      "order_id": "1443191231271-A",
      "order_line_id": "1443191231271-A-2",
      "order_state": "RECEIVED",
      "order_tax_code": null,
      "payment_state": "PAYABLE",
      "payment_voucher_number": null,
      "product_sku": "sku-fa8",
      "product_title": "Women's Retro Romance 3 Compartment Shopper",
      "quantity": 1,
      "refund_id": null,
      "shipping_type_code": "INIT",
      "shipping_zone_code": "INIT",
      "shop_id": 2012,
      "shop_name": "Everything Store",
      "shop_operator_internal_id": null,
      "shop_tax_code": null,
      "shop_tax_rate": null,
      "transaction_date": "2015-09-25T14:28:06Z",
      "transaction_number": "1443191231271-A-999-999",
      "transaction_type": "ORDER_AMOUNT",
      "vat_rate": null
    },
    {
      "accounting_document_creation_date": null,
      "accounting_document_number": null,
      "amount_credited": 0,
      "amount_debited": 1.58,
      "balance": 1392.34,
      "category_code": "MOD",
      "category_label": "Clothing & Accessories",
      "commission_grid_label": "Premium sellers Grid",
      "currency_iso_code": "USD",
      "date_created": "2015-09-25T14:28:09Z",
      "invoice_creation_date": null,
      "invoice_number": null,
      "last_updated": "2015-09-25T18:30:00Z",
      "offer_price_unit": 67,
      "offer_sku": "sku-AT14",
      "offer_state": "11",
      "order_commercial_id": "1443191231271",
      "order_id": "1443191231271-A",
      "order_line_id": "1443191231271-A-1",
      "order_state": "RECEIVED",
      "order_tax_code": null,
      "payment_state": "PAYABLE",
      "payment_voucher_number": null,
      "product_sku": "sku-fa27",
      "product_title": "Black Label Relaxed Fit Jeans",
      "quantity": 1,
      "refund_id": null,
      "shipping_type_code": "INIT",
      "shipping_zone_code": "INIT",
      "shop_id": 2012,
      "shop_name": "Everything Store",
      "shop_operator_internal_id": null,
      "shop_tax_code": "TAXDEFAULT",
      "shop_tax_rate": 20,
      "transaction_date": "2015-09-25T14:28:06Z",
      "transaction_number": "1443191231271-A-999-999",
      "transaction_type": "COMMISSION_VAT",
      "vat_rate": 20
    },
    {
      "accounting_document_creation_date": null,
      "accounting_document_number": null,
      "amount_credited": 0,
      "amount_debited": 7.92,
      "balance": 1393.92,
      "category_code": "MOD",
      "category_label": "Clothing & Accessories",
      "commission_grid_label": "Premium sellers Grid",
      "currency_iso_code": "USD",
      "date_created": "2015-09-25T14:28:09Z",
      "invoice_creation_date": null,
      "invoice_number": null,
      "last_updated": "2015-09-25T18:30:00Z",
      "offer_price_unit": 67,
      "offer_sku": "sku-AT14",
      "offer_state": "11",
      "order_commercial_id": "1443191231271",
      "order_id": "1443191231271-A",
      "order_line_id": "1443191231271-A-1",
      "order_state": "RECEIVED",
      "order_tax_code": null,
      "payment_state": "PAYABLE",
      "payment_voucher_number": null,
      "product_sku": "sku-fa27",
      "product_title": "Black Label Relaxed Fit Jeans",
      "quantity": 1,
      "refund_id": null,
      "shipping_type_code": "INIT",
      "shipping_zone_code": "INIT",
      "shop_id": 2012,
      "shop_name": "Everything Store",
      "shop_operator_internal_id": null,
      "shop_tax_code": null,
      "shop_tax_rate": 20,
      "transaction_date": "2015-09-25T14:28:06Z",
      "transaction_number": "1443191231271-A-999-999",
      "transaction_type": "COMMISSION_FEE",
      "vat_rate": 20
    },
    {
      "accounting_document_creation_date": null,
      "accounting_document_number": null,
      "amount_credited": 5,
      "amount_debited": 0,
      "balance": 1401.84,
      "category_code": "MOD",
      "category_label": "Clothing & Accessories",
      "commission_grid_label": "Premium sellers Grid",
      "currency_iso_code": "USD",
      "date_created": "2015-09-25T14:28:09Z",
      "invoice_creation_date": null,
      "invoice_number": null,
      "last_updated": "2015-09-25T18:30:00Z",
      "offer_price_unit": 67,
      "offer_sku": "sku-AT14",
      "offer_state": "11",
      "order_commercial_id": "1443191231271",
      "order_id": "1443191231271-A",
      "order_line_id": "1443191231271-A-1",
      "order_state": "RECEIVED",
      "order_tax_code": null,
      "payment_state": "PAYABLE",
      "payment_voucher_number": null,
      "product_sku": "sku-fa27",
      "product_title": "Black Label Relaxed Fit Jeans",
      "quantity": 1,
      "refund_id": null,
      "shipping_type_code": "INIT",
      "shipping_zone_code": "INIT",
      "shop_id": 2012,
      "shop_name": "Everything Store",
      "shop_operator_internal_id": null,
      "shop_tax_code": null,
      "shop_tax_rate": null,
      "transaction_date": "2015-09-25T14:28:06Z",
      "transaction_number": "1443191231271-A-999-999",
      "transaction_type": "ORDER_SHIPPING_AMOUNT",
      "vat_rate": null
    },
    {
      "accounting_document_creation_date": null,
      "accounting_document_number": null,
      "amount_credited": 67,
      "amount_debited": 0,
      "balance": 1396.84,
      "category_code": "MOD",
      "category_label": "Clothing & Accessories",
      "commission_grid_label": "Premium sellers Grid",
      "currency_iso_code": "USD",
      "date_created": "2015-09-25T14:28:09Z",
      "invoice_creation_date": null,
      "invoice_number": null,
      "last_updated": "2015-09-25T18:30:00Z",
      "offer_price_unit": 67,
      "offer_sku": "sku-AT14",
      "offer_state": "11",
      "order_commercial_id": "1443191231271",
      "order_id": "1443191231271-A",
      "order_line_id": "1443191231271-A-1",
      "order_state": "RECEIVED",
      "order_tax_code": null,
      "payment_state": "PAYABLE",
      "payment_voucher_number": null,
      "product_sku": "sku-fa27",
      "product_title": "Black Label Relaxed Fit Jeans",
      "quantity": 1,
      "refund_id": null,
      "shipping_type_code": "INIT",
      "shipping_zone_code": "INIT",
      "shop_id": 2012,
      "shop_name": "Everything Store",
      "shop_operator_internal_id": null,
      "shop_tax_code": null,
      "shop_tax_rate": null,
      "transaction_date": "2015-09-25T14:28:06Z",
      "transaction_number": "1443191231271-A-999-999",
      "transaction_type": "ORDER_AMOUNT",
      "vat_rate": null
    },
    {
      "accounting_document_creation_date": null,
      "accounting_document_number": null,
      "amount_credited": 0,
      "amount_debited": 1.43,
      "balance": 57.27,
      "category_code": "MOD",
      "category_label": "Clothing & Accessories",
      "commission_grid_label": "Default Grid",
      "currency_iso_code": "USD",
      "date_created": "2015-09-25T14:28:03Z",
      "invoice_creation_date": null,
      "invoice_number": null,
      "last_updated": "2015-09-25T18:15:00Z",
      "offer_price_unit": 59.99,
      "offer_sku": "S2044",
      "offer_state": "11",
      "order_commercial_id": "1443191231271",
      "order_id": "1443191231271-B",
      "order_line_id": "1443191231271-B-1",
      "order_state": "RECEIVED",
      "order_tax_code": null,
      "payment_state": "PAYABLE",
      "payment_voucher_number": null,
      "product_sku": "CLP_01",
      "product_title": "Dress for tennis players",
      "quantity": 1,
      "refund_id": null,
      "shipping_type_code": "INIT",
      "shipping_zone_code": "INIT",
      "shop_id": 2041,
      "shop_name": "FONQ_SHOP TEST",
      "shop_operator_internal_id": null,
      "shop_tax_code": "TAXDEFAULT",
      "shop_tax_rate": 20,
      "transaction_date": "2015-09-25T14:27:59Z",
      "transaction_number": "1443191231271-B-999-999",
      "transaction_type": "COMMISSION_VAT",
      "vat_rate": 20
    },
    {
      "accounting_document_creation_date": null,
      "accounting_document_number": null,
      "amount_credited": 0,
      "amount_debited": 7.15,
      "balance": 58.7,
      "category_code": "MOD",
      "category_label": "Clothing & Accessories",
      "commission_grid_label": "Default Grid",
      "currency_iso_code": "USD",
      "date_created": "2015-09-25T14:28:03Z",
      "invoice_creation_date": null,
      "invoice_number": null,
      "last_updated": "2015-09-25T18:15:00Z",
      "offer_price_unit": 59.99,
      "offer_sku": "S2044",
      "offer_state": "11",
      "order_commercial_id": "1443191231271",
      "order_id": "1443191231271-B",
      "order_line_id": "1443191231271-B-1",
      "order_state": "RECEIVED",
      "order_tax_code": null,
      "payment_state": "PAYABLE",
      "payment_voucher_number": null,
      "product_sku": "CLP_01",
      "product_title": "Dress for tennis players",
      "quantity": 1,
      "refund_id": null,
      "shipping_type_code": "INIT",
      "shipping_zone_code": "INIT",
      "shop_id": 2041,
      "shop_name": "FONQ_SHOP TEST",
      "shop_operator_internal_id": null,
      "shop_tax_code": null,
      "shop_tax_rate": 20,
      "transaction_date": "2015-09-25T14:27:59Z",
      "transaction_number": "1443191231271-B-999-999",
      "transaction_type": "COMMISSION_FEE",
      "vat_rate": 20
    }
  ],
  "total_count": 4545
}

The transaction_type field contains the following information:

  • COMMISSION_VAT
  • COMMISSION_FEE
  • ORDER_SHIPPING_AMOUNT
  • ORDER_AMOUNT
  • MANUAL_CREDIT
  • MANUAL_CREDIT_VAT
  • ORDER_AMOUNT_TAX
  • ORDER_SHIPPING_AMOUNT_TAX
  • REFUND_ORDER_AMOUNT
  • REFUND_ORDER_SHIPPING_AMOUNT
  • REFUND_COMMISSION_FEE
  • REFUND_COMMISSION_VAT
  • REFUND_ORDER_AMOUNT_TAX
  • REFUND_ORDER_SHIPPING_AMOUNT_TAX
  • SUBSCRIPTION_FEE
  • SUBSCRIPTION_VAT

Only the transactions with payment_state = “PAID” will be settled in the current settlement cycle.

Reporting process for Mirakl Marketplace

  1. Smart2Pay generates a daily transactional report file for Mirakl. The transactional report file contains the following information:
    ID
    ID
    Definition
    The ID of the transaction in Smart2Pay system
    Type
    int
    : The ID of the transaction in Smart2Pay system;
    MerchantTransactionID
    MerchantTransactionID
    Definition
    Merchant Transaction ID, a number that uniquely identifies a transaction in your system.
    Type
    string
    : Merchant Transaction ID, a number that uniquely identifies a transaction in your system;
    OriginatorTransactionID
    OriginatorTransactionID
    Definition
    The ID of the transaction/refund in The Marketplace system
    Type
    string
    : The ID of the transaction/refund in The Marketplace system;

    InputDateTime
    InputDateTime
    Definition
    The date and time of inserting the transaction in Smart2Pay system
    Type
    datetime
    : The date and time of inserting the transaction in Smart2Pay system;

    PaymentStateDefID
    PaymentStateDefID
    Definition
    The ID of the payment status in Smart2Pay system. It can have the following values: 1 - Open, 2 - Success, 3 - Cancelled, 4 - Failed, 5 - Expired, 9 - Authorized, 11 - Captured.
    : The status id of the transaction in Smart2Pay system;

    Status
    Status
    Definition
    The description of the transaction status in the Smart2Pay system: Open (Pending), Success (not used for card payments), Cancelled, Failed, Expired, Authorized, Captured.
    : The description of the transaction status in the Smart2Pay system;

    MerchantAmount
    MerchantAmount
    Definition
    The amount of the transaction.
    Type
    float
    : The amount of the transaction;

    MerchantCurrency
    MerchantCurrency
    Definition
    The currency of the transaction. ISO 4217 format (e.g. EUR)
    : The currency of the transaction;

    CapturedAmount
    CapturedAmount
    Definition
    The amount that has been captured. Float with 2 decimals (e.g. 33.99)
    Type
    float
    : The amount that has been captured;

    MethodID
    MethodID
    Definition
    The ID of the payment methods used. For credit cards payments the ID is 6.
    Type
    int
    : The ID of the payment methods used. For credit cards payments this is 6.;

    MethodName
    MethodName
    Definition
    The name of the payment method used: SmartCards.
    : The name of the payment method used.;

    ReportedByBOTOperatorDate
    ReportedByBOTOperatorDate
    Definition
    The date when the transaction was exported to CSV file.
    Type
    datetime
    : The date when the transaction was exported to csv file;

    SpecificDetails
    SpecificDetails
    Definition
    Specific Details
    : Not used;

    ReconciliationProviderID
    ReconciliationProviderID
    Definition
    The ID that appears on the bank statement of the customer (usually same as RootProviderTransactionID).
    Type
    string
    : ID appearing on the bank statement of the customer (usually same as RootProviderTransactionID);

    ProviderTransactionID
    ProviderTransactionID
    Definition
    Provider Transaction ID
    : Not used for card payments;

    MerchantAlias
    MerchantAlias
    Definition
    The name of the Shop.
    Type
    string
    : Shop Name;

    RootProviderTransactionID
    RootProviderTransactionID
    Definition
    The ID of the payment in acquiring system.
    Type
    string
    : ID of the payment in acquiring system;

    Country
    Country
    Definition
    The country of the payer if available. ISO_3166-1_alpha-2 format. (e.g. IT).
    : The country of the payer if available.
  2.  

  3. Smart2Pay will generate a Settlement invoice report containing information at transaction level for each shop. The Settlement invoice report contains the following information:1 Settlement invoice report per shop
    GPaymentId
    GPaymentId
    Definition
    GPaymentId
    : Not used;
    PaymentId
    PaymentId
    Definition
    The ID of the payment in Smart2Pay system.
    Type
    int
    : PaymentID in Smart2Pay system;

    Type
    Type
    Definition
    Transaction Type. It can be type: Payment, Refund, Inquiry or Chargeback.
    Type
    string
    : Transaction Type. Can be Payment, Refund, Inquiry or Chargeback;

    PaymentMethodName
    PaymentMethodName
    Definition
    The name of the payment method used. E.g. SmartCards
    Type
    string
    : Name of the payment method used;

    CustomerName
    CustomerName
    Definition
    The name of the customer, if available.
    Type
    string
    : The name of the customer, if available;

    MerchantName
    MerchantName
    Definition
    The name of the merchant account.
    Type
    string
    : The name of the merchant account;

    MerchantID
    MerchantID
    Definition
    The ID of the transaction/refund in your system.
    Type
    string
    : The transaction/refund id in your system;

    GtId
    GtId
    Definition
    GtId
    : Not used;

    IssuerName
    IssuerName
    Definition
    Issuer Name
    : Not used;

    IdealTrxId
    IdealTrxId
    Definition
    IdealTrxId
    : Not used;

    Country
    Country
    Definition
    The country of the payer, if available. ISO_3166-1_alpha-2 format. (e.g. IT).
    : The country of the payer, if available;

    InputDateTime
    InputDateTime
    Definition
    The date and time of inserting the transaction in Smart2Pay system.
    Type
    datetime
    : The date and time of inserting the transaction in Smart2Pay system;

    Amount
    Amount
    Definition
    The amount of the transaction.
    Type
    float
    : The amount of the transaction;

    Currency
    Currency
    Definition
    The currency of the transaction. ISO 4217 format (e.g. EUR).
    : The currency of the transaction;

    Status
    Status
    Definition
    The description of the transaction status in the Smart2Pay system: Open (Pending), Success (not used for card payments), Cancelled, Failed, Authorized, Captured
    : The description of the transaction status in the Smart2Pay system;

    ExchangeRate
    ExchangeRate
    Definition
    The exchange rate if the transaction needs to be converted from transaction currency to the settlement currency.
    Type
    float
    : The exchange rate if the transaction needs to be converted from transaction currency to the settlement currency;

    CalculatedAmount
    CalculatedAmount
    Definition
    The transaction amount converted to the settlement currency.
    Type
    float
    : The transaction amount converted to the settlement currency;

    ReferenceCurrency
    ReferenceCurrency
    Definition
    The settlement currency.
    Type
    float
    : The settlement currency;

    TransactionFee
    TransactionFee
    Definition
    Gateway fee (if applies).
    Type
    float
    : Gateway fee (if applies);

    GeneralFee
    GeneralFee
    Definition
    Gateway fee (if applies)
    Type
    float
    : Gateway fee (if applies);

    AttemptFee
    AttemptFee
    Definition
    Gateway fee (per attempt, if applies).
    Type
    float
    : Gateway fee (per attempt, if applies);

    IssuedFee
    IssuedFee
    Definition
    Gateway fee (per acquiring bank/payment method provider attempt fee if applies).
    Type
    float
    : Gateway fee (per acquiring bank/payment method provider attempt fee if applies);

    LocalVatFee
    LocalVatFee
    Definition
    Local payment method VAT (if applies).
    Type
    float
    : Local payment method VAT (if applies);

    VAT
    VAT
    Definition
    Value added tax (if applies).
    Type
    float
    : Value added tax (if applies);

    Comission
    Comission
    Definition
    Commission of the marketplace/agent (if applies).
    Type
    float
    : Commission of the marketplace/agent (if applies);

    SiteID
    SiteID
    Definition
    The ID of the shop.
    Type
    int
    : ID of the shop;

    SiteAlias
    SiteAlias
    Definition
    Shop Alias.
    Type
    string
    : Shop Alias;

    OriginatorTransactionID
    OriginatorTransactionID
    Definition
    The ID of the transaction/refund in The Marketplace system.
    Type
    string
    : The ID of the transaction/refund in The Marketplace system.
  4.  

  5. Smart2Pay will also generate an aggregated Settlement invoice report containing information at transaction level for the Marketplace. Settlement of the commission will be based on this settlement invoice. Format is the same as in the Settlement invoice report above.

Below there are examples of Settlement invoice reports in all supported formats: