Skip to main content
Use the Net Banking Component to let a customer pay from their bank account through their bank’s internet banking page.
One component instance represents one bank. To offer several banks, create one component per bank and pass the selected one as payMethod to pay().
Component Options Returned Value netBanking Net Banking Object
Validation The component resolves the bank code from value.bankCode, falling back to a case- and whitespace-insensitive lookup of value.bankName. If the resolved code is not in the supported bank list, the component reports:
Validation runs as soon as the component is mounted, so a wrong or missing bank code is visible in netBanking.data() before the customer presses pay. If pay() is called with an invalid bank, it rejects and the root error event fires with this error object. Code Snippet for netBanking component
Net Banking does not use cardType. Pass only the billing session / subscription / mandate id, the sessionToken, and the selected net banking component as payMethod.

Building a bank list

A common layout is a few popular banks as clickable tiles plus a More banks dropdown for the rest. Create one component per bank, mount it into a 1 px hidden node inside the tile, and make your own tile the visible, clickable surface.
For the More banks dropdown, create and mount the component lazily on change — mount it into a node you append to the container, and keep only one lazily-mounted component alive at a time:
When the customer switches away from the net banking tab, unmount every bank component you mounted and clear your selection, so the next tab starts from a clean state:

Supported Banks

Customize Your SDK -> Supported Banks

View the full list of bank codes supported for Net Banking
Next Steps
  • Customize component styles
  • Add multiple payment methods using tabs
  • Handle payment confirmation on backend
  • Set up webhooks for payment status
Need Help? Explore the following sections for more details: If you need assistance, our support team is here to help 🚀