Soenneker.Paddle.HttpClients 11.0.182

Prefix Reserved
dotnet add package Soenneker.Paddle.HttpClients --version 11.0.182
                    
NuGet\Install-Package Soenneker.Paddle.HttpClients -Version 11.0.182
                    
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.Paddle.HttpClients" Version="11.0.182" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.Paddle.HttpClients" Version="11.0.182" />
                    
Directory.Packages.props
<PackageReference Include="Soenneker.Paddle.HttpClients" />
                    
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.Paddle.HttpClients --version 11.0.182
                    
#r "nuget: Soenneker.Paddle.HttpClients, 11.0.182"
                    
#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.Paddle.HttpClients@11.0.182
                    
#: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.Paddle.HttpClients&version=11.0.182
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.Paddle.HttpClients&version=11.0.182
                    
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.Paddle.HttpClients

Provides a cached HttpClient configured for Paddle's API, including bearer authentication and API-version pinning.

Installation

dotnet add package Soenneker.Paddle.HttpClients

Configuration

{
  "Paddle": {
    "ApiKey": "your-server-side-api-key"
  }
}

Paddle:ClientBaseUrl can point to https://sandbox-api.paddle.com for sandbox keys. Paddle:ApiVersion, Paddle:AuthHeaderName, and Paddle:AuthHeaderValueTemplate can override their defaults.

Usage

using Soenneker.Paddle.HttpClients.Abstract;
using Soenneker.Paddle.HttpClients.Registrars;

services.AddPaddleOpenApiHttpClientAsSingleton();

IPaddleOpenApiHttpClient provider = serviceProvider
    .GetRequiredService<IPaddleOpenApiHttpClient>();

HttpClient client = await provider.Get(cancellationToken);
HttpResponseMessage response = await client.GetAsync("event-types", cancellationToken);
response.EnsureSuccessStatusCode();

The provider owns its cached client. Disposing the provider removes and disposes that client. Scoped registration gives each provider instance its own cached client.

Product Compatible and additional computed target framework versions.
.NET net11.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Soenneker.Paddle.HttpClients:

Package Downloads
Soenneker.Paddle.OpenApiClientUtil

Provides a configured Paddle billing API client and reuses it for the lifetime of the registered service.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
11.0.182 109 11/19/2026
11.0.181 80 11/19/2026
11.0.180 88 11/19/2026
11.0.179 92 11/18/2026
11.0.176 86 11/18/2026
11.0.175 123 11/15/2026
11.0.174 107 11/15/2026
11.0.173 125 11/11/2026
11.0.172 106 11/11/2026
11.0.171 101 11/11/2026
11.0.170 93 11/11/2026
11.0.169 113 11/11/2026
11.0.168 89 11/11/2026
11.0.167 175 11/3/2026
11.0.166 109 11/3/2026
11.0.165 108 11/3/2026
11.0.164 99 11/3/2026
11.0.163 109 11/3/2026
11.0.162 214 10/27/2026
11.0.161 121 10/27/2026
Loading failed

Updated Multiple NuGet packages