CashSDK

Native SDKs for every platform

Typed, lightweight SDKs that wrap StoreKit and Play Billing. Configure once, fetch offerings, and let CashSDK handle validation and entitlements.

1import CashSDK
2 
3// Configure once, on launch
4CashSDK.configure(apiKey: "pk_live_...")
5 
6// Fetch the current paywall & entitlements
7let offering = try await CashSDK.offerings()
8let result = try await CashSDK.purchase(offering.monthly)
9 
10if result.entitlements["pro"]?.isActive == true {
11 unlockPro()
12}

The same purchase logic, everywhere

Write your entitlement logic once and reuse it across native, cross-platform, and the web.

iOS / Swift

StoreKit 2 native, async/await API, SwiftUI helpers.

Android / Kotlin

Play Billing v7 wrapper with coroutine support.

React Native

One JS API bridging both native billing stacks.

Flutter

A single Dart package for iOS and Android.

Web

Stripe and more, with the same entitlement model.

REST & webhooks

Everything the SDKs do, available over HTTP.

From install to first purchase in an afternoon

Add one dependency, configure with your API key, fetch offerings, and call purchase. CashSDK handles the rest.

  • Idiomatic, typed APIs
  • Sandbox mode with real seeded data
  • Thorough docs and examples
1import CashSDK
2 
3// Configure once, on launch
4CashSDK.configure(apiKey: "pk_live_...")
5 
6// Fetch the current paywall & entitlements
7let offering = try await CashSDK.offerings()
8let result = try await CashSDK.purchase(offering.monthly)
9 
10if result.entitlements["pro"]?.isActive == true {
11 unlockPro()
12}

Take back control of your revenue

Start free in the cloud, or self-host the whole platform. Your purchase data, your rules.