Soenneker.Stripe.Client
4.0.1489
Prefix Reserved
dotnet add package Soenneker.Stripe.Client --version 4.0.1489
NuGet\Install-Package Soenneker.Stripe.Client -Version 4.0.1489
<PackageReference Include="Soenneker.Stripe.Client" Version="4.0.1489" />
<PackageVersion Include="Soenneker.Stripe.Client" Version="4.0.1489" />
<PackageReference Include="Soenneker.Stripe.Client" />
paket add Soenneker.Stripe.Client --version 4.0.1489
#r "nuget: Soenneker.Stripe.Client, 4.0.1489"
#:package Soenneker.Stripe.Client@4.0.1489
#addin nuget:?package=Soenneker.Stripe.Client&version=4.0.1489
#tool nuget:?package=Soenneker.Stripe.Client&version=4.0.1489
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.883)
- Soenneker.Utils.HttpClientCache (>= 4.0.2070)
- Stripe.net (>= 52.4.2)
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.1489 | 0 | 9/10/2026 |
| 4.0.1488 | 46 | 9/9/2026 |
| 4.0.1487 | 89 | 9/9/2026 |
| 4.0.1486 | 108 | 9/9/2026 |
| 4.0.1485 | 112 | 9/8/2026 |
| 4.0.1484 | 174 | 9/8/2026 |
| 4.0.1483 | 165 | 9/8/2026 |
| 4.0.1482 | 137 | 9/8/2026 |
| 4.0.1481 | 92 | 9/7/2026 |
| 4.0.1478 | 488 | 9/5/2026 |
| 4.0.1477 | 184 | 9/5/2026 |
| 4.0.1476 | 252 | 9/4/2026 |
| 4.0.1475 | 215 | 9/4/2026 |
| 4.0.1474 | 168 | 9/4/2026 |
| 4.0.1473 | 229 | 9/4/2026 |
| 4.0.1472 | 190 | 9/4/2026 |
| 4.0.1469 | 278 | 9/3/2026 |
| 4.0.1468 | 320 | 9/2/2026 |
| 4.0.1467 | 291 | 9/1/2026 |
| 4.0.1466 | 212 | 8/31/2026 |
Update dependency Stripe.net to 52.4.2 (#2022)