SwiftBindings.Stripe
25.17.0
dotnet add package SwiftBindings.Stripe --version 25.17.0
NuGet\Install-Package SwiftBindings.Stripe -Version 25.17.0
<PackageReference Include="SwiftBindings.Stripe" Version="25.17.0" />
<PackageVersion Include="SwiftBindings.Stripe" Version="25.17.0" />
<PackageReference Include="SwiftBindings.Stripe" />
paket add SwiftBindings.Stripe --version 25.17.0
#r "nuget: SwiftBindings.Stripe, 25.17.0"
#:package SwiftBindings.Stripe@25.17.0
#addin nuget:?package=SwiftBindings.Stripe&version=25.17.0
#tool nuget:?package=SwiftBindings.Stripe&version=25.17.0
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#.
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
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.6)
- SwiftBindings.Runtime (>= 0.14.0 && < 0.15.0)
- SwiftBindings.Stripe.ApplePay (>= 25.17.0)
- SwiftBindings.Stripe.Payments (>= 25.17.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.