SwiftBindings.Stripe
26.4.2
dotnet add package SwiftBindings.Stripe --version 26.4.2
NuGet\Install-Package SwiftBindings.Stripe -Version 26.4.2
<PackageReference Include="SwiftBindings.Stripe" Version="26.4.2" />
<PackageVersion Include="SwiftBindings.Stripe" Version="26.4.2" />
<PackageReference Include="SwiftBindings.Stripe" />
paket add SwiftBindings.Stripe --version 26.4.2
#r "nuget: SwiftBindings.Stripe, 26.4.2"
#:package SwiftBindings.Stripe@26.4.2
#addin nuget:?package=SwiftBindings.Stripe&version=26.4.2
#tool nuget:?package=SwiftBindings.Stripe&version=26.4.2
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 = "jane@example.com";
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
- Usage guide (wiki) — full C# walkthrough of the binding surface
- Stripe iOS SDK overview
- Accept a payment on iOS
- Stripe iOS SDK on GitHub
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.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0-ios26.0 is compatible. |
-
net10.0-ios26.0
- SwiftBindings.Apple (>= 26.2.9)
- SwiftBindings.Runtime (>= 0.19.0 && < 0.20.0)
- SwiftBindings.Stripe.ApplePay (>= 26.4.2)
- SwiftBindings.Stripe.Core (>= 26.4.2)
- SwiftBindings.Stripe.Issuing (>= 26.4.2)
- SwiftBindings.Stripe.Payments (>= 26.4.2)
- SwiftBindings.Stripe.PaymentsUI (>= 26.4.2)
- SwiftBindings.Stripe.ThreeDS2 (>= 26.4.2)
- SwiftBindings.Stripe.UICore (>= 26.4.2)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.