Soenneker.Stripe.Client
11.0.1596
Prefix Reserved
dotnet add package Soenneker.Stripe.Client --version 11.0.1596
NuGet\Install-Package Soenneker.Stripe.Client -Version 11.0.1596
<PackageReference Include="Soenneker.Stripe.Client" Version="11.0.1596" />
<PackageVersion Include="Soenneker.Stripe.Client" Version="11.0.1596" />
<PackageReference Include="Soenneker.Stripe.Client" />
paket add Soenneker.Stripe.Client --version 11.0.1596
#r "nuget: Soenneker.Stripe.Client, 11.0.1596"
#:package Soenneker.Stripe.Client@11.0.1596
#addin nuget:?package=Soenneker.Stripe.Client&version=11.0.1596
#tool nuget:?package=Soenneker.Stripe.Client&version=11.0.1596
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.919)
- Soenneker.HttpClients.LoggingHandler (>= 11.0.291)
- Soenneker.Stripe.OpenApiClient (>= 11.0.156)
- Soenneker.Utils.HttpClientCache (>= 11.0.2164)
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.1596 | 115 | 11/21/2026 |
| 11.0.1595 | 272 | 11/19/2026 |
| 11.0.1594 | 138 | 11/19/2026 |
| 11.0.1593 | 169 | 11/18/2026 |
| 11.0.1592 | 95 | 11/18/2026 |
| 11.0.1591 | 194 | 11/18/2026 |
| 11.0.1590 | 173 | 11/18/2026 |
| 11.0.1589 | 121 | 11/18/2026 |
| 11.0.1588 | 97 | 11/18/2026 |
| 11.0.1587 | 208 | 11/18/2026 |
| 11.0.1586 | 197 | 11/17/2026 |
| 11.0.1585 | 262 | 11/15/2026 |
| 11.0.1584 | 231 | 11/15/2026 |
| 11.0.1583 | 203 | 11/15/2026 |
| 11.0.1582 | 281 | 11/14/2026 |
| 11.0.1581 | 406 | 11/11/2026 |
| 11.0.1580 | 184 | 11/11/2026 |
| 11.0.1579 | 95 | 11/11/2026 |
| 11.0.1578 | 193 | 11/11/2026 |
| 11.0.1577 | 181 | 11/11/2026 |
Update dependency Soenneker.Stripe.OpenApiClient to 11.0.156 (#2148)