Soenneker.Stripe.Client 4.0.1516

Prefix Reserved
There is a newer version of this package available.
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
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Soenneker.Stripe.Client" Version="4.0.1516" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.Stripe.Client" Version="4.0.1516" />
                    
Directory.Packages.props
<PackageReference Include="Soenneker.Stripe.Client" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Soenneker.Stripe.Client --version 4.0.1516
                    
#r "nuget: Soenneker.Stripe.Client, 4.0.1516"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Soenneker.Stripe.Client@4.0.1516
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Soenneker.Stripe.Client&version=4.0.1516
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.Stripe.Client&version=4.0.1516
                    
Install as a Cake Tool

alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image

alternate text is missing from this package README image 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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
Loading failed

Update dependency Soenneker.Utils.HttpClientCache to 4.0.2098 (#2062)