Core Methods
The Tonder Ionic Lite SDK (@tonder.io/ionic-lite-sdk) exposes the LiteCheckout class, which implements all the methods necessary for payment processing, card management, and configuration.Method Details
Each method in the Tonder Ionic Lite SDK serves a specific purpose in the payment integration workflow. The Lite SDK includes all core payment methods plus additional methods for card management. Below you’ll find detailed information about each method, including their parameters, usage examples, and practical implementation guidance.LiteCheckout Constructor
LiteCheckout Constructor
Creates a new instance of the LiteCheckout class with the necessary configuration for secure payment processing. This constructor establishes the connection with Tonder’s services and configures the payment environment.
LiteCheckout Parameter Table
Here’s an example of how to initialize the LiteCheckout class:
configureCheckout(config)
configureCheckout(config)
Sets customer email and the secure token required for card management operations.
Here’s an example:
payment(checkoutData)
payment(checkoutData)
Processes a payment transaction securely using the provided checkoutData collected from your custom UI.
getCustomerCards()
getCustomerCards()
Retrieves a list of saved cards for the configured customer.
saveCustomerCard(cardData)
saveCustomerCard(cardData)
Securely tokenizes and saves new card details for the customer.
removeCustomerCard(cardId)
removeCustomerCard(cardId)
Deletes a previously saved card using its unique ID.
verify3dsTransaction()
verify3dsTransaction()
Verifies the status of a 3D Secure (3DS) transaction. This method should be called to handle the redirect return from a 3DS challenge.
Next Steps
Now that you’re familiar with the available methods in the Ionic Lite SDK, explore these guides to enhance your implementation:- Learn how to make a payment using the Ionic Lite SDK.
- Learn how to enroll payment methods for returning customers.
- Customize the SDK appearance and behavior to match your app’s design.

