Skip to main content
net10.0-ios26.0

.NET bindings for the Stripe Swift library

Published
Aug 5, 2026
2mo ago
Total Downloads
1.3K
1,321

Install

dotnet add package SwiftBindings.Stripe --version 26.4.2
ProductVersions
.NET
net10.0-ios26.0

README

SwiftBindings.Stripe

Native Swift interop bindings for Stripe iOS β€” the umbrella module that re-exports the most common Stripe payment APIs (STPAPIClient, payment-method params, payment / setup intent flows). For most apps, depend on the more specific package(s) below; pull this umbrella in only if you want everything wired up the way the Swift SDK does it. These are not Objective-C proxy wrappers β€” they use .NET 10's native Swift interop for direct, high-performance calls into Swift APIs from C#.

πŸ“– Full usage guide β†’ β€” the package map for all 14 Stripe packages, PaymentSheet checkout, API-client setup, and which flows the bindings can't express.

Installation

dotnet add package SwiftBindings.Stripe

Requirements

  • .NET 10.0+
  • iOS 15.0+
  • macOS host for development

Usage

using StripeCore;
using StripePayments;

// Configure the API client
StripeAPI.DefaultPublishableKey = "pk_test_…";

// Build a PaymentMethod parameter set
var cardParams = new STPPaymentMethodCardParams();
var billing = new STPPaymentMethodBillingDetails();
billing.Email = "[email protected]";

var pmParams = new STPPaymentMethodParams();

For a typical app you'll usually depend on a more specific Stripe package below (for example SwiftBindings.Stripe.PaymentSheet for a drop-in checkout) rather than the umbrella.

Companion packages

The Stripe iOS SDK is split into ~11 modules. Pick the ones your app actually uses:

Package Role
SwiftBindings.Stripe.Core API client, app info, networking primitives
SwiftBindings.Stripe.Payments PaymentIntent, SetupIntent, PaymentMethod parameters
SwiftBindings.Stripe.PaymentsUI Card-entry UI controls (STPCardFormView, STPPaymentCardTextField)
SwiftBindings.Stripe.PaymentSheet Drop-in PaymentSheet and CustomerSheet
SwiftBindings.Stripe.ApplePay Apple Pay button + flow
SwiftBindings.Stripe.Connect Embedded Connect components
SwiftBindings.Stripe.Identity Stripe Identity verification sheet
SwiftBindings.Stripe.Issuing Push provisioning for issued cards
SwiftBindings.Stripe.CardScan Card-scan camera sheet
SwiftBindings.Stripe.FinancialConnections Bank account linking sheet

Documentation

How It Works

These bindings are auto-generated by Swift Dotnet Bindings using .NET 10's native Swift interop via the SwiftBindings SDK. The Stripe xcframeworks are pulled directly from Stripe's release artifacts on GitHub β€” no SPM checkout, no per-product compile.

License

The bindings are MIT licensed. The Stripe iOS SDK is MIT licensed β€” see Stripe's license.

Changes from Previous Version

No structural changes between v26.4.1 and v26.4.2.

Adoption Assessment

Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.

Compatibility metadata lists 1 target framework; confirm the exact target used by your application.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.