Soenneker.Stripe.PaymentIntents
4.0.1239
Prefix Reserved
dotnet add package Soenneker.Stripe.PaymentIntents --version 4.0.1239
NuGet\Install-Package Soenneker.Stripe.PaymentIntents -Version 4.0.1239
<PackageReference Include="Soenneker.Stripe.PaymentIntents" Version="4.0.1239" />
<PackageVersion Include="Soenneker.Stripe.PaymentIntents" Version="4.0.1239" />
<PackageReference Include="Soenneker.Stripe.PaymentIntents" />
paket add Soenneker.Stripe.PaymentIntents --version 4.0.1239
#r "nuget: Soenneker.Stripe.PaymentIntents, 4.0.1239"
#:package Soenneker.Stripe.PaymentIntents@4.0.1239
#addin nuget:?package=Soenneker.Stripe.PaymentIntents&version=4.0.1239
#tool nuget:?package=Soenneker.Stripe.PaymentIntents&version=4.0.1239
Soenneker.Stripe.PaymentIntents
Create, retrieve, update, confirm, cancel, capture, and list Stripe payment intents through a reusable Stripe.net service.
Installation
dotnet add package Soenneker.Stripe.PaymentIntents
Configuration
{
"Stripe": {
"SecretKey": "sk_test_..."
}
}
Usage
using Soenneker.Stripe.PaymentIntents.Abstract;
using Soenneker.Stripe.PaymentIntents.Registrars;
using Stripe;
services.AddStripePaymentIntentsUtilAsScoped();
PaymentIntent intent = await paymentIntentsUtil.Create(
stripeCustomerId: "cus_...",
amount: 49.95m,
idempotencyKey: $"order-{orderId}",
cancellationToken: cancellationToken);
PaymentIntent confirmed = await paymentIntentsUtil.Confirm(
intent.Id,
returnUrl: "https://example.com/payment/complete",
cancellationToken: cancellationToken);
Create accepts a USD amount in dollars and rounds fractional cents away from zero. Automatic payment methods are enabled by default; when paymentMethodTypes is supplied, those explicit types take precedence.
List returns at most the first 100 payment intents for a customer. Cancel and Capture change payment state in Stripe, and Stripe API errors propagate to the caller.
| 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
- Soenneker.Enums.CurrencyCodes (>= 4.0.89)
- Soenneker.Stripe.Client (>= 4.0.1489)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Soenneker.Stripe.PaymentIntents:
| 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 |
|---|---|---|
| 4.0.1239 | 50 | 9/10/2026 |
| 4.0.1238 | 64 | 9/9/2026 |
| 4.0.1237 | 83 | 9/9/2026 |
| 4.0.1236 | 86 | 9/9/2026 |
| 4.0.1235 | 88 | 9/8/2026 |
| 4.0.1234 | 129 | 9/8/2026 |
| 4.0.1233 | 79 | 9/8/2026 |
| 4.0.1232 | 122 | 9/8/2026 |
| 4.0.1230 | 142 | 9/7/2026 |
| 4.0.1229 | 187 | 9/5/2026 |
| 4.0.1228 | 106 | 9/5/2026 |
| 4.0.1227 | 133 | 9/4/2026 |
| 4.0.1226 | 80 | 9/4/2026 |
| 4.0.1224 | 120 | 9/4/2026 |
| 4.0.1223 | 114 | 9/4/2026 |
| 4.0.1222 | 113 | 9/4/2026 |
| 4.0.1221 | 110 | 9/4/2026 |
| 4.0.1220 | 119 | 9/4/2026 |
| 4.0.1219 | 134 | 9/2/2026 |
| 4.0.1218 | 170 | 9/1/2026 |
Updated Soenneker.Stripe.Client to 4.0.1489