This page explains how to add Napas card to your existing Web Components integration.
Requirements
Select the server-side flow that your integration uses:
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: This is the default with Components v5.0.0 or later.
- /payments: If you implemented an additional use case.
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:
 <div id="momo_atm-container"></div>Step 2: Create an instance of the Component
v6.0.0 or later
Create an instance of the Component, passing:
- Your instance of AdyenCheckout.
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:
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 > Transactions > Payments.
Before you can accept live Napas card payments, you need to submit a request for Napas card in your live Customer Area.