stripe-dotnet
Copilot instructions1.5k starsChanged 2 months agoApache-2.0View on GitHub
Stripe.net supports both Newtonsoft.Json and System.Text.Json, and integrators may serialize SDK objects (for example, to put an EventNotification on a queue) and deserialize them later. Both libraries silently skip properties they can't set. A type like this serializes fine but deserializes into an empty object, with no error. - Expect a test that serializes and deserializes the type with both libraries and asserts that the values survive. Don't rely on the wholesome tests in src/StripeTests/Wholesome/ for this: the converter checks…
Trending
Quiet since July.about the whole repository
Who's talking about stripe/stripe-dotnet
- Stack Overflow“Stripe: Getting Credit Card's Last 4 Digits”Stack Overflow · Nov 2, 2018 · 8 votes
- Stack Overflow“How to get a List of valid currencies from Stripe”Stack Overflow · Jun 2, 2023 · 3 votes
- dotnet/runtime“[API Proposal]: MemoryExtensions.IndexOfAny{Except}WhiteSpace”GitHub · Nov 7, 2022 · 3 reactions
- Stack Overflow“C# generic class type parameter and constraint that is the same as the generic parameter”Stack Overflow · Mar 24, 2022 · 3 votes
- Stack Overflow“Stripe .NET There is no PaymentIntent.ClientSecret On Subscription Object”Stack Overflow · Sep 12, 2025 · 2 votes
The biggest 5 of 64 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 64
Talked about on GitHub and Stack Overflow (64 times).
On GitHub · 50
- Nov 7, 2022[API Proposal]: MemoryExtensions.IndexOfAny{Except}WhiteSpace — dotnet/runtime3 reactions · 11 comments
- Sep 19, 2019StripeClient: CLOSE_WAIT possibly causing servers crash after a few hours — stripe/stripe-ruby2 reactions · 9 comments
- Jul 1, 2024Bump Stripe.Net from 44.13.0-beta.1 to 45.1.0 — OwO-UwU-AwA/gawo1 reaction · 1 comment
- Jun 26, 2024Bump Stripe.Net from 44.13.0-beta.1 to 45.0.0 — OwO-UwU-AwA/gawo1 reaction · 1 comment
- Jun 24, 2024Bump Stripe.Net from 44.12.0 to 44.13.0 — OwO-UwU-AwA/gawo1 reaction · 1 comment
45 more on GitHub
- Jun 17, 2024Bump Stripe.Net from 44.9.0-beta.1 to 44.12.0 — OwO-UwU-AwA/gawo1 reaction
- Jul 12, 2026Fix non-official and outdated GitHub repository links — thangchung/awesome-dotnet-core0 reactions
- May 10, 2026Add Cashier-equivalent Stripe billing module (subscriptions, invoices, webhooks) — antosubash/SimpleModule0 reactions
- Sep 26, 2025Create Ivy Example for NuGet Stripe.net — Ivy-Interactive/Ivy-Examples0 reactions
- Sep 9, 2025### Why? — YouhuiTrading/next-platform-starter0 reactions
- Aug 8, 2024chore(deps): bump Stripe.net from 40.16.0 to 45.6.0 in /prebuilt-checkout-page/server/dotnet — madcitymultimedia/accept-a-payment0 reactions
- Aug 8, 2024chore(deps): bump Stripe.net from 40.16.0 to 45.6.0 in /custom-payment-flow/server/dotnet — madcitymultimedia/accept-a-payment0 reactions
- Aug 1, 2024chore(deps): bump Stripe.net from 43.21.0 to 45.5.0 in /prebuilt-checkout-page/server/dotnet — jhhjhjhj123/ewannnnnn0 reactions
- Aug 1, 2024chore(deps): bump Stripe.net from 43.18.0 to 45.5.0 in /custom-payment-flow/server/dotnet — jhhjhjhj123/ewannnnnn0 reactions
- May 23, 2024chore(deps): bump Stripe.net from 43.10.0 to 44.8.0 in /prebuilt-checkout-page/server/dotnet — Irostovsky/stripe-accept-a-payment0 reactions
- May 23, 2024chore(deps): bump Stripe.net from 43.12.0 to 44.8.0 in /custom-payment-flow/server/dotnet — Irostovsky/stripe-accept-a-payment0 reactions
- May 20, 2024Bump Stripe.net from 43.19.0 to 44.8.0 in /starter/server/dotnet — Dadudida/developer-office-hours0 reactions · 1 comment
- Jan 25, 2024Bump stripe.net from 40.16.0 to 43.11.0 in /server/dotnet — DevilRed/charge-saved-card0 reactions
- Jan 17, 2024 https://github.com/Adawntoremember/Adawntoremember/issues/6 — WinnerEkwuazi/contact-form0 reactions
- Jan 17, 2024https://github.com/stripe/stripe-dotnet/actions/workflows/ci.yml/badge.svg?event=check_run — WinnerEkwuazi/contact-form0 reactions
- Oct 12, 2023Bump Stripe.net from 40.16.0 to 42.9.0 in /modal/server/dotnet — ellipsis52/identity-main0 reactions
- Oct 12, 2023Bump Stripe.net from 40.16.0 to 42.9.0 in /redirect/server/dotnet — ellipsis52/identity-main0 reactions
- Oct 12, 2023Bump Stripe.net from 40.16.0 to 42.9.0 in /redirect/server/dotnet — ellipsis52/stripe.v_13.0.030 reactions
- Oct 12, 2023Bump Stripe.net from 40.16.0 to 42.9.0 in /modal/server/dotnet — ellipsis52/stripe.v_13.0.030 reactions
- Oct 12, 2023Bump Stripe.net from 40.16.0 to 42.9.0 in /redirect/server/dotnet — ellipsis52/identity-stripe-webtechnicom0 reactions
- Oct 12, 2023Bump Stripe.net from 40.16.0 to 42.9.0 in /modal/server/dotnet — ellipsis52/identity-stripe-webtechnicom0 reactions
- Oct 9, 2023Repo? — nickberardi/stripe-dotnet0 reactions · 2 comments
- Sep 7, 2023Bump Stripe.net from 40.16.0 to 42.3.0 in /redirect/server/dotnet — stripe-samples/identity0 reactions
- Sep 7, 2023Bump Stripe.net from 40.16.0 to 42.3.0 in /modal/server/dotnet — stripe-samples/identity0 reactions
- Aug 17, 2023Bump Stripe.net from 40.16.0 to 42.0.0 in /redirect/server/dotnet — ellipsis52/Stripe-Identity0 reactions
- Aug 17, 2023Bump Stripe.net from 40.16.0 to 42.0.0 in /modal/server/dotnet — ellipsis52/Stripe-Identity0 reactions
- Aug 17, 2023Bump Stripe.net from 40.16.0 to 42.0.0 in /modal/server/dotnet — ellipsis52/Identity-Stripe0 reactions
- Aug 17, 2023Bump Stripe.net from 40.16.0 to 42.0.0 in /redirect/server/dotnet — ellipsis52/Identity-Stripe0 reactions
- Mar 7, 2023Bump Stripe.net from 39.93.0 to 41.8.0 — DavidEggenberger/CrispyCollab0 reactions
- Mar 6, 2023Bump Stripe.net from 39.107.0 to 41.8.0 in /starter/server/dotnet — Swinsie/stripe-gateway-fork0 reactions
- Mar 6, 2023Bump Stripe.net from 39.125.0 to 41.8.0 — agoerner/Exceptionless0 reactions
- Mar 6, 2023chore(deps): bump Stripe.net from 39.84.0 to 41.8.0 in /prebuilt-checkout-page/server/dotnet — JamesSanderslawnmasters/accept-a-payment0 reactions
- Mar 6, 2023chore(deps): bump Stripe.net from 39.84.0 to 41.8.0 in /custom-payment-flow/server/dotnet — JamesSanderslawnmasters/accept-a-payment0 reactions
- Mar 6, 2023Bump Stripe.net from 39.118.0 to 41.8.0 — Mu-L/Exceptionless0 reactions
- Mar 6, 2023build(deps): bump Stripe.net from 39.89.0 to 41.8.0 in /server/dotnet — JamesSanderslawnmasters/checkout-one-time-payments0 reactions
- Mar 5, 2023Bump Stripe.net from 41.7.0 to 41.8.0 — aTiKhan/Exceptionless0 reactions
- Mar 3, 2023Bump Stripe.net from 39.53.0 to 41.8.0 — ilyanaDev/DevBetterWeb0 reactions
- Jan 23, 2023Bump Stripe.net from 39.62.0 to 41.5.0 in /server/dotnet — Akin1jkmm/j0 reactions
- Jan 23, 2023Bump Stripe.net from 39.62.0 to 41.5.0 in /server/dotnet — Akin1jkmm/h0 reactions
- May 30, 2022Stripe API Key Request — matteo-gatti/IS2-MSGC-Parket0 reactions · 2 comments
- Oct 17, 2021Azure Function: Unable to load System.Configuration.ConfigurationManager — dotnet/runtime0 reactions · 2 comments
- May 23, 2021Support for netstandard2.0 and net5.0 are missing — eWAYPayment/eway-rapid-net0 reactions
- Jan 25, 2021Way to set Intacct API URL by the Consumer to Mock the Response in Real Integration — intacct/intacct-sdk-net0 reactions · 3 comments
- Dec 15, 2020allow autoPaginate with ending_before — stripe/stripe-node0 reactions · 1 comment
- Jan 6, 2020Consider using AnyOf — nheath99/GovUKTradeTariffAPI0 reactions
On Stack Overflow · 14
- Nov 2, 2018Stripe: Getting Credit Card's Last 4 Digits8 votes
- Jun 2, 2023How to get a List of valid currencies from Stripe3 votes
- Mar 24, 2022C# generic class type parameter and constraint that is the same as the generic parameter3 votes · 1 answer
- Sep 12, 2025Stripe .NET There is no PaymentIntent.ClientSecret On Subscription Object2 votes
- Oct 2, 2019List Vs Detail DTO2 votes · 1 answer
9 more on Stack Overflow
- Jan 24, 2019Payout to User's External account bank account gives 'No such External Account...'2 votes
- Jan 21, 2019How to Create a Stripe Charge with a Destination Parameter Using .NET2 votes
- Aug 18, 2021Redeem a promotional code using Stripe api in C# MVC1 vote
- Mar 3, 2020how to replace the statement_descriptor parameter with statement_descriptor_suffix as part of Stripe update1 vote
- Jul 15, 2017ACH Stripe Bank Account Verification1 vote
- Jul 2, 2025Stripe Webhook - my API version is not in the dropdown on the webhook setup page0 votes · 1 answer
- Jun 12, 2020Generating token to use in Stripe payment using Xamarin Forms0 votes
- Feb 10, 2020Stripe.Net 21.4.1 removed 'List' method from 'BalanceService' object0 votes
- May 22, 2019How to send auto email to customer on successful payment using stripe SDK?0 votes
In this repositoryOne other file it gives its agents.
- .claude/CLAUDE.mdCLAUDE.md
The file
Files
Copilot Code Review Instructions
JSON serialization
Stripe.net supports both Newtonsoft.Json and System.Text.Json, and integrators may serialize SDK objects (for example, to put an EventNotification on a queue) and deserialize them later.
Check that new or changed types in the serialization path round-trip through both libraries. This applies to any type used as a property of a serialized object, including types that don't derive from
StripeEntity(such asEventNotificationand the types of its properties). Flag a type if both of these are true:- Its state can't be set during deserialization: properties are getter-only or have non-public setters, or the state is only set through a constructor that takes arguments.
- It has neither a
[JsonConverter]for both libraries (Newtonsoft.Json.JsonConverterandSystem.Text.Json.Serialization.JsonConverter) nor a constructor that both libraries can use to set that state.
Both libraries silently skip properties they can't set. A type like this serializes fine but deserializes into an empty object, with no error.
- Expect a test that serializes and deserializes the type with both libraries and asserts that the values survive. Don't rely on the wholesome tests in
src/StripeTests/Wholesome/for this: the converter checks there only scanStripeEntitysubclasses andINestedOptionsclasses. - If a type's JSON shape changes, check that the previous shape can still be read, since payloads written by earlier versions may already be stored.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

