Talegen.Apple.Storekit 2.1.0

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

Talegen.Apple.Storekit

A .NET client (targets .NET 8 and .NET 10) for the Apple App Store Server API and App Store Server Notifications V2, including verification of Apple-signed data (JWS).

Register

builder.Services.AddAppleApiClient(options =>
{
    options.IssuerId = "<issuer id>";
    options.KeyId = "<key id>";
    options.BundleId = "com.example.app";
    options.PrivateKey = File.ReadAllText("AuthKey_XXXXXXXXXX.p8");
    options.Environment = EnvironmentType.Production;
});

builder.Services.AddAppleSignedDataVerifier(options =>
{
    options.RootCertificates.Add(new X509Certificate2("AppleRootCA-G3.cer"));
    options.BundleId = "com.example.app";
    options.Environment = EnvironmentType.Production;
});

Use

var transaction = await apple.GetTransactionAsync(transactionId);
var status = await apple.GetSubscriptionStatusAsync(transactionId);

await foreach (var t in apple.GetAllTransactionHistoryAsync(transactionId)) { /* ... */ }

var notification = verifier.VerifyAndDecodeNotification(body.SignedPayload);

Also available: refund history, order lookup, renewal-date extension, consumption information and test notifications.

Full documentation and how-to guides: https://github.com/Talegen/Talegen.Apple.Storekit

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  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

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.1.0 90 11/16/2026
2.0.3 88 11/16/2026
1.0.25 113 9/29/2026
1.0.24 116 9/16/2026
1.0.23 112 9/16/2026
1.0.22 141 7/21/2026
1.0.21 147 6/23/2026
1.0.20 140 5/23/2026
1.0.19 136 5/8/2026
1.0.17 184 1/30/2026
1.0.16 180 12/28/2025
1.0.15 149 12/27/2025
1.0.14 302 11/22/2025
1.0.13 269 10/15/2025
1.0.12 384 9/16/2025
1.0.11 236 8/13/2025
1.0.10 558 7/25/2025
1.0.9 255 7/10/2025
1.0.8 259 6/18/2025
1.0.7 237 6/5/2025
Loading failed

Adds .NET 10 target alongside .NET 8; fixes .NET 8 dependency support (Microsoft.Extensions.Http 10.x), package icon/readme packing, and a stray logo.ico content file. See CHANGELOG.md.