Mobile SDK Overview
Embed the Coinflow card form natively in your iOS, Android, or Flutter app using a first-party SDK.
Embed the Coinflow card form natively in your iOS, Android, or Flutter app using a first-party SDK.
Coinflow publishes first-party SDKs for Swift, Android (Kotlin), Flutter, and React Native that embed the card tokenization form directly into native mobile apps. Every SDK renders the same PCI-compliant card form used on the web, surfaces a single tokenize() call, and returns a payment token your backend can charge.
Use a mobile SDK when you want the card entry experience to stay inside your app — no redirect out to a browser, no WebView wiring you have to maintain yourself.
Renders the card form directly inside your app. You control the surrounding UI and the moment tokenization happens.
Best for:
tokenize() call you invoke when the user taps your Pay button.TokenizeResponse containing the payment token (and optionally expMonth / expYear).The SDK only handles card capture and tokenization. The actual charge happens server-side via the standard Coinflow checkout API using the returned token.
SwiftUI SDK for iOS 15+. Distributed via Swift Package Manager.
coinflow-swiftEvery SDK takes a merchantId string. This is issued by Coinflow when you sign up and is visible in the merchant dashboard. The same value works for both sandbox and production.
your-merchant-id is an example placeholder. Contact the Coinflow integrations team or check the merchant dashboard for your actual merchant ID before going live.
Every SDK takes an env enum that selects which Coinflow backend the form talks to:
Each SDK exposes three form variants:
Each SDK accepts an optional MerchantTheme that styles the form to match your app — colors, fonts, input shape, and placeholder text. All fields are optional. See each platform’s integration guide for the full field list.