For the complete documentation index, see llms.txt. This page is also available as Markdown.

Lite SDK

Integrate Hyperswitch Lite SDK to your iOS app

Key Features of Lite SDK

Lightweight Integration

  • Smaller artifact size: <300 KB

  • Faster initialization: Streamlined setup process

  • Web-based UI: Uses web components for payment forms

  • Reduced dependencies: Minimal impact on app size

  • Shared Configuration: The Lite SDK uses the same PaymentSession options as the main SDK, including:

    • Appearance customization

    • Billing details

    • Shipping information

    • Payment method preferences

    • Branding options

Requirements

  • iOS 15.1+

  • CocoaPods

1. Setup the server

Follow the Server Setup section.

2. Build Checkout in Your App

2.1 Add the Dependency

In your Podfile:

Lite SDK only

Lite SDK with Scan Card functionality

Note: The Lite SDK and the regular SDK share a codebase. Their versions must match at all times. Replace Latest_version with the actual version number.

2.2 Setup the Lite SDK and Fetch a Payment

Initialize PaymentSession:

Complete Payment

Final Step

You have successfully integrated the Juspay Hyperswitch Lite SDK into your iOS app. The Lite SDK delivers full payment processing capabilities with a smaller footprint, perfect for apps where bundle size matters.

Last updated

Was this helpful?