IBeam.Billing.Services 2.9.43

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

IBeam.Billing.Services

IBeam.Billing.Services provides the service-layer implementation for IBeam billing records, provider-event ingestion, and local in-memory persistence.

dotnet add package IBeam.Billing.Services

For ASP.NET Core endpoints, use the future IBeam.Billing.Api package.

What This Package Contains

Area Type(s) Purpose
Customers BillingCustomerService Create, update, get, and list tenant billing customers.
Subscriptions BillingSubscriptionService Track provider subscriptions, contract state, plan/price references, and seats.
Invoices BillingInvoiceService Track invoices, payment state, due dates, and safe hosted invoice references.
Provider events BillingProviderEventService Idempotently ingest provider or marketplace events by provider event id.
Store InMemoryBillingStore Default development/test persistence for customers, subscriptions, invoices, and provider events.
DI AddIBeamBillingServices(...) Registers the billing service stack and IBeam service-operation support.

Quick Start

using IBeam.Billing.Services;

builder.Services.AddIBeamBillingServices(builder.Configuration);

The bundled store is in-memory and intended for local development, tests, and prototypes. Production applications should replace IBillingStore with Azure Table, SQL, EF, or an application-owned provider.

builder.Services.AddIBeamBillingServices(builder.Configuration);
builder.Services.AddScoped<IBillingStore, MyBillingStore>();

Register the replacement after AddIBeamBillingServices so the host application's store wins.

Service Operations

Billing service methods are tagged with IBeamOperation names for policy, audit, and service-base consumers.

Service Class Operation Representative Method Operations
Customers billing.customers billing.customers.list, billing.customers.create, billing.customers.update
Subscriptions billing.subscriptions billing.subscriptions.list, billing.subscriptions.create, billing.subscriptions.update
Invoices billing.invoices billing.invoices.list, billing.invoices.create, billing.invoices.update
Provider events billing.provider-events billing.provider-events.record, billing.provider-events.list

Provider Event Idempotency

BillingProviderEventService.RecordEventAsync creates a stable idempotency key from ProviderName and ProviderEventId. Replaying the same provider event returns the original billing event record instead of creating a duplicate.

Billing And Licensing Boundary

Billing services record commercial state. They do not directly authorize application access. A later reconciler can consume billing records and provider events, then update IBeam.Licensing grants, renewals, suspensions, revocations, seats, and credit grants.

Product 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. 
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 IBeam.Billing.Services:

Package Downloads
IBeam.Billing.Api

ASP.NET Core endpoint wiring for IBeam billing administration and provider-event ingestion.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.9.43 36 7/29/2026