Soenneker.Stripe.Client
4.0.1516
Prefix Reserved
See the version list below for details.
dotnet add package Soenneker.Stripe.Client --version 4.0.1516
NuGet\Install-Package Soenneker.Stripe.Client -Version 4.0.1516
<PackageReference Include="Soenneker.Stripe.Client" Version="4.0.1516" />
<PackageVersion Include="Soenneker.Stripe.Client" Version="4.0.1516" />
<PackageReference Include="Soenneker.Stripe.Client" />
paket add Soenneker.Stripe.Client --version 4.0.1516
#r "nuget: Soenneker.Stripe.Client, 4.0.1516"
#:package Soenneker.Stripe.Client@4.0.1516
#addin nuget:?package=Soenneker.Stripe.Client&version=4.0.1516
#tool nuget:?package=Soenneker.Stripe.Client&version=4.0.1516
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.897)
- Soenneker.Utils.HttpClientCache (>= 4.0.2098)
- Stripe.net (>= 52.4.2)
NuGet packages (8)
Showing the top 5 NuGet packages that depend on Soenneker.Stripe.Client:
| Package | Downloads |
|---|---|
|
Soenneker.Stripe.Suite
Bundle and register Soenneker's Stripe customer, payment, invoice-item, and subscription libraries. |
|
|
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. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 11.0.1556 | 0 | 10/27/2026 |
| 11.0.1555 | 0 | 10/27/2026 |
| 11.0.1554 | 0 | 10/27/2026 |
| 11.0.1553 | 0 | 10/27/2026 |
| 11.0.1552 | 40 | 10/27/2026 |
| 11.0.1551 | 108 | 10/26/2026 |
| 11.0.1550 | 49 | 10/26/2026 |
| 11.0.1549 | 167 | 10/26/2026 |
| 11.0.1548 | 206 | 10/26/2026 |
| 4.0.1547 | 328 | 10/24/2026 |
| 4.0.1546 | 174 | 10/24/2026 |
| 4.0.1545 | 188 | 10/24/2026 |
| 4.0.1544 | 481 | 10/15/2026 |
| 4.0.1543 | 200 | 10/14/2026 |
| 4.0.1541 | 208 | 10/14/2026 |
| 4.0.1539 | 236 | 10/14/2026 |
| 4.0.1538 | 85 | 10/14/2026 |
| 4.0.1531 | 245 | 10/13/2026 |
| 4.0.1530 | 103 | 10/13/2026 |
| 4.0.1516 | 386 | 9/29/2026 |
Update dependency Soenneker.Utils.HttpClientCache to 4.0.2098 (#2062)