Multibanco
Basic information
Customers pay through online banking or at an ATM, using the Entity, Reference, and Amount shown on the hosted payment page.
- Integration paths: Checkout, Direct API
- Transaction type: One-time web payment
lpmsInfo.lpmsType:Multibanco
| Customer country/region | Transaction currency |
|---|---|
| 🇵🇹 PT — Portugal | EUR |
The customer country/region is the billingInformation.country value in the payment request.
Before you begin
Complete Setup, confirm that Multibanco is enabled for your merchant application, and prepare a server endpoint to receive payment notifications. When building your own method list or restricting payment to one method, query available payment methods for the order context.
The currency listed here is the transaction currency. Confirm your account's transaction limits, settlement currencies, and settlement arrangements with Onerway. See Currency and amount validation for amount formatting.
Create a payment
For Checkout, call Create Checkout Payment with productType=ALL, subProductType=DIRECT, txnType=SALE, and orderCurrency=EUR. To show only Multibanco, set lpmsInfo.lpmsType to Multibanco, sending lpmsInfo as a JSON string. If you omit lpmsInfo, the customer chooses from the methods available for the order. Supply the customer's billing and shipping details according to the API conditions.
Select the request example Unified Checkout with all available payment methods, replace its order and customer details, add lpmsInfo when preselecting Multibanco, and remove cardInfo for this flow. Save the returned paymentId and transactionId, then redirect the customer's browser to redirectUrl. The response example Unified Checkout session created shows this structure; the initial status=U means the payment is unpaid. See Checkout integration for request authentication and return handling.
For the Direct API, call Create direct transaction with productType=LPMS, subProductType=DIRECT, txnType=SALE, paymentMode=WEB, lpmsInfo.lpmsType=Multibanco, and orderCurrency=EUR. Follow the API reference for the complete required fields and authentication requirements.
For the Direct API, select the request example Redirect local payment request (illustrative). Replace Bancontact with Multibanco, keep orderCurrency=EUR, and supply the customer's actual country and the other required order and billing details. Encode lpmsInfo, billingInformation, and shippingInformation as JSON strings. Include the merchant-collected end-user IP, browser, and device information in txnOrderMsg. Keep product and order currencies consistent, with amounts, discounts, and shipping fees adding up to orderAmount.
Customer action and final result
Save the Direct API response’s paymentId and transactionId. When status=R and actionType=RedirectURL, send the customer to data.redirectUrl; select Redirect local payment response (illustrative) for the response structure. See Local payment integration for response fields and other actions. Use the returned URL without constructing a payment page URL yourself.
The hosted payment page displays the Entity, Reference, and Amount needed to pay. Following the page instructions, the customer enters these details in online banking or at an ATM. The hosted page provides the payment details; merchants do not generate a reference themselves. Customers may pay later, so retain pending orders and update their state from server-side results.
Creating a transaction or returning to the merchant page does not confirm payment success. Read the transaction status from a verified payment result webhook, or use Query transactions to reconcile the result. See Webhooks for verification, acknowledgement, and duplicate handling.
Only status=S confirms payment success; status=F indicates failure. Handle other states according to the API reference.
Refunds and disputes
Confirm refund availability, restrictions, and the applicable dispute process with Onerway for your account. When refunds are enabled, follow Refunds.
Testing and go-live
Confirm the test environment, method enablement, and available test steps with Onerway before following Testing.
Obtain Multibanco sandbox success simulation steps from Onerway. Reaching the payment reference page verifies redirection, not a completed payment.
- Create an order in EUR using an enabled test configuration, and check the method code and returned page.
- Follow the approved test steps for a successful payment. Confirm that the order becomes paid only after a verified notification or server query reports
status=S. - Test abandonment, incomplete payment, and a missing notification. Confirm that returning to the merchant page does not mark the order paid and that queries can reconcile the state.
- Before launch, confirm production enablement, currency, limits, and the notification endpoint. Test refunds if enabled.