This page explains how to add Napas card to your existing iOS Components integration.
Requirements
Requirement | Description |
---|---|
Integration type | Make sure that you have an existing iOS Components integration. |
Setup steps | Before you begin, add Napas card in your test Customer Area. |
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
v5.0.0 or later
If your integration uses iOS Components v5.0.0 or later, configure and create an instance of the Napas card Component:
v4.x.x
If your integration uses an earlier version of iOS Components:
There are no configuration steps specific to Napas card required for Components.
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.