Skip to main content
net10.0-ios26.0

.NET bindings for the StripeCore Swift library

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

Install

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

README

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

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.

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.