Skip to main content
This page provides a reference for the core methods available in the Ionic Lite SDK.

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.
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:
Sets customer email and the secure token required for card management operations.Here’s an example:
Processes a payment transaction securely using the provided checkoutData collected from your custom UI.
Retrieves a list of saved cards for the configured customer.
Securely tokenizes and saves new card details for the customer.
Deletes a previously saved card using its unique ID.
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: