Soenneker.Stripe.Client
4.0.1465
Prefix Reserved
See the version list below for details.
dotnet add package Soenneker.Stripe.Client --version 4.0.1465
NuGet\Install-Package Soenneker.Stripe.Client -Version 4.0.1465
<PackageReference Include="Soenneker.Stripe.Client" Version="4.0.1465" />
<PackageVersion Include="Soenneker.Stripe.Client" Version="4.0.1465" />
<PackageReference Include="Soenneker.Stripe.Client" />
paket add Soenneker.Stripe.Client --version 4.0.1465
#r "nuget: Soenneker.Stripe.Client, 4.0.1465"
#:package Soenneker.Stripe.Client@4.0.1465
#addin nuget:?package=Soenneker.Stripe.Client&version=4.0.1465
#tool nuget:?package=Soenneker.Stripe.Client&version=4.0.1465
Soenneker.Stripe.Client
Provides a lazily initialized StripeClient backed by a cached HttpClient, ready for Stripe.net services such as customers, subscriptions, invoices, payment intents, and payment methods.
Installation
dotnet add package Soenneker.Stripe.Client
Configuration
{
"Stripe": {
"SecretKey": "sk_test_..."
}
}
Usage
using Soenneker.Stripe.Client.Abstract;
using Soenneker.Stripe.Client.Registrars;
using Stripe;
services.AddStripeClientUtilAsSingleton();
StripeClient client = await stripeClientUtil.Get(cancellationToken);
var customers = new CustomerService(client);
StripeList<Customer> page = await customers.ListAsync(
new CustomerListOptions { Limit = 10 },
cancellationToken: cancellationToken);
Use the singleton registration for one application-wide Stripe account. Scoped registration creates an independently owned Stripe and HTTP client per scope; disposing the utility releases both.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- Soenneker.Extensions.Configuration (>= 4.0.871)
- Soenneker.Utils.HttpClientCache (>= 4.0.2050)
- Stripe.net (>= 52.4.0)
NuGet packages (7)
Showing the top 5 NuGet packages that depend on Soenneker.Stripe.Client:
| Package | Downloads |
|---|---|
|
Soenneker.Stripe.Subscriptions
Create, retrieve, update, search, and cancel Stripe subscriptions. |
|
|
Soenneker.Stripe.Customers
Creates, retrieves, updates, and deletes Stripe customers and manages their default payment methods. |
|
|
Soenneker.Stripe.PaymentMethods
Create, retrieve, update, attach, detach, and list Stripe payment methods. |
|
|
Soenneker.Stripe.PaymentIntents
Create, retrieve, update, confirm, cancel, capture, and list Stripe payment intents. |
|
|
Soenneker.Stripe.SetupIntents
Create and manage Stripe setup intents for future payment-method use. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 4.0.1469 | 0 | 9/3/2026 |
| 4.0.1468 | 159 | 9/2/2026 |
| 4.0.1467 | 196 | 9/1/2026 |
| 4.0.1466 | 161 | 8/31/2026 |
| 4.0.1465 | 154 | 8/31/2026 |
| 4.0.1464 | 83 | 8/31/2026 |
| 4.0.1463 | 250 | 8/31/2026 |
| 4.0.1462 | 179 | 8/31/2026 |
| 4.0.1461 | 81 | 8/31/2026 |
| 4.0.1460 | 89 | 8/31/2026 |
| 4.0.1459 | 140 | 8/31/2026 |
| 4.0.1458 | 218 | 8/30/2026 |
| 4.0.1457 | 197 | 8/30/2026 |
| 4.0.1456 | 224 | 8/30/2026 |
| 4.0.1455 | 267 | 8/30/2026 |
| 4.0.1454 | 79 | 8/30/2026 |
| 4.0.1453 | 191 | 8/29/2026 |
| 4.0.1452 | 288 | 8/29/2026 |
| 4.0.1451 | 620 | 8/27/2026 |
| 4.0.1450 | 273 | 8/26/2026 |
Update dependency Soenneker.Utils.HttpClientCache to 4.0.2050 (#1986)