--- title: "Multibanco Android Component" description: "Add Multibanco to your Components integration." url: "https://docs.adyen.com/payment-methods/multibanco/android-component" source_url: "https://docs.adyen.com/payment-methods/multibanco/android-component.md" canonical: "https://docs.adyen.com/payment-methods/multibanco/android-component" last_modified: "2026-05-23T12:56:20+02:00" language: "en" --- # Multibanco Android Component Add Multibanco to your Components integration. [View source](/payment-methods/multibanco/android-component.md) You can add Multibanco to your existing integration. The following instructions show only what you must add to your integration specifically for Multibanco. If an instruction on this page corresponds with a step in the main integration guide, it includes a link to that corresponding step of the main integration guide. What you must add to your integration depends on the [server-side flow](/online-payments/build-your-integration) that your integration uses: ## Sessions flow Component ### Before-You-Begin ## Requirements | Requirement | Description | | | -------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- | - | | **Integration type** | Make sure that you have an existing Sessions flow [Android Components integration](/online-payments/build-your-integration/sessions-flow?platform=Android). | | | **Checkout API** | Make sure that you use Checkout API v68 or later. | | | **Setup steps** | Before you begin, [add Multibanco in your Customer Area](/payment-methods/add-payment-methods). | | ### Add-Parameters-Sessions-Request ## Add additional parameters to your /sessions request You do not need to add any parameters when you [create a payment session](/online-payments/build-your-integration/sessions-flow?platform=Android\&integration=Components#create-a-payment-session). ### Import-Component ## Import the Component for Multibanco To [import the library](/online-payments/build-your-integration/sessions-flow?platform=Android\&integration=Components#import) and include the module for Multibanco. ### Tab: With Jetpack Compose **Import the module with Compose** ```java implementation "com.adyen.checkout:instant:YOUR_VERSION" implementation "com.adyen.checkout:components-compose:YOUR_VERSION" ``` ### Tab: Without Jetpack Compose **Import the module without Compose** ```java implementation "com.adyen.checkout:instant:YOUR_VERSION" ``` ### Add-Configuration ## Add additional configuration for Multibanco You do not need to add any configuration parameters for Multibanco. ### Launch-And-Show ## Launch and show the Component for Multibanco To [create the Component](/online-payments/build-your-integration/sessions-flow?platform=Android\&integration=Components#launch-and-show) for Multibanco, use the `InstantPaymentComponent` class. ### Tab: With Jetpack Compose **Launch and show the Component** ```kotlin import com.adyen.checkout.components.compose.get // Get the payment method. val paymentMethod = checkoutSession.getPaymentMethod(PaymentMethodTypes.MULTIBANCO) @Composable private fun ComposableInstantPaymentComponent() { // Keep a reference to this Component in case you need to access it later. val instantComponent = InstantPaymentComponent.PROVIDER.get( checkoutSession = checkoutSession, paymentMethod = paymentMethod, configuration = checkoutConfiguration, componentCallback = callback, // This key is required to ensure a new Component gets created for each different screen or payment session. // Generate a new value for this key every time you need to reset the Component. key = "YOUR_UNIQUE_KEY_FOR_THIS_COMPONENT", ) // This is your composable, a wrapper around our xml view. AdyenComponent( component = instantComponent, modifier = YOUR_MODIFIER, ) } ``` ### Tab: Without Jetpack Compose ```kotlin // Get the payment method. val paymentMethod = checkoutSession.getPaymentMethod(PaymentMethodTypes.MULTIBANCO) val instantComponent = InstantPaymentComponent.PROVIDER.get( activity, // Your activity or fragment. checkoutSession, paymentMethod, checkoutConfiguration, componentCallback ) // Attach the Component to your view. binding.instantView.attach(instantComponent, activity) // Your activity or fragment. ``` ## Test and go live Before you can test Multibanco payments, you need to [submit a request for Multibanco](/payment-methods/add-payment-methods) in your [test Customer Area](https://ca-test.adyen.com/). In the test environment, you can simulate a Multibanco payment by promoting the pending payment to a sale. 1. Log in to your [test Customer Area](https://ca-test.adyen.com/). 2. Go to **Transactions** > **Offers**. 3. Select the **PSP reference** of the pending Multibanco payment. 4. Select **Promote offer to sale** button. Multibanco payments that have been paid (including test offers that you manually promoted to sale) are under **Transactions** > **Payments**. Test the reconciliation process by promoting test payments from offer to sale in your [test Customer Area](https://ca-test.adyen.com/). Before you can accept live Multibanco payments, you need to [submit a request for Multibanco](/payment-methods/add-payment-methods) in your [live Customer Area](https://ca-live.adyen.com/). ## Advanced flow Component ## Requirements | Requirement | Description | | | -------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | - | | **Integration type** | Make sure that you have an existing Advanced flow [Android Components integration](/online-payments/build-your-integration/advanced-flow?platform=Android). | | | **Action handling** | Make sure that your existing integration is set up to [handle the additional action](/online-payments/build-your-integration/advanced-flow/?platform=Android\&integration=Components#additional-action). `action.type`: voucher. | | | **Setup steps** | Before you begin, [add Multibanco in your Customer Area](/payment-methods/add-payment-methods). | | ### Import ## Import the Component for Multibanco To [import the library](/online-payments/build-your-integration/advanced-flow/?platform=Android\&integration=Components#import) and include the module for Multibanco. ### Tab: With Jetpack Compose **Import the module with Compose** ```java implementation "com.adyen.checkout:instant:YOUR_VERSION" implementation "com.adyen.checkout:components-compose:YOUR_VERSION" ``` ### Tab: Without Jetpack Compose **Import the module without Compose** ```java implementation "com.adyen.checkout:instant:YOUR_VERSION" ``` ### Add Configuration ## Add additional configuration for Multibanco You do not need to add any configuration parameters for Multibanco. ### Launch And Show ## Launch and show the Component for Multibanco To [create the Component](/online-payments/build-your-integration/advanced-flow/?platform=Android\&integration=Components#launch-and-show) for Multibanco, use the `InstantPaymentComponent` class. ### Tab: With Jetpack Compose **Launch and show the Component** ```kotlin import com.adyen.checkout.components.compose.get // Create the payment method object from the /paymentMethods response. val paymentMethod = paymentMethodsApiResponse?.paymentMethods.orEmpty().firstOrNull { it.type == PaymentMethodTypes.MULTIBANCO } @Composable private fun ComposableInstantPaymentComponent() { // Keep a reference to this Component in case you need to access it later. val instantComponent = InstantPaymentComponent.PROVIDER.get( paymentMethod = paymentMethod, configuration = checkoutConfiguration, componentCallback = callback, // This key is required to ensure a new Component gets created for each different screen or payment session. // Generate a new value for this key every time you need to reset the Component. key = "UNIQUE_KEY_PER_COMPONENT", ) // This is your composable, a wrapper around our xml view. AdyenComponent( component = instantComponent, modifier = YOUR_MODIFIER, ) } ``` ### Tab: Without Jetpack Compose ```kotlin // Create the payment method object from the /paymentMethods response. val paymentMethod = paymentMethodsApiResponse?.paymentMethods.orEmpty().firstOrNull { it.type == PaymentMethodTypes.MULTIBANCO } val instantComponent = InstantPaymentComponent.PROVIDER.get( activity, // Your activity or fragment. paymentMethod, checkoutConfiguration, componentCallback, ) //Attach the Component to your view. binding.instantView.attach(instantComponent, activity) // Your activity or fragment. ``` ### Add Parameters Payments Request ## Add additional parameters to your /payments request You do not need to add any parameters to the [/payments](https://docs.adyen.com/api-explorer/Checkout/latest/post/payments) request when you [make a payment](/online-payments/build-your-integration/advanced-flow/?platform=Android\&integration=Components#make-a-payment). ## Test and go live Before you can test Multibanco payments, you need to [submit a request for Multibanco](/payment-methods/add-payment-methods) in your [test Customer Area](https://ca-test.adyen.com/). In the test environment, you can simulate a Multibanco payment by promoting the pending payment to a sale. 1. Log in to your [test Customer Area](https://ca-test.adyen.com/). 2. Go to **Transactions** > **Offers**. 3. Select the **PSP reference** of the pending Multibanco payment. 4. Select **Promote offer to sale** button. Multibanco payments that have been paid (including test offers that you manually promoted to sale) are under **Transactions** > **Payments**. Test the reconciliation process by promoting test payments from offer to sale in your [test Customer Area](https://ca-test.adyen.com/). Before you can accept live Multibanco payments, you need to [submit a request for Multibanco](/payment-methods/add-payment-methods) in your [live Customer Area](https://ca-live.adyen.com/).