Soenneker.Adyen.OpenApiClient
4.0.70
Prefix Reserved
dotnet add package Soenneker.Adyen.OpenApiClient --version 4.0.70
NuGet\Install-Package Soenneker.Adyen.OpenApiClient -Version 4.0.70
<PackageReference Include="Soenneker.Adyen.OpenApiClient" Version="4.0.70" />
<PackageVersion Include="Soenneker.Adyen.OpenApiClient" Version="4.0.70" />
<PackageReference Include="Soenneker.Adyen.OpenApiClient" />
paket add Soenneker.Adyen.OpenApiClient --version 4.0.70
#r "nuget: Soenneker.Adyen.OpenApiClient, 4.0.70"
#:package Soenneker.Adyen.OpenApiClient@4.0.70
#addin nuget:?package=Soenneker.Adyen.OpenApiClient&version=4.0.70
#tool nuget:?package=Soenneker.Adyen.OpenApiClient&version=4.0.70
Soenneker.Adyen.OpenApiClient
A Kiota-generated .NET client containing request builders and models for Adyen APIs.
Installation
dotnet add package Soenneker.Adyen.OpenApiClient
Creating the client
AdyenOpenApiClient requires a configured Kiota IRequestAdapter:
using Microsoft.Kiota.Http.HttpClientLibrary;
using Microsoft.Kiota.Abstractions.Authentication;
using Soenneker.Adyen.OpenApiClient;
httpClient.DefaultRequestHeaders.Add("X-API-Key", apiKey);
var authentication = new AnonymousAuthenticationProvider();
var adapter = new HttpClientRequestAdapter(authentication, httpClient: httpClient);
var client = new AdyenOpenApiClient(adapter);
Configure the adapter's HttpClient, base address, and authentication for the particular Adyen API and environment you are using.
For dependency-injection setup and cached client creation, use Soenneker.Adyen.OpenApiClientUtil instead.
Usage
The top-level client exposes versioned service request builders. Select the service, then follow its generated resource hierarchy:
using Soenneker.Adyen.OpenApiClient.Models;
PaymentMethodsResponse? response = await client
.CheckoutServiceV72
.PaymentMethods
.PostAsync(requestBody, cancellationToken: cancellationToken);
Request and response types are in Soenneker.Adyen.OpenApiClient.Models. Generated methods expose Kiota request configuration for headers, query parameters, and middleware options where the operation supports them.
Important behavior
- The client combines multiple Adyen service schemas, so service versions are part of property and model names.
- The generated default base URL belongs to one test endpoint and cannot represent every Adyen service or environment. Supply the correct base address through the request adapter or the companion utility's HTTP-client configuration.
- Kiota throws
ApiExceptionfor mapped non-success responses. Inspect its status code and response headers rather than treating all failures as transport errors. - The source is generated. Put authentication, retries, logging, and other cross-cutting behavior in the request adapter or HTTP pipeline instead of modifying generated request builders.
| 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 (1)
Showing the top 1 NuGet packages that depend on Soenneker.Adyen.OpenApiClient:
| Package | Downloads |
|---|---|
|
Soenneker.Adyen.OpenApiClientUtil
A thread-safe utility for obtaining Adyen's OpenApiClient singleton. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 4.0.70 | 78 | 9/16/2026 |
| 4.0.69 | 155 | 9/15/2026 |
| 4.0.68 | 166 | 9/12/2026 |
| 4.0.67 | 133 | 9/11/2026 |
| 4.0.66 | 169 | 9/8/2026 |
| 4.0.65 | 156 | 9/7/2026 |
| 4.0.64 | 150 | 9/4/2026 |
| 4.0.63 | 120 | 9/4/2026 |
| 4.0.62 | 170 | 9/3/2026 |
| 4.0.61 | 110 | 9/3/2026 |
| 4.0.60 | 130 | 9/3/2026 |
| 4.0.59 | 192 | 8/30/2026 |
| 4.0.58 | 107 | 8/30/2026 |
| 4.0.57 | 220 | 8/28/2026 |
| 4.0.56 | 216 | 8/19/2026 |
| 4.0.55 | 156 | 8/15/2026 |
| 4.0.54 | 117 | 8/14/2026 |
| 4.0.53 | 220 | 8/7/2026 |
| 4.0.52 | 150 | 8/4/2026 |
| 4.0.51 | 125 | 8/1/2026 |