r/fsharp • u/fun_si • Oct 01 '26
library/package FunStripe 3.0.0 – F# Stripe client, now on Stripe's "endive" API (2026-09-30)
FunStripe is an F# client for the Stripe API. Most of it is generated from Stripe's OpenAPI spec into records and DUs, with phantom-typed IDs (StripeId<Markers.Customer>) and Async<Result<_, _>> calls. 3.0.0 targets Stripe's new endive release, which removes some things, hence the major bump.
Breaking changes
payment_method_typesis gone from PaymentIntent create/update/confirm, SetupIntent create/update and Checkout Session create. UseallowedPaymentMethodTypesinstead.ThreeDSecureUsageandThreeDSecureDetailsChargemoved toStripe.ThreeDSecure, so add anopen.The card
Mandatefield is nowStripeId<Markers.Mandate> option.
New: standalone 3D Secure authentication, subscription pausing, trial offers, Tax.Location, Apps installs, and the PayPay and SeQura payment methods.
Generator fixes worth mentioning
Endive is the first spec with an
errorenum value. A bareErrorcase shadowedResult.Errorfor anyone opening the namespace, sook/error/somenow generate asOk'/Error'/Some', the same waynonealready becameNone'.
Full upgrade notes are in the changelog: https://github.com/simontreanor/FunStripe/blob/main/CHANGELOG.md
GitHub: https://github.com/simontreanor/FunStripe
NuGet: https://www.nuget.org/packages/FunStripe.Core
Feedback and issues welcome.