Soenneker.Stripe.OpenApiClient
4.0.124
Prefix Reserved
See the version list below for details.
dotnet add package Soenneker.Stripe.OpenApiClient --version 4.0.124
NuGet\Install-Package Soenneker.Stripe.OpenApiClient -Version 4.0.124
<PackageReference Include="Soenneker.Stripe.OpenApiClient" Version="4.0.124" />
<PackageVersion Include="Soenneker.Stripe.OpenApiClient" Version="4.0.124" />
<PackageReference Include="Soenneker.Stripe.OpenApiClient" />
paket add Soenneker.Stripe.OpenApiClient --version 4.0.124
#r "nuget: Soenneker.Stripe.OpenApiClient, 4.0.124"
#:package Soenneker.Stripe.OpenApiClient@4.0.124
#addin nuget:?package=Soenneker.Stripe.OpenApiClient&version=4.0.124
#tool nuget:?package=Soenneker.Stripe.OpenApiClient&version=4.0.124
Soenneker.Stripe.OpenApiClient
A Kiota-generated .NET client for calling Stripe endpoints described by Stripe's OpenAPI schema.
Installation
dotnet add package Soenneker.Stripe.OpenApiClient
Usage
using System.Net.Http.Headers;
using Microsoft.Kiota.Abstractions.Authentication;
using Microsoft.Kiota.Http.HttpClientLibrary;
using Soenneker.Stripe.OpenApiClient;
using Soenneker.Stripe.OpenApiClient.Models;
var httpClient = new HttpClient();
httpClient.DefaultRequestHeaders.Authorization =
new AuthenticationHeaderValue("Bearer", stripeSecretKey);
var authentication = new AnonymousAuthenticationProvider();
var adapter = new HttpClientRequestAdapter(authentication, httpClient: httpClient);
var stripe = new StripeOpenApiClient(adapter);
Balance? balance = await stripe.V1.Balance.GetAsync(
new GetBalanceXWwwFormUrlencodedRequestRequestBody(),
cancellationToken: cancellationToken);
Keep the HttpClient, request adapter, and StripeOpenApiClient for reuse instead of constructing them per request. The generated API follows Stripe's OpenAPI operation and schema names, which can differ from the hand-written Stripe.net SDK.
| 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
- Microsoft.Kiota.Http.HttpClientLibrary (>= 2.1.2)
- Microsoft.Kiota.Serialization.Form (>= 2.1.2)
- Microsoft.Kiota.Serialization.Json (>= 2.1.2)
- Microsoft.Kiota.Serialization.Multipart (>= 2.1.2)
- Microsoft.Kiota.Serialization.Text (>= 2.1.2)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Soenneker.Stripe.OpenApiClient:
| Package | Downloads |
|---|---|
|
Soenneker.Stripe.Client
Provides a lazily initialized Stripe OpenAPI client with managed HTTP client ownership. |
|
|
Soenneker.Extensions.Stripe.Customer
A collection of helpful Stripe Customer extension methods |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 11.0.156 | 122 | 11/20/2026 |
| 11.0.155 | 367 | 11/18/2026 |
| 11.0.154 | 262 | 11/18/2026 |
| 11.0.153 | 349 | 11/17/2026 |
| 11.0.152 | 637 | 11/14/2026 |
| 11.0.151 | 831 | 11/11/2026 |
| 11.0.149 | 1,253 | 11/3/2026 |
| 11.0.148 | 456 | 11/2/2026 |
| 11.0.147 | 277 | 10/31/2026 |
| 11.0.146 | 131 | 10/30/2026 |
| 11.0.145 | 425 | 10/27/2026 |
| 11.0.144 | 222 | 10/27/2026 |
| 11.0.143 | 524 | 10/26/2026 |
| 11.0.142 | 131 | 10/26/2026 |
| 4.0.141 | 1,073 | 10/24/2026 |
| 4.0.140 | 408 | 10/24/2026 |
| 4.0.139 | 174 | 10/14/2026 |
| 4.0.138 | 113 | 10/14/2026 |
| 4.0.133 | 105 | 10/13/2026 |
| 4.0.124 | 137 | 9/15/2026 |