Soenneker.Stripe.Client
11.0.1583
Prefix Reserved
dotnet add package Soenneker.Stripe.Client --version 11.0.1583
NuGet\Install-Package Soenneker.Stripe.Client -Version 11.0.1583
<PackageReference Include="Soenneker.Stripe.Client" Version="11.0.1583" />
<PackageVersion Include="Soenneker.Stripe.Client" Version="11.0.1583" />
<PackageReference Include="Soenneker.Stripe.Client" />
paket add Soenneker.Stripe.Client --version 11.0.1583
#r "nuget: Soenneker.Stripe.Client, 11.0.1583"
#:package Soenneker.Stripe.Client@11.0.1583
#addin nuget:?package=Soenneker.Stripe.Client&version=11.0.1583
#tool nuget:?package=Soenneker.Stripe.Client&version=11.0.1583
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 | net11.0 is compatible. |
-
net11.0
- Soenneker.Extensions.Configuration (>= 11.0.917)
- Soenneker.HttpClients.LoggingHandler (>= 11.0.284)
- Soenneker.Stripe.OpenApiClient (>= 11.0.152)
- Soenneker.Utils.HttpClientCache (>= 11.0.2155)
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 |
|---|---|---|
| 11.0.1583 | 0 | 11/15/2026 |
| 11.0.1582 | 0 | 11/14/2026 |
| 11.0.1581 | 257 | 11/11/2026 |
| 11.0.1580 | 141 | 11/11/2026 |
| 11.0.1579 | 84 | 11/11/2026 |
| 11.0.1578 | 151 | 11/11/2026 |
| 11.0.1577 | 140 | 11/11/2026 |
| 11.0.1576 | 186 | 11/11/2026 |
| 11.0.1574 | 92 | 11/11/2026 |
| 11.0.1572 | 120 | 11/11/2026 |
| 11.0.1569 | 296 | 11/10/2026 |
| 11.0.1568 | 676 | 11/3/2026 |
| 11.0.1567 | 265 | 11/3/2026 |
| 11.0.1566 | 205 | 11/3/2026 |
| 11.0.1565 | 184 | 11/3/2026 |
| 11.0.1564 | 196 | 11/3/2026 |
| 11.0.1562 | 196 | 11/2/2026 |
| 11.0.1561 | 234 | 11/2/2026 |
| 11.0.1560 | 223 | 11/2/2026 |
| 11.0.1559 | 296 | 10/31/2026 |
Update dependency Soenneker.Utils.HttpClientCache to 11.0.2155 (#2141)