Skip to main content

Set Up a Card Component with the Lowest-Cost Provider

You can add a card component with least-cost routing. You can enable this by calling addCardLeastCost():

window.addEventListener('load', function () {
neodeos.init('sandbox', '<public key>')
.addCardLeastCost('iframeContainer', '<amount>', '<3-letters currency code>', 'options');
});

The options object supports the following optional properties:

  • threeDSEmail: email address used during the 3D Secure authentication process for identity verification
  • vault: boolean flag that determines whether the card details should be forcibly stored in the NeoDeos vault ( true to store, false by default)