Soenneker.Stripe.Client 4.0.1503

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.1503
                    
NuGet\Install-Package Soenneker.Stripe.Client -Version 4.0.1503
                    
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.1503" />
                    
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.1503" />
                    
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.1503
                    
#r "nuget: Soenneker.Stripe.Client, 4.0.1503"
                    
#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.1503
                    
#: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.1503
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.Stripe.Client&version=4.0.1503
                    
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 (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.1544 273 10/15/2026
4.0.1543 152 10/14/2026
4.0.1541 161 10/14/2026
4.0.1539 178 10/14/2026
4.0.1538 66 10/14/2026
4.0.1531 201 10/13/2026
4.0.1530 87 10/13/2026
4.0.1526 362 10/12/2026
4.0.1525 251 10/12/2026
4.0.1524 200 10/11/2026
4.0.1523 156 10/11/2026
4.0.1522 103 10/11/2026
4.0.1521 156 10/11/2026
4.0.1520 117 10/11/2026
4.0.1519 515 10/9/2026
4.0.1518 514 10/1/2026
4.0.1517 228 10/1/2026
4.0.1516 382 9/29/2026
4.0.1515 265 9/29/2026
4.0.1503 160 9/16/2026
Loading failed

Update dependency Soenneker.Utils.HttpClientCache to 4.0.2082 (#2017)