Skip to main content

Add a Card Input Field

You can enable this by calling addCard():

window.addEventListener('load', function () {
neodeos.init('sandbox', '<public key>')
.addCard('iframeContainer', '<Card Provider Id>', 'options');
});

The options object supports the following optional properties:

  • threeDSEmail: Email address used during the 3D Secure authentication process
  • amount: Total amount to be authorized or charged
  • currency: ISO 4217 currency code corresponding to the transaction
  • vault: Indicates whether to forcibly persist the card in the vault (true to store, false by default)