Soenneker.Stripe.Subscriptions 11.0.1464

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

Create, retrieve, search, update, reactivate, and cancel Stripe subscriptions, including application-user metadata lookup and account-wide operations.

Installation

dotnet add package Soenneker.Stripe.Subscriptions

Configuration

{
  "Stripe": {
    "SecretKey": "sk_test_..."
  }
}

Usage

using Soenneker.Stripe.Subscriptions.Abstract;
using Soenneker.Stripe.Subscriptions.Registrars;
using Stripe;

services.AddStripeSubscriptionsUtilAsScoped();

Subscription? subscription = await subscriptionsUtil.Create(
    customerId: "cus_...",
    priceId: "price_...",
    userId: applicationUserId,
    defaultPaymentMethodId: "pm_...",
    cancellationToken: cancellationToken);

await subscriptionsUtil.CancelAtPeriodEnd(
    subscription!.Id,
    cancellationToken);

The convenience Create overload stores userId in Stripe metadata, creates one price item, disables automatic tax, and optionally sets a trial end. GetByUserId searches that metadata and returns the first match.

UpdatePrice replaces the price on the subscription's first item without proration. UpdateBillingAnchor and UpdateBillingAnchorForAll set trial_end, which also moves Stripe's billing anchor and affects trial behavior.

GetAll, GetByCustomerId, and the account-wide mutation helpers auto-page through all matching subscriptions. CancelById and CancelAll cancel immediately; CancelAtPeriodEnd preserves service through the current period. Treat CancelAll and UpdateBillingAnchorForAll as destructive account-wide operations.

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.Stripe.Subscriptions:

Package Downloads
Soenneker.Stripe.Suite

Bundle and register Soenneker's Stripe customer, payment, invoice-item, and subscription libraries.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
11.0.1464 0 11/14/2026
11.0.1463 125 11/11/2026
11.0.1462 64 11/11/2026
11.0.1461 68 11/11/2026
11.0.1460 65 11/11/2026
11.0.1459 84 11/11/2026
11.0.1458 60 11/11/2026
11.0.1457 72 11/11/2026
11.0.1456 85 11/11/2026
11.0.1455 388 11/4/2026
11.0.1454 153 11/3/2026
11.0.1453 117 11/3/2026
11.0.1452 111 11/3/2026
11.0.1451 111 11/3/2026
11.0.1450 114 11/2/2026
11.0.1449 125 11/2/2026
11.0.1448 134 11/2/2026
11.0.1446 156 10/31/2026
11.0.1444 164 10/30/2026
11.0.1443 176 10/28/2026
Loading failed

Update dependency Soenneker.Stripe.Client to 11.0.1582 (#2023)