Stripe on iOS

    Collect card information in native apps and mobile browsers, without having to deal with sensitive data passing through your servers.

    The Stripe iOS SDK makes it easy to build an excellent payment experience in your iOS app. It provides powerful and customizable UI elements for collecting your users' payment details.

    We also expose the low-level APIs that power those elements to make it easy to build fully custom forms. This guide will take you all the way from integrating our SDK to accepting payments from your users via both cards and Apple Pay.

    The screenshots above come from Rocket Rides, an example iOS app built using the iOS SDK and Stripe Connect.

    To support payments on the iOS Safari browser, get started with Stripe Checkout instead.

    The Stripe SDK for iOS apps

    The iOS library lets you easily collect and process your customers' payment information. It also seamlessly integrates with Apple Pay, Apple's integrated payment framework. The library is compatible with iOS 9.0 and up.

    Using Stripe and Apple Pay vs. in-app purchases

    Apple Pay doesn't replace Apple's In-App Purchase API. You can use any of Stripe's supported payment methods and Apple Pay in your iOS app to sell physical goods (e.g., groceries and clothing) or for services your business provides (e.g., club memberships and hotel reservations). These payments are processed through Stripe and you only need to pay Stripe's processing fee.

    Apple's developer terms require their In-App Purchase API be used for digital "content, functionality, or services," such as premium content for your app or subscriptions for digital content. Payments made using the In-App Purchase API are processed by Apple and subject to their transaction fees.

    Was this page helpful?

    Thank you for helping improve Stripe's documentation. If you need help or have any questions, please consider contacting support.

    On this page