--- title: "Napas card Component" description: "Add Napas card to an existing Components integration." url: "https://docs.adyen.com/payment-methods/napas-card/web-component" source_url: "https://docs.adyen.com/payment-methods/napas-card/web-component.md" canonical: "https://docs.adyen.com/payment-methods/napas-card/web-component" last_modified: "2019-09-06T17:19:00+02:00" language: "en" --- # Napas card Component Add Napas card to an existing Components integration. [View source](/payment-methods/napas-card/web-component.md) This page explains how to add Napas card to your existing Web Components integration. ## Requirements Select the [server-side flow](/online-payments/build-your-integration) that your integration uses: ### Tab: Sessions flow | Requirement | Description | | -------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | **Integration type** | Make sure that you have built a Sessions flow [Web Components integration](/online-payments/build-your-integration/sessions-flow?platform=Web\&integration=Components). | | **Setup steps** | Before you begin, [add Napas card in your Customer Area](/payment-methods/add-payment-methods). | ### Tab: Advanced flow | Requirement | Description | | -------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | **Integration type** | Make sure that you have built an Advanced flow [Web Components integration](/online-payments/build-your-integration/advanced-flow?platform=Web\&integration=Components). | | **Setup steps** | Before you begin, [add Napas card in your Customer Area](/payment-methods/add-payment-methods). | ## API reference You do not need to send additional fields for Napas card. To see optional fields that you can send for all payment methods, choose the endpoint you integrated: * [/sessions](https://docs.adyen.com/api-explorer/Checkout/latest/post/sessions): This is the default with [Components v5.0.0](/online-payments/build-your-integration/sessions-flow?platform=Web\&integration=Components) or later. * [/payments](https://docs.adyen.com/api-explorer/Checkout/latest/post/payments): If you implemented an [additional use case](/online-payments/build-your-integration). ## Component configuration ### Step 1: Create a DOM element Create a DOM element on your checkout page, placing it where you want the payment method form to be rendered: ```html
``` ### Step 2: Create an instance of the Component #### v6.0.0 or later Create an instance of the Component, passing: * Your instance of `AdyenCheckout`. ```js const napasCard = new Redirect(checkout, { type: 'momo_atm' }).mount('#momo_atm-container'); ``` ** #### v5.x.x or earlier Use the `create` method of your `AdyenCheckout` instance, in this case `checkout`, to create the Component: ```js const napasCardComponent = checkout.create('momo_atm').mount('#momo_atm-container'); ``` ## Test and go live To test Napas card payments, select any bank from the list and use the following test cards and credentials: | Scenario | Card name | Card number | Expiry | One-time password | | --------------------- | ------------ | ---------------- | ------ | ----------------- | | Successful | Nguyen Van A | 9704000000000018 | 03/07 | otp | | Card blocked | Nguyen Van A | 9704000000000026 | 03/07 | otp | | Insufficient funds | Nguyen Van A | 9704000000000034 | 03/07 | otp | | Amount exceeded limit | Nguyen Van A | 9704000000000042 | 03/07 | otp | Check the status of Napas card test payments in your [Customer Area](https://ca-test.adyen.com/) > **Transactions** > **Payments**. Before you can accept live Napas card payments, you need to submit a request for Napas card in your [live Customer Area](https://ca-live.adyen.com/). ## See also * [Web Components integration guide](/online-payments/components-web) * [Webhooks](/development-resources/webhooks) * [API Explorer](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/overview)