Bump Stripe.net from 47.4.0 to 49.0.0 #1994
Open
+1
−1
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Updated Stripe.net from 47.4.0 to 49.0.0.
Release notes
Sourced from Stripe.net's releases.
49.0.0
This release changes the pinned API version to⚠️ below)
2025-09-30.clover
and contains breaking changes (prefixed with#3168⚠️ Add strongly typed EventNotifications
We've overhauled how V2 Events are handled in the SDK! This approach should provide a lot more information at authoring and compile time, leading to more robust integrations. As part of this process, there are a number of changes to be aware of.
EventNotification
classes to every v2Event
. For example, there's now aV1BillingMeterErrorReportTriggeredEventNotification
to match the existingV1BillingMeterErrorReportTriggeredEvent
. Each notification class defines afetchEvent()
method to retrieve its corresponding event. For events with related objects, there's afetchRelatedObject()
method that performs the API call and casts the response to the correct type.StripeClient.parseThinEvent
toStripeClient.parseEventNotification
and remove theStripe.ThinEvent
class.Stripe.V2.Core.EventNotification
(which is the shared base class that all of the more specificStripe..Events.*EventNotification
classes share) instead ofStripe.ThinEvent
. When applicable, these event notifications will have therelatedObject
property and afetchRelatedObject()
function. They also have afetchEvent()
method to retrieve their correspondingStripe.Event.*Event
instance.Stripe.Events.UnknownEventNotification
instead of a more specific type. It has both therelatedObject
property and theFetchRelatedObject()
function (but they may be/returnnull
)#3194 Add
StripeContext
objectStripeContext
class. Previously, one could only pass a string forStripeContext
property of theRequestOptions
class. You can now use the new class as well.EventNotification
(formerly known asThinEvent
)'scontext
property fromstring
toStripeContext
#3200 Move
V2.Event
API resources toV2.Core.Events
Event
,EventDestination
,EventReason
etc) fromStripe.V2
toStripe.V2.Core
. They now correctly match their API path and are in line with all other resources. To update your code:Stripe.V2.Event
->Stripe.V2.Core.Event
Stripe.V2.EventDestination
->Stripe.V2.Core.EventDestination
Stripe.V2.EventReason
->Stripe.V2.Core.EventReason
Stripe.V2.EventReasonRequest
->Stripe.V2.Core.EventReasonRequest
Stripe.V2.EventRelatedObject
->Stripe.V2.Core.EventRelatedObject
#3206⚠️ Drop support for .NET Core 3.1 & clarify policy
#3197 Remove unused obsolete classes SourceTransactionsListOptions and SourceTransactionsGetOptions
SourceTransactionsListOptions
in favor ofSourceTransactionListOptions
SourceTransactionsGetOptions
#3167⚠️ Build SDK w/ V2 OpenAPI spec
StripeClient.v2
namespace) now return aV2DeletedObject
which has the id of the object that has been deleted and a string representing the type of the object that has been deleted.#3171 Adds ability to specify file name and type when calling FileService.Create
FileCreateOptions
.File
from aStream
to aMultipartFileContent
type. This type lets you optionally specify aName
andType
to use when creating the file.#3174
just format
formats entire solution#3172 Update generated code
UseStripeSdk
inPaymentIntentNextAction
andSetupIntentNextAction
to beDictionary<string, object>
PaymentIntentNextActionUseStripeSdk
andSetupIntentNextActionUseStripeSdk
#3170 Adds public BaseUrl to RawRequestOptions
BaseUrl
toRawRequestOptions
for raw request calls to endpoints at hosts other thanapi.stripe.com
#3175, #3190, #3205 Update generated code based on incoming API changes in the
2025-09-30.clover
API version.BalanceReport
andPayoutReconciliationReport
onAccountSession.Components
andAccountSessionComponentsOptions
InvoiceSubscriptionDetailsOptions.CancelAt
,SubscriptionCreateOptions.CancelAt
andSubscriptionUpdateOptions.CancelAt
fromDateTime
toDateTime | enum('max_period_end'|'min_period_end')
Coupon
onDiscount
,PromotionCodeCreateOptions
, andPromotionCode
. UseDiscount.Source.Coupon
,PromotionCodeCreateOptions.Promotion.Coupon
, andPromotionCode.Promotion.Coupon
instead.Link
andPayByBank
onPaymentMethodUpdateOptions
BalanceSettings
Get
andUpdate
methods on resourceBalanceSettings
Source
onDiscount
MbWayPayments
onAccount.Capabilities
andAccountCapabilitiesOptions
TrialUpdateBehavior
onBillingPortal.Configuration.Features.SubscriptionUpdate
andBillingPortalConfigurationFeaturesSubscriptionUpdateOptions
MbWay
onCharge.PaymentMethodDetails
,ConfirmationToken.PaymentMethodPreview
,ConfirmationTokenPaymentMethodDataOptions
,PaymentIntent.PaymentMethodOptions
,PaymentIntentPaymentMethodDataOptions
,PaymentIntentPaymentMethodOptionsOptions
,PaymentMethodCreateOptions
,PaymentMethod
, andSetupIntentPaymentMethodDataOptions
BrandingSettings
andNameCollection
onCheckout.SessionCreateOptions
andCheckout.Session
ExcludedPaymentMethodTypes
onCheckout.SessionCreateOptions
,Checkout.Session
,PaymentIntentConfirmOptions
, andPaymentIntentUpdateOptions
... (truncated)
48.6.0-beta.1
This release changes the pinned API version to
2025-08-27.preview
.Get
andList
methods on resourceInvoicePayment
List
method on resourceMandate
Applied
onV2.Core.Account.Configuration.Customer
,V2.Core.Account.Configuration.Merchant
,V2.Core.Account.Configuration.Recipient
,V2.Core.Account.Configuration.Storer
,V2CoreAccountConfigurationCustomerOptions
,V2CoreAccountConfigurationMerchantOptions
,V2CoreAccountConfigurationRecipientOptions
, andV2CoreAccountConfigurationStorerOptions
Billing.AlertTriggered.Value
fromlongInteger
todecimal_string
DisplayName
onV2.MoneyManagement.FinancialAccountCreateOptions
andV2.MoneyManagement.FinancialAccount
CurrencyConversion
onV2.MoneyManagement.Transaction.Flow
andV2.MoneyManagement.TransactionEntry.TransactionDetails.Flow
Payments
onBalanceSettingsUpdateOptions
andBalanceSettings
DebitNegativeBalances
,Payouts
, andSettlementTiming
onBalanceSettingsUpdateOptions
andBalanceSettings
Mandate
onCharge.PaymentMethodDetails.Pix
,PaymentAttemptRecord.PaymentMethodDetails.Pix
, andPaymentRecord.PaymentMethodDetails.Pix
CouponData
onCheckoutSessionDiscountOptions
MandateOptions
onCheckout.Session.PaymentMethodOptions.Pix
,CheckoutSessionPaymentMethodOptionsPixOptions
,PaymentIntent.PaymentMethodOptions.Pix
, andPaymentIntentPaymentMethodOptionsPixOptions
Checkout.Session.PaymentMethodOptions.Pix.SetupFutureUsage
,CheckoutSessionPaymentMethodOptionsPixOptions.SetupFutureUsage
,PaymentIntent.PaymentMethodOptions.Pix.SetupFutureUsage
, andPaymentIntentPaymentMethodOptionsPixOptions.SetupFutureUsage
fromliteral('none')
toenum('none'|'off_session')
Amount
onMandate.MultiUse
,PaymentAttemptRecord
, andPaymentRecord
Currency
onMandate.MultiUse
Pix
onMandate.PaymentMethodDetails
,SetupAttempt.PaymentMethodDetails
,SetupIntent.PaymentMethodOptions
, andSetupIntentPaymentMethodOptionsOptions
Limit
onPaymentAttemptRecordListOptions
AmountAuthorized
,AmountRefunded
, andApplication
onPaymentAttemptRecord
andPaymentRecord
ProcessorDetails
onPaymentAttemptRecord
,PaymentRecordReportPaymentOptions
, andPaymentRecord
PaymentReference
onPaymentAttemptRecord
,PaymentRecordReportPaymentOptions
, andPaymentRecord
Installments
onPaymentAttemptRecord.PaymentMethodDetails.Alma
andPaymentRecord.PaymentMethodDetails.Alma
TransactionId
onPaymentAttemptRecord.PaymentMethodDetails.Alma
,PaymentAttemptRecord.PaymentMethodDetails.AmazonPay
,PaymentAttemptRecord.PaymentMethodDetails.Billie
,PaymentAttemptRecord.PaymentMethodDetails.KakaoPay
,PaymentAttemptRecord.PaymentMethodDetails.KrCard
,PaymentAttemptRecord.PaymentMethodDetails.NaverPay
,PaymentAttemptRecord.PaymentMethodDetails.Payco
,PaymentAttemptRecord.PaymentMethodDetails.RevolutPay
,PaymentAttemptRecord.PaymentMethodDetails.SamsungPay
,PaymentAttemptRecord.PaymentMethodDetails.Satispay
,PaymentRecord.PaymentMethodDetails.Alma
,PaymentRecord.PaymentMethodDetails.AmazonPay
,PaymentRecord.PaymentMethodDetails.Billie
,PaymentRecord.PaymentMethodDetails.KakaoPay
,PaymentRecord.PaymentMethodDetails.KrCard
,PaymentRecord.PaymentMethodDetails.NaverPay
,PaymentRecord.PaymentMethodDetails.Payco
,PaymentRecord.PaymentMethodDetails.RevolutPay
,PaymentRecord.PaymentMethodDetails.SamsungPay
, andPaymentRecord.PaymentMethodDetails.Satispay
Location
andReader
onPaymentAttemptRecord.PaymentMethodDetails.Paynow
andPaymentRecord.PaymentMethodDetails.Paynow
LatestActiveMandate
onPaymentMethod
Metadata
andPeriod
onQuotePreviewSubscriptionSchedule.Phase.AddInvoiceItem
PixDisplayQrCode
onSetupIntent.NextAction
ReaderSecurity
onTerminal.ConfigurationCreateOptions
,Terminal.ConfigurationUpdateOptions
, andTerminal.Configuration
See the changelog for more details.
48.6.0-alpha.2
retrieve
method on resourceV2.Core.ClaimableSandbox
month_of_year
onV2.Billing.Cadence#create.billing_cycle.month
andV2.Billing.Cadence.billing_cycle.month
claimed_at
,expires_at
,sandbox_details
, andstatus
onV2.Core.ClaimableSandbox
api_keys
onV2.Core.ClaimableSandbox
V2.Core.ClaimableSandbox.claim_url
fromstring
tonullable(string)
current_billing_period_end
on enumsV2.Billing.Intent#create.actions[].deactivate.effective_at.type
andV2.Billing.IntentAction.deactivate.effective_at.type
will_activate_at
andwill_cancel_at
onV2.Billing.PricingPlanSubscription.servicing_status_transitions
andV2.Billing.RateCardSubscription.servicing_status_transitions
category
andpriority
onV2.Billing.ServiceAction#create.credit_grant_per_tenant
,V2.Billing.ServiceAction#create.credit_grant
,V2.Billing.ServiceAction.credit_grant_per_tenant
, andV2.Billing.ServiceAction.credit_grant
V2.Billing.LicenseFee#update.display_name
to be optionalinvoices
onEventsV2BillingCadenceBilledEvent
V2CoreClaimableSandboxClaimedEvent
,V2CoreClaimableSandboxExpiredEvent
,V2CoreClaimableSandboxExpiringEvent
, andV2CoreClaimableSandboxSandboxDetailsOwnerAccountUpdatedEvent
with related objectV2.Core.ClaimableSandbox
V2BillingCadenceErroredEvent
with related objectV2.Billing.Cadence
See the changelog for more details.
48.6.0-alpha.1
#3166 Use the right API version 2025-08-27.preview
#3162 Update generated code for private-preview
AttachCadence
method on resourceSubscription
Currency
andExternalCustomerId
onBilling.AlertTriggered
CustomPricingUnit
onBilling.AlertTriggered
,Billing.CreditBalanceSummary.Balance.AvailableBalance
,Billing.CreditBalanceSummary.Balance.LedgerBalance
,Billing.CreditBalanceTransaction.Credit.Amount
,Billing.CreditBalanceTransaction.Debit.Amount
,Billing.CreditGrant.Amount
, andBillingCreditGrantAmountOptions
Customer
onBilling.AlertListOptions
Billing.Alert.AlertType
,Billing.AlertCreateOptions.AlertType
, andBilling.AlertListOptions.AlertType
fromliteral('usage_threshold')
toenum('credit_balance_threshold'|'usage_threshold')
CreditBalanceThreshold
onBilling.AlertCreateOptions
andBilling.Alert
BillableItems
onBilling.CreditGrant.ApplicabilityConfig.Scope
,BillingCreditBalanceSummaryFilterApplicabilityScopeOptions
, andBillingCreditGrantApplicabilityConfigScopeOptions
Billing.CreditBalanceSummary.Balance.AvailableBalance.Type
,Billing.CreditBalanceSummary.Balance.LedgerBalance.Type
,Billing.CreditBalanceTransaction.Credit.Amount.Type
,Billing.CreditBalanceTransaction.Debit.Amount.Type
,Billing.CreditGrant.Amount.Type
, andBillingCreditGrantAmountOptions.Type
fromliteral('monetary')
toenum('custom_pricing_unit'|'monetary')
LicenseFeeSubscriptionDetails
andRateCardSubscriptionDetails
onInvoiceItem.Parent
andInvoiceLineItem.Parent
InvoiceItem.Parent.Type
fromliteral('subscription_details')
toenum('license_fee_subscription_details'|'rate_card_subscription_details'|'subscription_details')
LicenseFeeDetails
andRateCardRateDetails
onInvoiceItem.Pricing
andInvoiceLineItem.Pricing
InvoiceItem.Pricing.Type
andInvoiceLineItem.Pricing.Type
fromliteral('price_details')
toenum('license_fee_details'|'price_details'|'rate_card_rate_details')
BillingCadence
onInvoiceCreatePreviewOptions
,SubscriptionCreateOptions
, andSubscription
BillingCadenceDetails
onInvoice.Parent
andQuotePreviewInvoice.Parent
V2.AccountLink
,V2.Account
,V2.Billing.BillSettingVersion
,V2.Billing.BillSetting
,V2.Billing.Cadence
,V2.Billing.CollectionSettingVersion
,V2.Billing.CollectionSetting
,V2.Billing.CustomPricingUnit
,V2.Billing.IntentAction
,V2.Billing.Intent
,V2.Billing.LicenseFeeSubscription
,V2.Billing.LicenseFeeVersion
,V2.Billing.LicenseFee
,V2.Billing.LicensedItem
,V2.Billing.MeteredItem
,V2.Billing.PricingPlanComponent
,V2.Billing.PricingPlanSubscription
,V2.Billing.PricingPlanVersion
,V2.Billing.PricingPlan
,V2.Billing.Profile
,V2.Billing.RateCardRate
,V2.Billing.RateCardSubscription
,V2.Billing.RateCardVersion
,V2.Billing.RateCard
,V2.Billing.ServiceAction
,V2.Core.ClaimableSandbox
,V2.Reporting.ReportRun
,V2.Reporting.Report
, andV2.Tax.AutomaticRule
Create
,Deactivate
,Find
,Get
, andUpdate
methods on resourceV2.Tax.AutomaticRule
Create
andGet
methods on resourcesV2.Billing.ServiceAction
andV2.Reporting.ReportRun
Get
method on resourcesV2.Billing.LicenseFeeSubscription
andV2.Reporting.Report
Create
method on resourcesV2.AccountLink
andV2.Core.ClaimableSandbox
Cancel
,Create
,Get
,List
, andUpdate
methods on resourcesV2.Billing.Cadence
andV2.Billing.RateCardSubscription
Create
,Get
,List
, andUpdate
methods on resourcesV2.Billing.BillSetting
,V2.Billing.CollectionSetting
,V2.Billing.CustomPricingUnit
,V2.Billing.LicenseFee
,V2.Billing.LicensedItem
,V2.Billing.MeteredItem
,V2.Billing.PricingPlan
,V2.Billing.Profile
, andV2.Billing.RateCard
Get
andList
methods on resourcesV2.Billing.BillSettingVersion
,V2.Billing.CollectionSettingVersion
,V2.Billing.IntentAction
,V2.Billing.LicenseFeeVersion
,V2.Billing.PricingPlanSubscription
,V2.Billing.PricingPlanVersion
, andV2.Billing.RateCardVersion
Create
,Delete
,Get
, andList
methods on resourceV2.Billing.RateCardRate
Create
,Delete
,Get
,List
, andUpdate
methods on resourceV2.Billing.PricingPlanComponent
Cancel
,Commit
,Create
,Get
,List
,ReleaseReservation
, andReserve
methods on resourceV2.Billing.Intent
Close
,Create
,Get
,List
, andUpdate
methods on resourceV2.Account
Changes
onV2.Event
AccountConfigurationRecipientDataAccountLinkCompletedEvent
,AccountConfigurationRecipientDataFeatureStatusUpdatedEvent
, andAccountRequirementsUpdatedEvent
with related objectV2.Account
V2BillingCadenceBilledEvent
,V2BillingCadenceCanceledEvent
,V2BillingCadenceCreatedEvent
, andV2BillingCadenceErroredEvent
with related objectV2.Billing.Cadence
V2BillingLicenseFeeCreatedEvent
andV2BillingLicenseFeeUpdatedEvent
with related objectV2.Billing.LicenseFee
V2BillingLicenseFeeVersionCreatedEvent
with related objectV2.Billing.LicenseFeeVersion
V2BillingLicensedItemCreatedEvent
andV2BillingLicensedItemUpdatedEvent
with related objectV2.Billing.LicensedItem
V2BillingMeteredItemCreatedEvent
andV2BillingMeteredItemUpdatedEvent
with related objectV2.Billing.MeteredItem
V2BillingPricingPlanCreatedEvent
andV2BillingPricingPlanUpdatedEvent
with related objectV2.Billing.PricingPlan
V2BillingPricingPlanComponentCreatedEvent
andV2BillingPricingPlanComponentUpdatedEvent
with related objectV2.Billing.PricingPlanComponent
V2BillingPricingPlanSubscriptionCollectionAwaitingCustomerActionEvent
,V2BillingPricingPlanSubscriptionCollectionCurrentEvent
,V2BillingPricingPlanSubscriptionCollectionPastDueEvent
,V2BillingPricingPlanSubscriptionCollectionPausedEvent
,V2BillingPricingPlanSubscriptionCollectionUnpaidEvent
,V2BillingPricingPlanSubscriptionServicingActivatedEvent
,V2BillingPricingPlanSubscriptionServicingCanceledEvent
, andV2BillingPricingPlanSubscriptionServicingPausedEvent
with related objectV2.Billing.PricingPlanSubscription
V2BillingPricingPlanVersionCreatedEvent
with related objectV2.Billing.PricingPlanVersion
V2BillingRateCardCreatedEvent
andV2BillingRateCardUpdatedEvent
with related objectV2.Billing.RateCard
V2BillingRateCardRateCreatedEvent
with related objectV2.Billing.RateCardRate
V2BillingRateCardSubscriptionActivatedEvent
,V2BillingRateCardSubscriptionCanceledEvent
,V2BillingRateCardSubscriptionCollectionAwaitingCustomerActionEvent
,V2BillingRateCardSubscriptionCollectionCurrentEvent
,V2BillingRateCardSubscriptionCollectionPastDueEvent
,V2BillingRateCardSubscriptionCollectionPausedEvent
,V2BillingRateCardSubscriptionCollectionUnpaidEvent
,V2BillingRateCardSubscriptionServicingActivatedEvent
,V2BillingRateCardSubscriptionServicingCanceledEvent
, andV2BillingRateCardSubscriptionServicingPausedEvent
with related objectV2.Billing.RateCardSubscription
V2BillingRateCardVersionCreatedEvent
with related objectV2.Billing.RateCardVersion
V2CoreHealthApiErrorFiringEvent
,V2CoreHealthApiErrorResolvedEvent
,V2CoreHealthApiLatencyFiringEvent
,V2CoreHealthApiLatencyResolvedEvent
,V2CoreHealthAuthorizationRateDropFiringEvent
,V2CoreHealthAuthorizationRateDropResolvedEvent
,V2CoreHealthEventGenerationFailureResolvedEvent
,V2CoreHealthFraudRateIncreasedEvent
,V2CoreHealthIssuingAuthorizationRequestTimeoutFiringEvent
,V2CoreHealthIssuingAuthorizationRequestTimeoutResolvedEvent
,V2CoreHealthPaymentMethodErrorFiringEvent
,V2CoreHealthPaymentMethodErrorResolvedEvent
,V2CoreHealthTrafficVolumeDropFiringEvent
,V2CoreHealthTrafficVolumeDropResolvedEvent
,V2CoreHealthWebhookLatencyFiringEvent
, andV2CoreHealthWebhookLatencyResolvedEvent
V2ReportingReportRunCreatedEvent
,V2ReportingReportRunFailedEvent
,V2ReportingReportRunSucceededEvent
, andV2ReportingReportRunUpdatedEvent
with related objectV2.Reporting.ReportRun
RateLimitException
See the changelog for more details.
48.5.0
2025-08-27.basil
.BalanceReport
,PayoutDetails
, andPayoutReconciliationReport
onAccountSession.Components
andAccountSessionComponentsOptions
Name
onBillingPortal.ConfigurationCreateOptions
,BillingPortal.ConfigurationUpdateOptions
, andBillingPortal.Configuration
Installments
onCharge.PaymentMethodDetails.Alma
TransactionId
onCharge.PaymentMethodDetails.Alma
,Charge.PaymentMethodDetails.AmazonPay
,Charge.PaymentMethodDetails.Billie
,Charge.PaymentMethodDetails.KakaoPay
,Charge.PaymentMethodDetails.KrCard
,Charge.PaymentMethodDetails.NaverPay
,Charge.PaymentMethodDetails.Payco
,Charge.PaymentMethodDetails.RevolutPay
,Charge.PaymentMethodDetails.SamsungPay
, andCharge.PaymentMethodDetails.Satispay
Location
andReader
onCharge.PaymentMethodDetails.Paynow
AmountIncludesIof
onCheckout.Session.PaymentMethodOptions.Pix
,CheckoutSessionPaymentMethodOptionsPixOptions
,PaymentIntent.PaymentMethodOptions.Pix
, andPaymentIntentPaymentMethodOptionsPixOptions
Metadata
andPeriod
onInvoiceScheduleDetailsPhaseAddInvoiceItemOptions
,SubscriptionAddInvoiceItemOptions
,SubscriptionSchedule.Phase.AddInvoiceItem
, andSubscriptionSchedulePhaseAddInvoiceItemOptions
ExpMonth
andExpYear
onIssuing.CardCreateOptions
ExcludedPaymentMethodTypes
onPaymentIntentCreateOptions
andPaymentIntent
PayoutMethod
onPayoutCreateOptions
andPayout
Mxn
onTerminal.Configuration.Tipping
andTerminalConfigurationTippingOptions
Card
onTerminal.TestHelpersReaderPresentPaymentMethodOptions
See the changelog for more details.
48.5.0-beta.2
#3160 Bring back invoice payments APIs that were missing in the public preview SDKs
InvoicePayment
Get
andList
methods on resourceInvoicePayment
#3155 Fix links to pinned api versions in CHANGELOG.md in beta branch
See the changelog for more details.
48.5.0-beta.1
This release changes the pinned API version to
2025-07-30.preview
.Billing.MeterUsageRow
,Billing.MeterUsage
, andTerminal.OnboardingLink
Get
method on resourceBilling.MeterUsage
Create
method on resourceTerminal.OnboardingLink
MonthlyPayoutDays
andWeeklyPayoutDays
onBalanceSettings.Payouts.Schedule
andBalanceSettingsPayoutsScheduleOptions
MonthlyAnchor
andWeeklyAnchor
onBalanceSettings.Payouts.Schedule
andBalanceSettingsPayoutsScheduleOptions
DelayDaysOverride
onBalanceSettingsSettlementTimingOptions
DelayDays
onBalanceSettingsSettlementTimingOptions
UpdateDiscounts
onCheckoutSessionPermissionsOptions
Discounts
andSubscriptionData
onCheckout.SessionUpdateOptions
SmartDisputes
onDispute
Upi
onInvoice.PaymentSettings.PaymentMethodOptions
,InvoicePaymentSettingsPaymentMethodOptionsOptions
,QuotePreviewInvoice.PaymentSettings.PaymentMethodOptions
,Subscription.PaymentSettings.PaymentMethodOptions
, andSubscriptionPaymentSettingsPaymentMethodOptionsOptions
TransactionId
onPaymentAttemptRecord.PaymentMethodDetails.Cashapp
andPaymentRecord.PaymentMethodDetails.Cashapp
AmountDetails
onPaymentIntentCaptureOptions
,PaymentIntentConfirmOptions
,PaymentIntentCreateOptions
,PaymentIntentIncrementAuthorizationOptions
, andPaymentIntentUpdateOptions
PaymentDetails
onPaymentIntentIncrementAuthorizationOptions
Storer
onV2.Core.Account.Identity.Attestations.TermsOfService
andV2CoreAccountIdentityAttestationsTermsOfServiceOptions
CollectionOptions
onV2.Core.AccountLink.UseCase.AccountOnboarding
,V2.Core.AccountLink.UseCase.AccountUpdate
,V2CoreAccountLinkUseCaseAccountOnboardingOptions
, andV2CoreAccountLinkUseCaseAccountUpdateOptions
V2.Core.AccountLink.UseCase.AccountOnboarding.Configurations
,V2.Core.AccountLink.UseCase.AccountUpdate.Configurations
,V2CoreAccountLinkUseCaseAccountOnboardingOptions.Configurations
, andV2CoreAccountLinkUseCaseAccountUpdateOptions.Configurations
fromliteral('recipient')
toenum('customer'|'merchant'|'recipient'|'storer')
BankAccountType
onV2.MoneyManagement.PayoutMethod.BankAccount
V2CoreAccountLinkReturnedEvent
V2MoneyManagementPayoutMethodUpdatedEvent
with related objectV2.MoneyManagement.PayoutMethod
V2CoreAccountLinkCompletedEvent
V2OffSessionPaymentRequiresCaptureEvent
with related objectV2.Payments.OffSessionPayment
See the changelog for more details.
48.4.0
This release changes the pinned API version to
2025-07-30.basil
.InstantPayoutsPromotion
onAccountSession.Components
andAccountSessionComponentsOptions
AdjustableQuantity
onBillingPortal.Configuration.Features.SubscriptionUpdate.Products
andBillingPortalConfigurationFeaturesSubscriptionUpdateProductsOptions
TransactionId
onCharge.PaymentMethodDetails.Cashapp
OriginContext
onCheckout.SessionCreateOptions
andCheckout.Session
Template
onCheckout.Session.InvoiceCreation.InvoiceData.RenderingOptions
,CheckoutSessionInvoiceCreationInvoiceDataRenderingOptionsOptions
,PaymentLink.InvoiceCreation.InvoiceData.RenderingOptions
, andPaymentLinkInvoiceCreationInvoiceDataRenderingOptionsOptions
SetupFutureUsage
onCheckout.Session.PaymentMethodOptions.Pix
andCheckoutSessionPaymentMethodOptionsPixOptions
Duration
onInvoiceScheduleDetailsPhaseOptions
andSubscriptionSchedulePhaseOptions
PriceData
onPaymentLinkLineItemOptions
Standard
onTax.Registration.CountryOptions.Ae
,Tax.Registration.CountryOptions.Au
,Tax.Registration.CountryOptions.Ch
,Tax.Registration.CountryOptions.Gb
,Tax.Registration.CountryOptions.Jp
,Tax.Registration.CountryOptions.No
,Tax.Registration.CountryOptions.Nz
,Tax.Registration.CountryOptions.Sg
,TaxRegistrationCountryOptionsAeOptions
,TaxRegistrationCountryOptionsAlOptions
,TaxRegistrationCountryOptionsAoOptions
,TaxRegistrationCountryOptionsAuOptions
,TaxRegistrationCountryOptionsAwOptions
,TaxRegistrationCountryOptionsBaOptions
,TaxRegistrationCountryOptionsBbOptions
,TaxRegistrationCountryOptionsBdOptions
,TaxRegistrationCountryOptionsBfOptions
,TaxRegistrationCountryOptionsBhOptions
,TaxRegistrationCountryOptionsBsOptions
,TaxRegistrationCountryOptionsCdOptions
,TaxRegistrationCountryOptionsChOptions
,TaxRegistrationCountryOptionsEtOptions
,TaxRegistrationCountryOptionsGbOptions
,TaxRegistrationCountryOptionsGnOptions
,TaxRegistrationCountryOptionsIsOptions
,TaxRegistrationCountryOptionsJpOptions
,TaxRegistrationCountryOptionsMeOptions
,TaxRegistrationCountryOptionsMkOptions
,TaxRegistrationCountryOptionsMrOptions
,TaxRegistrationCountryOptionsNoOptions
,TaxRegistrationCountryOptionsNzOptions
,TaxRegistrationCountryOptionsOmOptions
,TaxRegistrationCountryOptionsRsOptions
,TaxRegistrationCountryOptionsSgOptions
,TaxRegistrationCountryOptionsSrOptions
,TaxRegistrationCountryOptionsUyOptions
,TaxRegistrationCountryOptionsZaOptions
, andTaxRegistrationCountryOptionsZwOptions
Aed
,Bgn
,Huf
, andRon
onTerminal.Configuration.Tipping
andTerminalConfigurationTippingOptions
StripeClient
service accessorsSee the changelog for more details.
48.4.0-beta.2
Close
andCreate
methods on resourceV2.MoneyManagement.FinancialAccount
Storer
onV2.Core.Account.Configuration
andV2CoreAccountConfigurationOptions
StatusDetails
onV2.MoneyManagement.FinancialAccount
Status
onV2.MoneyManagement.FinancialAccountListOptions
V2CoreAccountIncludingConfigurationStorerCapabilityStatusUpdatedEvent
andV2CoreAccountIncludingConfigurationStorerUpdatedEvent
with related objectV2.Core.Account
AlreadyExistsException
andNonZeroBalanceException
See the changelog for more details.
48.4.0-beta.1
This release changes the pinned API version to
2025-06-30.preview
.CheckoutSessionSubscriptionDataOptions.BillingMode
,InvoiceScheduleDetailsOptions.BillingMode
,InvoiceSubscriptionDetailsOptions.BillingMode
,Quote.SubscriptionData.BillingMode
,QuoteSubscriptionDataOptions.BillingMode
,SubscriptionCreateOptions.BillingMode
, andSubscriptionScheduleCreateOptions.BillingMode
fromenum('classic'|'flexible')
tobilling_mode
SubmissionMethod
onDispute.EvidenceDetails
OnDemand
andSubscriptions
onOrderPaymentSettingsPaymentMethodOptionsKlarnaOptions
Order.Payment.Settings.PaymentMethodOptions.Klarna.SetupFutureUsage
andOrderPaymentSettingsPaymentMethodOptionsKlarnaOptions.SetupFutureUsage
fromliteral('none')
toenum('none'|'off_session'|'on_session')
Crypto
onPaymentAttemptRecord.PaymentMethodDetails
andPaymentRecord.PaymentMethodDetails
PaymentIntent.PaymentMethodOptions.Gopay.SetupFutureUsage
andPaymentIntentPaymentMethodOptionsGopayOptions.SetupFutureUsage
fromliteral('none')
toenum('none'|'off_session')
QuotePreviewSubscriptionSchedule.BillingMode
,Subscription.BillingMode
, andSubscriptionSchedule.BillingMode
fromenum('classic'|'flexible')
toSubscriptionsResourceBillingMode
SubscriptionMigrateOptions.BillingMode
fromliteral('flexible')
tobilling_mode_migrate
BillingModeDetails
onSubscription
ProofOfAddress
onV2.Core.Account.Identity.BusinessDetails.Documents
andV2CoreAccountIdentityBusinessDetailsDocumentsOptions
Metadata
onV2.MoneyManagement.FinancialAccount
Description
onV2.MoneyManagement.FinancialAccount
Attempts
onV2.Payments.OffSessionPayment
V2.Payments.OffSessionPayment.TransferData.Amount
frominteger
tonullable(integer)
FromAccount
,OutboundPayment
, andOutboundTransfer
onV2.MoneyManagement.ReceivedCredit.BalanceTransfer
V2.MoneyManagement.ReceivedCredit.BalanceTransfer.Type
fromliteral('payout_v1')
toenum('outbound_payment'|'outbound_transfer'|'payout_v1')
See the changelog for more details.
48.3.0
Migrate
method on resourceSubscription
CollectPaymentMethod
andConfirmPaymentIntent
methods on resourceTerminal.Reader
CryptoPayments
onAccount.Capabilities
andAccountCapabilitiesOptions
ProofOfAddress
onAccountDocumentsOptions
MonthlyPayoutDays
andWeeklyPayoutDays
onAccount.Settings.Payouts.Schedule
andAccountSettingsPayoutsScheduleOptions
Crypto
onCharge.PaymentMethodDetails
,ConfirmationToken.PaymentMethodPreview
,ConfirmationTokenPaymentMethodDataOptions
,PaymentIntent.PaymentMethodOptions
,PaymentIntentPaymentMethodDataOptions
,PaymentIntentPaymentMethodOptionsOptions
,PaymentMethodCreateOptions
,PaymentMethod
, andSetupIntentPaymentMethodDataOptions
Charge.PaymentMethodDetails.Card.Installments.Plan.Type
,ConfirmationToken.PaymentMethodOptions.Card.Installments.Plan.Type
,ConfirmationTokenPaymentMethodOptionsCardInstallmentsPlanOptions.Type
,InvoicePaymentSettingsPaymentMethodOptionsCardInstallmentsPlanOptions.Type
,PaymentIntent.PaymentMethodOptions.Card.Installments.AvailablePlans.Type
,PaymentIntent.PaymentMethodOptions.Card.Installments.Plan.Type
, andPaymentIntentPaymentMethodOptionsCardInstallmentsPlanOptions.Type
fromliteral('fixed_count')
toenum('bonus'|'fixed_count'|'revolving')
Subscriptions
onCheckoutSessionPaymentMethodOptionsKlarnaOptions
andPaymentIntentPaymentMethodOptionsKlarnaOptions
BillingMode
onCheckoutSessionSubscriptionDataOptions
,InvoiceScheduleDetailsOptions
,InvoiceSubscriptionDetailsOptions
,Quote.SubscriptionData
,QuoteSubscriptionDataOptions
,SubscriptionCreateOptions
,SubscriptionScheduleCreateOptions
,SubscriptionSchedule
, andSubscription
Dispute.EnhancedEligibilityTypes
fromliteral('visa_compelling_evidence_3')
toenum('visa_compelling_evidence_3'|'visa_compliance')
RelatedPerson
onIdentity.VerificationSessionCreateOptions
andIdentity.VerificationSession
Matching
onIdentity.VerificationSession.Options
Klarna
onMandate.PaymentMethodDetails
,SetupIntent.PaymentMethodOptions
, andSetupIntentPaymentMethodOptionsOptions
OnDemand
onPaymentIntentPaymentMethodOptionsKlarnaOptions
PaymentIntent.PaymentMethodOptions.Klarna.SetupFutureUsage
andPaymentIntentPaymentMethodOptionsKlarnaOptions.SetupFutureUsage
fromliteral('none')
toenum('none'|'off_session'|'on_session')
Ua
onTax.Registration.CountryOptions
andTaxRegistrationCountryOptionsOptions
Terminal.LocationUpdateOptions.DisplayName
fromstring
toemptyable(string)
CollectPaymentMethod
andConfirmPaymentIntent
onTerminal.Reader.Action
Status
onTreasury.FinancialAccountListOptions
TerminalReaderActionUpdated
with resourceTerminal.Reader
See the changelog for more details.
48.3.0-beta.2
See the changelog for more details.
48.3.0-beta.1
This release changes the pinned API version to
2025-05-28.preview
.#3123 Update generated code for beta
Breaking changes
Billing.MeterErrorReport
,GiftCards.Card
,GiftCards.Transaction
, andPrivacy.RedactionJobRootObjects
Create
,Get
,List
,Update
, andValidate
methods on resourceGiftCards.Card
Cancel
,Confirm
,Create
,Get
,List
, andUpdate
methods on resourceGiftCards.Transaction
Provisioning
onProductCreateOptions
andProduct
CheckoutSessionLineItemOptions.Quantity
fromemptyable(longInteger)
tolongInteger
InvoiceSubscriptionDetailsOptions.CancelAt
,SubscriptionCreateOptions.CancelAt
, andSubscriptionUpdateOptions.CancelAt
fromDateTime
toDateTime | enum('max_period_end'|'min_period_end')
Credits
onOrderCreateOptions
,OrderUpdateOptions
, andOrder
AmountRemaining
onOrder
AmountCredit
onOrder.TotalDetails
AsyncWorkflows
onPaymentIntentCaptureOptions
,PaymentIntentConfirmOptions
,PaymentIntentCreateOptions
,PaymentIntentDecrementAuthorizationOptions
,PaymentIntentIncrementAuthorizationOptions
,PaymentIntentUpdateOptions
, andPaymentIntent
PaymentRecordReportPaymentAttemptCanceledOptions.Metadata
,PaymentRecordReportPaymentAttemptFailedOptions.Metadata
,PaymentRecordReportPaymentAttemptGuaranteedOptions.Metadata
,PaymentRecordReportPaymentAttemptOptions.Metadata
, andPaymentRecordReportPaymentOptions.Metadata
frommap(string: string)
toemptyable(map(string: string))
Privacy.RedactionJob.Objects
from$Privacy.RedactionJobRootObjects
toRedactionResourceRootObjects
Privacy.RedactionJobValidationError.ErroringObject
frommap(string: string)
toRedactionResourceErroringObject
StatusDetails
andStatus
onTax.Association
BillingMeterErrorReportTriggered
with resourceBilling.MeterErrorReport
Other changes
Migrate
method on resourceSubscription
Distance
,PickupLocationName
,ReturnLocationName
, andVehicleIdentificationNumber
onChargePaymentDetailsCarRentalOptions
,PaymentIntent.PaymentDetails.CarRental
, andPaymentIntentPaymentDetailsCarRentalOptions
DriverIdentificationNumber
andDriverTaxNumber
onChargePaymentDetailsCarRentalDriverOptions
,PaymentIntent.PaymentDetails.CarRental.Driver
, andPaymentIntentPaymentDetailsCarRentalDriverOptions
Institution
onFinancialConnections.Account
Countries
onFinancialConnections.Institution
Location
andReader
onPaymentAttemptRecord.PaymentMethodDetails.Affirm
,PaymentAttemptRecord.PaymentMethodDetails.WechatPay
,PaymentRecord.PaymentMethodDetails.Affirm
, andPaymentRecord.PaymentMethodDetails.WechatPay
Hooks
onPaymentIntentCaptureOptions
,PaymentIntentConfirmOptions
,PaymentIntentCreateOptions
,PaymentIntentDecrementAuthorizationOptions
,PaymentIntentIncrementAuthorizationOptions
,PaymentIntentUpdateOptions
, andPaymentIntent
CardPresent
onPaymentIntentAmountDetailsLineItem.PaymentMethodOptions
Livemode
onPrivacy.RedactionJob
BillingThresholds
onQuotePreviewSubscriptionSchedule.DefaultSettings
,QuotePreviewSubscriptionSchedule.Phase.Item
, andQuotePreviewSubscriptionSchedule.Phase
BillingModeDetails
onSubscription
TaxTransactionAttempts
onTax.Association
ConfirmConfig
onTerminal.Reader.Action.ConfirmPaymentIntent
andTerminal.ReaderConfirmPaymentIntentOptions
See the changelog for more details.
48.2.0
This release changes the pinned API version to
2025-05-28.basil
.AttachPayment
method on resourceInvoice
CollectInputs
method on resourceTerminal.Reader
SucceedInputCollection
andTimeoutInputCollection
test helper methods on resourceTerminal.Reader
PixPayments
onAccount.Capabilities
andAccountCapabilitiesOptions
DisputesList
andPaymentDisputes
onAccountSession.Components
andAccountSessionComponentsOptions
RefundAndDisputePrefunding
onBalance
BalanceType
onBalanceTransaction
Location
andReader
onCharge.PaymentMethodDetails.Affirm
andCharge.PaymentMethodDetails.WechatPay
PaymentMethodRemove
onCheckoutSessionSavedPaymentMethodOptionsOptions
SetupFutureUsage
onCheckout.Session.PaymentMethodOptions.NaverPay
PostPaymentAmount
andPrePaymentAmount
onCreditNote
Sex
,UnparsedPlaceOfBirth
, andUnparsedSex
onIdentity.VerificationReport.Document
andIdentity.VerificationSession.VerifiedOutputs
BillingThresholds
onInvoiceScheduleDetailsPhaseItemOptions
,InvoiceScheduleDetailsPhaseOptions
,InvoiceSubscriptionDetailsItemOptions
,SubscriptionCreateOptions
,SubscriptionItemCreateOptions
,SubscriptionItemOptions
,SubscriptionItemUpdateOptions
,SubscriptionItem
,SubscriptionSchedule.DefaultSettings
,SubscriptionSchedule.Phase.Item
,SubscriptionSchedule.Phase
,SubscriptionScheduleDefaultSettingsOptions
,SubscriptionSchedulePhaseItemOptions
,SubscriptionSchedulePhaseOptions
,SubscriptionUpdateOptions
, andSubscription
Satispay
onPaymentIntent.PaymentMethodOptions
andPaymentIntentPaymentMethodOptionsOptions
CaptureMethod
onPaymentIntent.PaymentMethodOptions.Billie
KakaoPay
,KrCard
,NaverPay
,Payco
, andSamsungPay
onPaymentMethodConfigurationCreateOptions
,PaymentMethodConfigurationUpdateOptions
, andPaymentMethodConfiguration
NetworkDeclineCode
onRefund.DestinationDetails.Paypal
Metadata
onTax.CalculationLineItem
andTaxCalculationLineItemOptions
ReturnUrl
onTerminal.Reader.Action.ProcessPaymentIntent.ProcessConfig
andTerminalReaderProcessConfigOptions
CollectInputs
onTerminal.Reader.Action
InvoicePaymentPaid
with resourceInvoicePayment
See the changelog for more details.
48.2.0-beta.2
Release specs are identical.
See the changelog for more details.
48.2.0-beta.1
#3107 Update generated code for beta
This release changes the pinned API version to
2025-04-30.preview
.BillingMode
onCheckoutSessionSubscriptionDataOptions
,InvoiceScheduleDetailsOptions
,InvoiceSubscriptionDetailsOptions
,Quote.SubscriptionData
,QuotePreviewSubscriptionSchedule
,QuoteSubscriptionDataOptions
,SubscriptionCreateOptions
,SubscriptionScheduleCreateOptions
,SubscriptionSchedule
, andSubscription
AccountNumber
onConfirmationToken.PaymentMethodPreview.AcssDebit
andPaymentMethod.AcssDebit
See the changelog for more details.
48.1.0
This release changes the pinned API version to
2025-04-30.basil
.MinorityOwnedBusinessDesignation
onAccount.BusinessProfile
andAccountBusinessProfileOptions
RegistrationDate
onAccount.Company
,AccountCompanyOptions
, andTokenAccountCompanyOptions
UsCfpbData
onAccountCreateOptions
,AccountUpdateOptions
,Person
, andTokenPersonOptions
TaxId
onCharge.BillingDetails
,ConfirmationToken.PaymentMethodPreview.BillingDetails
,ConfirmationTokenPaymentMethodDataBillingDetailsOptions
,PaymentIntentPaymentMethodDataBillingDetailsOptions
,PaymentMethod.BillingDetails
,PaymentMethodBillingDetailsOptions
, andSetupIntentPaymentMethodDataBillingDetailsOptions
WalletOptions
onCheckout.SessionCreateOptions
andCheckout.Session
Provider
onCheckout.Session.AutomaticTax
,Invoice.AutomaticTax
, andQuote.AutomaticTax
PaymentMethodOptions
onTestHelpersConfirmationTokenCreateOptions
Installments
onConfirmationToken.PaymentMethodOptions.Card
Context
onEvent
Billie
onPaymentIntent.PaymentMethodOptions
andPaymentIntentPaymentMethodOptionsOptions
Pix
onPaymentMethodConfigurationCreateOptions
,PaymentMethodConfigurationUpdateOptions
, andPaymentMethodConfiguration
Klarna
onPaymentMethodDomain
PendingReason
onRefund
Aw
,Az
,Bd
,Bf
,Bj
,Cm
,Cv
,Et
,In
,Kg
,La
, andPh
onTax.Registration.CountryOptions
andTaxRegistrationCountryOptionsOptions
See the changelog for more details.
48.1.0-beta.4
FxQuote
andPaymentIntentAmountDetailsLineItem
Create
,Get
, andList
methods on resourceFxQuote
AttachPaymentIntent
method on resourceInvoice
RegistrationDate
onAccountCompanyOptions
,AccountCompany
, andTokenAccountCompanyOptions
CustomerReference
andOrderReference
onChargePaymentDetailsOptions
,PaymentIntentPaymentDetailsOptions
, andPaymentIntentPaymentDetails
TaxId
onChargeBillingDetails
,ConfirmationTokenPaymentMethodDataBillingDetailsOptions
,ConfirmationTokenPaymentMethodPreviewBillingDetails
,PaymentIntentPaymentMethodDataBillingDetailsOptions
,PaymentMethodBillingDetailsOptions
,PaymentMethodBillingDetails
,SetupIntentPaymentMethodDataBillingDetailsOptions
, andTreasuryOutboundPaymentDestinationPaymentMethodDataBillingDetailsOptions
PriceData
onCheckoutSessionLineItemsOptions
CheckoutSessionLineItemsOptions.Quantity
fromlongInteger
toemptyable(longInteger)
Script
onCouponCreateOptions
andCoupon
Type
onCoupon
FxQuote
onPaymentIntentConfirmOptions
,PaymentIntentCreateOptions
,PaymentIntentUpdateOptions
,PaymentIntent
,TransferCreateOptions
, andTransfer
DiscountAmount
,LineItems
,Shipping
, andTax
onPaymentIntentAmountDetails
Pix
onPaymentMethodConfigurationCreateOptions
,PaymentMethodConfigurationUpdateOptions
, andPaymentMethodConfiguration
UsCfpbData
onPerson
andTokenPersonOptions
PendingReason
onRefund
Aw
,Az
,Bd
,Bj
,Et
,Kg
,La
, andPh
onTaxRegistrationCountryOptionsOptions
andTaxRegistrationCountryOptions
FxQuoteExpired
with resourceFxQuote
See the changelog for more details.
48.1.0-beta.3
Privacy.RedactionJobRootObjects
,Privacy.RedactionJobValidationError
, andPrivacy.RedactionJob
Cancel
,Create
,Get
,List
,Run
,Update
, andValidate
methods on resourceRedactionJob
Get
andList
methods on resourceRedactionJobValidationError
MinorityOwnedBusinessDesignation
onAccountBusinessProfileOptions
andAccountBusinessProfile
ExportTaxTransactions
andPaymentDisputes
onAccountSessionComponentsOptions
WalletOptions
onCheckout.SessionCreateOptions
andCheckoutSession
Klarna
onPaymentMethodDomain
In
onTaxRegistrationCountryOptionsOptions
andTaxRegistrationCountryOptions
ExternalAccount
field inExternalAccountCreateOptions
ExternalAccount
property inExternalAccountCreateOptions
from astring
to a union type.See the changelog for more details.
48.1.0-beta.2
See the changelog for more details.
48.1.0-beta.1
This release changes the pinned API version to
2025-03-31.preview
Breaking Changes
AmountOverpaid
onInvoicePayment
InvoicePayment.IsDefault
fromnullable(boolean)
toboolean
InterchangeFees
,NetTotal
,NetworkFees
, andTransactionVolume
onIssuingSettlement
PaymentAttemptRecordPaymentMethodDetails.Type
andPaymentRecordPaymentMethodDetails.Type
fromliteral('custom')
tostring
ApplicationFeeAmount
,Discount
,PaidOutOfBand
,Paid
,PaymentIntent
,Quote
,SubscriptionDetails
,SubscriptionProrationDate
,Tax
,TotalTaxAmounts
, andTransferData
onQuotePreviewInvoice
BillingThresholds
onQuotePreviewSubscriptionScheduleDefaultSettings
,QuotePreviewSubscriptionSchedulePhasesItems
, andQuotePreviewSubscriptionSchedulePhases
Coupon
onQuotePreviewSubscriptionSchedulePhases
Value
onTerminalReaderActionCollectInputsInputsSelectionChoices
,TerminalReaderActionCollectInputsInputsSelection
, andTerminalReaderInputsSelectionChoicesOptions
QuotePreviewInvoice.Parent.SubscriptionDetail.subscription
fromstring
toexpandable($Subscription)
CheckoutSession.Permission.update
to be optionalPaymentAttemptRecord.PaymentMethodDetail.type
andPaymentRecord.PaymentMethodDetail.type
fromliteral('custom')
tostring
PaymentAttemptRecord.payment_record
fromstring
tonullable(string)
PaymentAttemptRecord.PaymentMethodDetail.custom
andPaymentRecord.PaymentMethodDetail.custom
to be optionalPaymentRecord.latest_payment_attempt_record
fromstring
tonullable(string)
Order.CreateParamsPaymentSettingPaymentMethodOptionWechatPay.client
andOrder.UpdateParamsPaymentSettingPaymentMethodOptionWechatPay.client
to be optionalAdditions
BalanceSettings
Get
andUpdate
methods on resourceBalanceSettings
Create
,Delete
,Get
,List
, andUpdate
methods on a newExternalAccountService
to access cards and bank accounts made available in the new pathv1/external_accounts
StripeBalancePayments
onAccountCapabilitiesOptions
andAccountCapabilities
CustomerAccount
onBilling.CreditBalanceSummaryRetrieveOptions
,Billing.CreditBalanceTransactionListOptions
,Billing.CreditGrantCreateOptions
,Billing.CreditGrantListOptions
,BillingCreditBalanceSummary
,BillingCreditGrant
,BillingPortal.SessionCreateOptions
,BillingPortalSession
,Checkout.SessionCreateOptions
,Checkout.SessionListOptions
,CheckoutSession
,ConfirmationTokenPaymentMethodPreview
,CreditNoteListOptions
,CreditNote
,CustomerBalanceTransaction
,CustomerCashBalanceTransaction
,CustomerCashBalance
,CustomerPaymentMethod
,CustomerSessionCreateOptions
,CustomerSession
,CustomerTaxIdOwner
,CustomerTaxId
,Customer
,Discount
,FinancialConnectionsAccountAccountHolderOptions
,FinancialConnectionsAccountAccountHolder
,FinancialConnectionsSessionAccountHolderOptions
,FinancialConnectionsSessionAccountHolder
,InvoiceCreateOptions
,InvoiceCreatePreviewOptions
,InvoiceItemCreateOptions
,InvoiceItemListOptions
,InvoiceItem
,InvoiceListOptions
,Invoice
,PaymentIntentCreateOptions
,PaymentIntentListOptions
,PaymentIntentUpdateOptions
,PaymentIntent
,PaymentMethodAttachOptions
,PaymentMethod
,PromotionCodeCreateOptions
,PromotionCodeListOptions
,PromotionCode
,QuoteCreateOptions
,QuoteListOptions
,QuotePreviewInvoice
,QuotePreviewSubscriptionSchedule
,QuoteUpdateOptions
,Quote
,SetupAttempt
,SetupIntentCreateOptions
,SetupIntentListOptions
,SetupIntentUpdateOptions
,SetupIntent
,Subscription.CreateParams
,Subscription.ListParams
,SubscriptionSchedule.CreateParams
,SubscriptionSchedule.ListParams
,SubscriptionSchedule
,Subscription
,TaxIdOwnerOptions
,TaxIdOwner
, andTaxId
StripeBalance
onChargePaymentMethodDetails
,ConfirmationTokenPaymentMethodDataOptions
,ConfirmationTokenPaymentMethodPreview
,CustomerPaymentMethod
,PaymentAttemptRecordPaymentMethodDetails
,PaymentIntentPaymentMethodDataOptions
,PaymentIntentPaymentMethodOptionsOptions
,PaymentIntentPaymentMethodOptions
,PaymentMethodCreateOptions
,PaymentMethod
,PaymentRecordPaymentMethodDetails
,SetupAttemptPaymentMethodDetails
, andSetupIntentPaymentMethodDataOptions
UpdateLineItems
andUpdateShippingDetails
onCheckoutSessionPermissionsOptions
andCheckoutSessionPermissions
Provider
onCheckoutSessionAutomaticTax
,InvoiceAutomaticTax
,QuoteAutomaticTax
, andQuotePreviewInvoiceAutomaticTax
TaxCalculationReference
onCreditNoteLineItem
,CreditNotePreviewLines
,InvoiceLineItem
,LineItem
,PaymentLinkLineItem
,QuoteComputedUpfrontLineItems
,QuoteLineItem
, andSessionLineItem
PaymentMethodOptions
onTestHelpersConfirmationTokenCreateOptions
Installments
onConfirmationTokenPaymentMethodOptionsCard
Context
onEvent
RelatedCustomerAccount
onIdentity.VerificationSessionCreateOptions
,Identity.VerificationSessionListOptions
, andIdentityVerificationSession
NetworkData
onIssuingDisputeSettlementDetail
InterchangeFeesAmount
,NetTotalAmount
,NetworkFeesAmount
,OtherFeesAmount
,OtherFeesCount
, andTransactionAmount
onIssuingSettlement
ReportedBy
onPaymentAttemptRecord
AchCreditTransfer
,AchDebit
,AcssDebit
,Affirm
,AfterpayClearpay
,Alipay
,Alma
,AmazonPay
,AuBecsDebit
,BacsDebit
,Bancontact
,Blik
,Boleto
,CardPresent
,Card
,Cashapp
,CustomerBalance
,Eps
,Fpx
,Giropay
,Gopay
,Grabpay
,IdBankTransfer
,Ideal
,InteracPresent
,KakaoPay
,Klarna
,Konbini
,KrCard
,Link
,MbWay
,Mobilepay
,Multibanco
,NaverPay
,NzBankAccount
,Oxxo
,P24
,PayByBank
,Payco
,Paynow
,Paypal
,Payto
,Pix
,Promptpay
,Qris
,Rechnung
,RevolutPay
,SamsungPay
,Satispay
,SepaCreditTransfer
,SepaDebit
,Shopeepay
,Sofort
,StripeAccount
,Swish
,Twint
,UsBankAccount
,WechatPay
,Wechat
, andZip
onPaymentAttemptRecordPaymentMethodDetails
andPaymentRecordPaymentMethodDetails
Billie
onPaymentAttemptRecordPaymentMethodDetails
,PaymentIntentPaymentMethodOptionsOptions
,PaymentIntentPaymentMethodOptions
, andPaymentRecordPaymentMethodDetails
PayoutMethod
onPayoutCreateOptions
andPayout
ConfirmationSecret
,Parent
, andTotalTaxes
onQuotePreviewInvoice
Id
andText
onTerminalReaderActionCollectInputsInputsSelectionChoices
,TerminalReaderActionCollectInputsInputsSelection
, andTerminalReaderInputsSelectionChoicesOptions
New APIs for Money CardManagement
V2.FinancialAddressCreditSimulation
,V2.FinancialAddressGeneratedMicrodeposits
,V2.MoneyManagement.Adjustment
,V2.MoneyManagement.FinancialAccount
,V2.MoneyManagement.FinancialAddress
,V2.MoneyManagement.InboundTransfer
,V2.MoneyManagement.OutboundPaymentQuote
,V2.MoneyManagement.OutboundPayment
,V2.MoneyManagement.OutboundSetupIntent
,V2.MoneyManagement.OutboundTransfer
,V2.MoneyManagement.PayoutMethod
,V2.MoneyManagement.PayoutMethodsBankAccountSpec
,V2.MoneyManagement.ReceivedCredit
,V2.MoneyManagement.ReceivedDebit
,V2.MoneyManagement.TransactionEntry
, andV2.MoneyManagement.Transaction
Create
method on resourceV2.MoneyManagement.OutboundPaymentQuote
Get
andList
methods on resourcesV2.MoneyManagement.Adjustment
,V2.MoneyManagement.FinancialAccount
,V2.MoneyManagement.ReceivedCredit
,V2.MoneyManagement.ReceivedDebit
,V2.MoneyManagement.TransactionEntry
, andV2.MoneyManagement.Transaction
Create
,Get
, andList
methods on resourcesV2.MoneyManagement.FinancialAddress
andV2.MoneyManagement.InboundTransfer
... (truncated)
48.0.2
See the changelog for more details.
48.0.1
See the changelog for more details.
48.0.0
#3074 System.Text.Json Serialization Support release to GA
#3056 Support for APIs in the new API version 2025-03-31.basil
This release changes the pinned API version to
2025-03-31.basil
.Please review details for the breaking changes and alternatives in the Stripe API changelog before upgrading.
SubscriptionItemUsageRecordSummary
andSubscriptionItemUsageRecord
Create
method on resourceSubscriptionItemUsageRecord
List
,ListAsync
,ListAutoPaginating
, andListAutoPaginatingAsync
methods on resourceSubscriptionItemUsageRecordSummary
Upcoming
andUpcomingAsync
methods on resourceInvoice
Invoice
onCharge
andPaymentIntent
ShippingDetails
onCheckoutSession
Carrier
,Phone
, andTrackingNumber
onSessionCollectedInformationShippingDetails
Refund
onCreditNoteCreateOptions
,CreditNotePreviewLinesListOptions
,CreditNotePreviewOptions
, andCreditNote
TaxAmounts
onCreditNoteLineItem
,CreditNote
, andInvoiceLineItem
AmountExcludingTax
andUnitAmountExcludingTax
onCreditNoteLineItem
andInvoiceLineItem
Coupon
onCustomerCreateOptions
,CustomerUpdateOptions
,InvoiceCreatePreviewOptions
,InvoiceScheduleDetailsPhasesOptions
,SubscriptionCreateOptions
,SubscriptionSchedulePhasesOptions
,SubscriptionSchedulePhases
, andSubscriptionUpdateOptions
PromotionCode
onCustomerCreateOptions
,CustomerUpdateOptions
,SubscriptionCreateOptions
, andSubscriptionUpdateOptions
Price
onInvoiceItemCreateOptions
,InvoiceItemUpdateOptions
,InvoiceItem
,InvoiceLineItemUpdateOptions
,InvoiceLineItem
, andInvoiceLinesOptions
BillingThresholds
onInvoiceScheduleDetailsPhaseItemOptions
,InvoiceScheduleDetailsPhaseOptions
,InvoiceSubscriptionDetailsItemOptions
,SubscriptionCreateOptions
,SubscriptionItemCreateOptions
,SubscriptionItemUpdateOptions
,SubscriptionItem
,SubscriptionItemsOptions
,SubscriptionScheduleDefaultSettingsOptions
, `Subsc...Description has been truncated