Skip to main content

Swift (iOS)

Add ZeroSettleKit via Swift Package Manager in Xcode: Xcode UI: File > Add Package Dependencies, then enter:
https://github.com/zerosettle/ZeroSettleKit
Or add it to your Package.swift:
dependencies: [
    .package(url: "https://github.com/zerosettle/ZeroSettleKit", from: "0.13.0")
]
Then add ZeroSettleKit as a dependency of your target.
Requires iOS 17.0+, Swift 5.9+, and Xcode 15.0+. No third-party dependencies.

Verify Installation

import ZeroSettleKit

// If this compiles, you're good
print(ZeroSettle.shared)
Make sure “Embed & Sign” is selected for ZeroSettleKit in your target’s Frameworks, Libraries, and Embedded Content settings.

Kotlin (Android)

Add the ZeroSettle SDK from Maven Central:
// build.gradle.kts (app module)
dependencies {
    implementation("io.zerosettle:zerosettle-android:0.10.0")
}
Or using the Gradle version catalog:
# gradle/libs.versions.toml
[versions]
zerosettle = "0.10.0"

[libraries]
zerosettle = { module = "io.zerosettle:zerosettle-android", version.ref = "zerosettle" }
// build.gradle.kts (app module)
dependencies {
    implementation(libs.zerosettle)
}
Then sync Gradle.
Requires Android API 26+ (Android 8.0) and Kotlin 1.9+. The SDK uses Kotlin coroutines and kotlinx.serialization internally.

Verify Installation

import com.zerosettle.sdk.ZeroSettle

// If this compiles, you're good
println(ZeroSettle.isConfigured.value)

Resources


Flutter

Add the ZeroSettle package from pub.dev:
flutter pub add zerosettle
Or add it to your pubspec.yaml:
dependencies:
  zerosettle: ^0.8.0
Then run flutter pub get.
Requires Flutter 3.3.0+, iOS 17.0+, and/or Android API 26+. The Flutter SDK wraps the native ZeroSettleKit (iOS) and zerosettle-android (Android) SDKs — it uses CocoaPods and Maven Central to pull in the native frameworks automatically.

Verify Installation

import 'package:zerosettle/zerosettle.dart';

// If this compiles, you're good
final zs = ZeroSettle.instance;

Resources


React Native

React Native support is coming soon. Join the waitlist at zerosettle.io to be notified.

Stripe Setup

Before integrating the SDK, connect your Stripe account on the dashboard:
ModeDescriptionSetup
Managed (default)ZeroSettle creates Stripe products for you via ExpressOne-click onboarding on the dashboard
BYOS (Bring Your Own Stripe)Use your own Stripe account and existing productsConnect via OAuth, then map products in Stripe Catalog
For a complete walkthrough of Stripe setup, product creation, and API keys, see Account Setup. Both modes use the same SDK integration — no code differences. The mode only affects how payments are processed on the backend.

Next Steps