worldline Direct
Sign up

MB Way

Intro

MB Way is a Portuguese wallet allowing customers to pay with a pre-stored card on their mobile device. Once you redirect your customers to the MB Way portal, they confirm the payment with their phone number and a PIN.

The integration is very easy, as you only have to send two additional parameters along with your request. You can implement this payment method with integration mode Hosted Checkout Page.

Overview

Payment group:
Payment product id:
5908

Countries & currencies

Supported countries

Supported currencies

  • Euro (EUR)

Integration

Redirect your customers to the MB Way payment portal via our Hosted Checkout Page. Find a high level overview in the "Process flows" chapter.

Add the following properties to a standard CreateHostedCheckout request:

{
  "redirectPaymentMethodSpecificInput": {
    "paymentProductId": 5908,
    "returnUrl": "https://yourReturnUrl.com",
    "authorizationMode": "FINAL_AUTHORIZATION"
  },
  "order": {
    "amountOfMoney": {
      "currencyCode": "EUR",
      "amount": 100
    },
    "customer": {
      "contactDetails": {
        "emailAddress": "wile.e.coyote@acmelabs.com",
        "phoneNumber": "+1234567890"
      }
    }
  }
}
Properties Remarks

order.customer.contactDetails
    emailAddress
    phoneNumber

emailAddress: Your customer's e-mail address.

phoneNumber: Your customer's phone number.

order.amountOfMoney
     amount
     currencyCode

amount: The gross amount you want to charge for this order.
currencyCode: The ISO 4217 currency code for this amount.

redirectPaymentMethodSpecificInput
     paymentProductId
     authorizationMode
     returnUrl
     

paymentProductId: The numeric identifier of the payment method on our platform. Find this id in the "Overview" tab. It instructs our platform to send your customers directly to the MB Way portal. If left out, our platform sends your customers to the Hosted Checkout Page instead, allowing them to choose this or any other payment method in your account.

authorizationMode: Set to either "FINAL_AUTHORIZATION"/"SALE" depending on whether you want to process payments in authorisation/direct sale mode.

returnUrl: The URL we redirect your customers to after the payment has been finalised.

Find detailed information about this object and its properties in our CreateHostedCheckoutAPI.

Process flows

  1. Your customers finalise an order on their desktop device in your shop and select MB Way.
  2. You send this CreateHostedCheckout request to our platform.
  3. You redirect your customers via the redirectUrl to the MB Way portal. They enter their phone number on the MB Way portal.
  4. Your customers’ mobile device opens the MB Way app. Your customers confirm the payment in the app using their PIN.
  5. We receive the transaction result.
  6. Your customers' mobile device opens conform the payment in the MB Way app. We redirect your customers to your returnURL on their desktop device.
  7. You request the transaction result from our platform via GetHostedCheckout or receive the result via webhooks.
  8. If the transaction was successful, you can deliver the goods / service.

Testing

Refer to our Test cases for test data and detailed instructions.

Make sure to use the right endpoint and switch back to the live URL as soon as you have finished your tests.

Was this page helpful?

Do you have any comments?

Thank you for your response.