The Littlepay hosted card tokenisation module enables you to securely exchange card details for a token via our JavaScript SDK. The token represents a funding source, which you can use with Littlepay’s suite of APIs to look up card-related activity such as charges and trips.
This module powers our other products, such as the Traveller Portal as well as the eCommerce solution. We have now made version 2 of it available.
Version 2, called Card Capture, is now the primary and recommended integration approach going forward.
Changes from v1 to v2
| Feature | v1 | v2 |
|---|---|---|
| CVV verification | ✓ | ✓ |
| Address Verification Service (AVS) | ✓ | ✓ |
| 3D Secure (3DS) | — | ✓ |
| Compact UI mode | — | ✓ |
| Advanced theming | — | ✓ |
| Expanding features and updates | — | ✓ |
| Expanding language support | — | ✓ |
| Feature request support | — | ✓ |
- Ongoing support and improvements: v2 receives new features and updates. v1 remains available for existing users, but it no longer has new features planned.
- 3D Secure (3DS) support: where configured for your account, the SDK handles the authentication flow automatically, including any challenge or redirect required by the cardholder’s bank.
- More flexible UI options: you can show the card capture form as a dialog or embed it inline as a drop-in UI.
- More control over branding and localisation: v2 supports enhanced theming and an expanded set of languages.
If you are integrating for the first time
Use v2 as your starting point following Hosted card tokenisation guide for v2
If you are using v1
We recommend migrating to v2 so that you can use ongoing support and v2-only capabilities such as 3D Secure (3DS), enhanced theming, and expanded language support. For guidance, see Migrate from v1.
Impacts and timeline
No breaking changes are introduced for existing v1 implementations, and v1 remains available for current users. However, v2 is the recommended path for new integrations and for teams that need the latest authentication methods and ongoing improvements.
For help with your migration, or for help enabling configuration options such as 3D Secure, Address Verification Service (AVS), branding, language, or drop-in UI, contact Littlepay support.