SwiftBindings.Stripe.Core
26.4.2
dotnet add package SwiftBindings.Stripe.Core --version 26.4.2
NuGet\Install-Package SwiftBindings.Stripe.Core -Version 26.4.2
<PackageReference Include="SwiftBindings.Stripe.Core" Version="26.4.2" />
<PackageVersion Include="SwiftBindings.Stripe.Core" Version="26.4.2" />
<PackageReference Include="SwiftBindings.Stripe.Core" />
paket add SwiftBindings.Stripe.Core --version 26.4.2
#r "nuget: SwiftBindings.Stripe.Core, 26.4.2"
#:package SwiftBindings.Stripe.Core@26.4.2
#addin nuget:?package=SwiftBindings.Stripe.Core&version=26.4.2
#tool nuget:?package=SwiftBindings.Stripe.Core&version=26.4.2
SwiftBindings.Stripe.Core
Native Swift interop bindings for StripeCore — the foundational module of the Stripe iOS SDK. It hosts the API client (STPAPIClient), networking primitives, the STPAppInfo partner-info struct, error types, and shared cross-module types that every other Stripe package depends on. 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 → — publishable-key setup,
STPAPIClient/StripeAPI, and how every other Stripe package builds on them.
Installation
dotnet add package SwiftBindings.Stripe.Core
Most apps don't take a direct dependency on StripeCore — they pull in SwiftBindings.Stripe.Payments or SwiftBindings.Stripe.PaymentSheet, which transitively depend on this package. Add it directly only if you need to interact with STPAPIClient / STPAppInfo standalone.
Requirements
- .NET 10.0+
- iOS 15.0+
- macOS host for development
Usage
using StripeCore;
// Configure the API client with your publishable key
var client = new STPAPIClient("pk_test_...");
// Identify your integration (optional, for partner attribution)
var appInfo = new STPAppInfo("MyApp", "partner_123", "1.0.0", "https://example.com");
Documentation
- Usage guide (wiki) — full C# walkthrough of the binding surface
- Stripe iOS SDK overview
StripeCoresource
How It Works
These bindings are auto-generated by Swift Dotnet Bindings using .NET 10's native Swift interop via the SwiftBindings SDK.
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)
NuGet packages (12)
Showing the top 5 NuGet packages that depend on SwiftBindings.Stripe.Core:
| Package | Downloads |
|---|---|
|
SwiftBindings.Stripe.PaymentSheet
.NET bindings for the StripePaymentSheet Swift library |
|
|
SwiftBindings.Stripe.Identity
.NET bindings for the StripeIdentity Swift library |
|
|
SwiftBindings.Stripe.CardScan
.NET bindings for the StripeCardScan Swift library |
|
|
SwiftBindings.Stripe.PaymentsUI
.NET bindings for the StripePaymentsUI Swift library |
|
|
SwiftBindings.Stripe
.NET bindings for the Stripe Swift library |
GitHub repositories
This package is not used by any popular GitHub repositories.