SwiftBindings.Stripe.Payments
25.17.0
dotnet add package SwiftBindings.Stripe.Payments --version 25.17.0
NuGet\Install-Package SwiftBindings.Stripe.Payments -Version 25.17.0
<PackageReference Include="SwiftBindings.Stripe.Payments" Version="25.17.0" />
<PackageVersion Include="SwiftBindings.Stripe.Payments" Version="25.17.0" />
<PackageReference Include="SwiftBindings.Stripe.Payments" />
paket add SwiftBindings.Stripe.Payments --version 25.17.0
#r "nuget: SwiftBindings.Stripe.Payments, 25.17.0"
#:package SwiftBindings.Stripe.Payments@25.17.0
#addin nuget:?package=SwiftBindings.Stripe.Payments&version=25.17.0
#tool nuget:?package=SwiftBindings.Stripe.Payments&version=25.17.0
SwiftBindings.Stripe.Payments
Native Swift interop bindings for StripePayments — the module of the Stripe iOS SDK that handles PaymentIntent, SetupIntent, PaymentMethod, and the underlying confirm/handle-action flows. Use this package when you need fine-grained control over payment confirmation; if you want a drop-in UI, use SwiftBindings.Stripe.PaymentSheet instead. 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.Payments
Requirements
- .NET 10.0+
- iOS 15.0+
- macOS host for development
Usage
Build a payment method
using StripePayments;
var card = new STPPaymentMethodCardParams();
var billing = new STPPaymentMethodBillingDetails();
var address = new STPPaymentMethodAddress();
var pmParams = new STPPaymentMethodParams();
Confirm a PaymentIntent
var confirm = new STPPaymentIntentConfirmParams("pi_test_secret_123");
// configure confirm.PaymentMethodParams etc., then call STPPaymentHandler.SharedHandler
SetupIntent flow
var setup = new STPSetupIntentConfirmParams("seti_test_secret_123");
Documentation
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.6)
- SwiftBindings.Runtime (>= 0.14.0 && < 0.15.0)
- SwiftBindings.Stripe.Core (>= 25.17.0)
NuGet packages (4)
Showing the top 4 NuGet packages that depend on SwiftBindings.Stripe.Payments:
| Package | Downloads |
|---|---|
|
SwiftBindings.Stripe
.NET bindings for the Stripe Swift library |
|
|
SwiftBindings.Stripe.PaymentSheet
.NET bindings for the StripePaymentSheet Swift library |
|
|
SwiftBindings.Stripe.PaymentsUI
.NET bindings for the StripePaymentsUI Swift library |
|
|
SwiftBindings.Stripe.Issuing
.NET bindings for the StripeIssuing Swift library |
GitHub repositories
This package is not used by any popular GitHub repositories.