Update dependency stripe/stripe-php to v19 - #106
Merged
Conversation
Contributor
Author
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This PR contains the following updates:
^18.0->^19.0Release Notes
stripe/stripe-php (stripe/stripe-php)
v19.0.0Compare Source
This release changes the pinned API version to
2025-11-17.clover.gt,gte,lt, andlteonV2\Core\Event.all().$paramsin favor ofcreated.RetrieveandListcalls for/v2endpoints now use indexed format (e.g.,?include[0]=foo&include[1]=bar) instead of repeated parameter format (e.g.,?include=foo&include=bar) when communicating with the Stripe API. This may break any unit tests that expect the latter behavior when setting up a mock server. Instead, they should now expect the former.Tax.AssociationandTerminal.OnboardingLinkfindmethod on resourceTax.Associationcreatemethod on resourceTerminal.OnboardingLinkpayment_method_configurationonBillingPortal.Configuration.features.payment_method_updatetransaction_idonCharge.payment_method_details.ideal,PaymentAttemptRecord.payment_method_details.ideal, andPaymentRecord.payment_method_details.idealfinomon enumsCharge.payment_method_details.ideal.bank,ConfirmationToken.payment_method_preview.ideal.bank,PaymentAttemptRecord.payment_method_details.ideal.bank,PaymentMethod.ideal.bank,PaymentRecord.payment_method_details.ideal.bank, andSetupAttempt.payment_method_details.ideal.bankFNOMNL22on enumsCharge.payment_method_details.ideal.bic,ConfirmationToken.payment_method_preview.ideal.bic,PaymentAttemptRecord.payment_method_details.ideal.bic,PaymentMethod.ideal.bic,PaymentRecord.payment_method_details.ideal.bic, andSetupAttempt.payment_method_details.ideal.bictokenized_account_number_deactivatedon enumsConfirmationToken.payment_method_preview.us_bank_account.status_details.blocked.reasonandPaymentMethod.us_bank_account.status_details.blocked.reasoncreatedonCustomerBalanceTransaction.all().$paramsandInvoicePayment.all().$paramsfinancial_connections.account.account_numbers_updatedandfinancial_connections.account.upcoming_account_number_expiryon enumEvent.typeaccount_numbersonFinancialConnections.AccountFinancialConnections.Session.client_secretfromstringtonullable(string)fraud_riskonIssuing\Authorization.create().$params.risk_assessmentlatest_fraud_warningonIssuing.CardhooksonPaymentIntent.capture().$params,PaymentIntent.confirm().$params,PaymentIntent.create().$params,PaymentIntent.increment_authorization().$params,PaymentIntent.update().$params, andPaymentIntentmb_wayandtwintonRefund.destination_detailsFINANCIAL_CONNECTIONS_ACCOUNT_ACCOUNT_NUMBERS_UPDATEDandFINANCIAL_CONNECTIONS_ACCOUNT_UPCOMING_ACCOUNT_NUMBER_EXPIRYwith resourceFinancialConnections.Accountv18.2.0Compare Source
capture_methodonPaymentIntent.confirm().$params.payment_method_option.card_present,PaymentIntent.create().$params.payment_method_option.card_present,PaymentIntent.payment_method_options.card_present, andPaymentIntent.update().$params.payment_method_option.card_presentv18.1.0Compare Source
This release changes the pinned API version to
2025-10-29.clover.PaymentAttemptRecord,PaymentIntentAmountDetailsLineItem, andPaymentRecordallandretrievemethods on resourcePaymentAttemptRecordreport_payment_attempt_canceled,report_payment_attempt_failed,report_payment_attempt_guaranteed,report_payment_attempt_informational,report_payment_attempt,report_payment,report_refund, andretrievemethods on resourcePaymentRecordallmethod on resourcePaymentIntentAmountDetailsLineItemrepresentative_declarationonAccount.company,Account.create().$params.company,Account.update().$params.company, andToken.create().$params.account.companyBilling\CreditGrant.create().$params.categoryto be optionalpayment_method_configurationonBillingPortal\Configuration.create().$params.feature.payment_method_updateandBillingPortal\Configuration.update().$params.feature.payment_method_updatesolanaon enumCharge.payment_method_details.crypto.networktwintonCheckout.Session.payment_method_optionsandCheckout\Session.create().$params.payment_method_optioncustomon enumsConfirmationToken.payment_method_preview.typeandPaymentMethod.typepayment_record_refundandtypeonCreditNote.create().$params.refund,CreditNote.preview().$params.refund,CreditNote.preview_lines().$params.refund, andCreditNote.refunds[]customer_sheetandmobile_payment_elementonCustomerSession.componentsandCustomerSession.create().$params.componentprovideronCustomer.taxbalance_settings.updatedandinvoice.payment_attempt_requiredon enumEvent.typeplatform_terms_of_serviceon enumFile.purposepayment_recordonInvoice.attach_payment().$params,InvoicePayment.all().$params.payment, andInvoicePayment.paymentInvoicePayment.all().$params.payment.typefromliteral('payment_intent')toenum('payment_intent'|'payment_record')customon enumsInvoice.payment_settings.payment_method_typesandSubscription.payment_settings.payment_method_typesamount_detailsonPaymentIntent.capture().$params,PaymentIntent.confirm().$params,PaymentIntent.create().$params,PaymentIntent.increment_authorization().$params, andPaymentIntent.update().$paramspayment_detailsonPaymentIntent.capture().$params,PaymentIntent.confirm().$params,PaymentIntent.create().$params,PaymentIntent.increment_authorization().$params,PaymentIntent.update().$params, andPaymentIntentdiscount_amount,line_items,shipping, andtaxonPaymentIntent.amount_detailsname_collectiononPaymentLink.create().$params,PaymentLink.update().$params, andPaymentLinkmb_wayon enumPaymentLink.payment_method_typescryptoonPaymentMethodConfiguration.create().$params,PaymentMethodConfiguration.update().$params,PaymentMethodConfiguration, andRefund.destination_detailsmb_wayonPaymentMethodConfiguration.create().$params,PaymentMethodConfiguration.update().$params, andPaymentMethodConfigurationcustomonPaymentMethod.create().$paramsandPaymentMethodexcluded_payment_method_typesonSetupIntent.create().$params,SetupIntent.update().$params, andSetupIntenttwonTax.Registration.country_optionsandTax\Registration.create().$params.country_optiongiponTerminal.Configuration.tipping,Terminal\Configuration.create().$params.tipping, andTerminal\Configuration.update().$params.tippinglast_seen_atonTerminal.Readergt,gte,lt,lte, andtypesonV2\Core\Event.all().$paramsV2\Core\Event.all().$params.object_idto be optionalBALANCE_SETTINGS_UPDATEDwith resourceBalanceSettingsINVOICE_PAYMENT_ATTEMPT_REQUIREDwith resourceInvoicepayment_intent_rate_limit_exceededonInvoice.last_finalization_error,PaymentIntent.last_payment_error,SetupAttempt.setup_error,SetupIntent.last_setup_error, andStripeErrorv18.0.0Compare Source
This release changes the pinned API version to⚠️ below)
2025-09-30.cloverand contains breaking changes (prefixed with#1903⚠️ 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.
EventNotificationclasses for every v2Event. For example, there's now aV1BillingMeterErrorReportTriggeredEventNotificationto match the existingV1BillingMeterErrorReportTriggeredEvent. Each of these interfaces 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->parseThinEventtoStripeClient->parseEventNotificationand remove theThinEventclass.Stripe\V2\Core\EventNotification(which is the shared base class that all of the more specificStripe\*EventNotificationsclasses share) instead ofThinEvent. When applicable, these event notifications will have therelatedObjectproperty and afetchRelatedObject()function. They also have afetchEvent()method to retrieve their correspondingStripe\Event\*Eventinstance.Stripe\Events\UnknownEventNotificationinstead of a more specific type. It has both therelatedObjectproperty and theFetchRelatedObject()function (but they may be/returnnull)Util::json_decode_thin_event_object. Its functionality was folded into the new\Stripe\V2\EventNotification::fromJsonmethod.#1925 add version deprecation note to README
#1921 Update generated code
Invoice.idto be required.#1923 Update generated code
balance_reportandpayout_reconciliation_reportonAccountSession.componentsandAccountSession.create().$params.component#1920 Move
V2.EventAPI resources toV2.Core.EventsEvent,RelatedObject, etc) fromStripe\V2toStripe\V2\Core. They now correctly match their API path and are in line with all other resources. To update your code:#1916 Add
StripeContextobjectStripeContextclass. Previously you could only send a string forstripe-contextheader.EventNotification(formerly known asThinEvent)'scontextproperty fromstringtoStripeContext#1905 Added StripeContext, StripeAccount and StripeVersion to BaseStripeClientInterface
getStripeContext,getStripeVersionandgetStripeAccounttoBaseStripeClientInterface. Users with custom StripeClient that implementStripeClientInterface,StripeStreamingClientInterfaceorBaseStripeClientInterfacewill have to add implementations for these methods.#1898⚠️ Build SDK w/ V2 OpenAPI spec
StripeClient.v2namespace) now return aV2DeletedObjectwhich has the id of the object that has been deleted and a string representing the type of the object that has been deleted.EventDestinationchanged fromsomething: null|stringtosomething?: string#1900, #1912 Update generated code based on incoming API changes in the
2025-09-30.cloverAPI version.linkandpay_by_bankonPaymentMethod.update().$paramscoupononDiscount,PromotionCode.create().$params, andPromotionCode. UseDiscount.source.coupon,PromotionCode.create().$params.promotion.code, andPromotionCode.promotion.codeinstead.saturdayandsundayfrom enumAccount.settings.payouts.schedule.weekly_payout_daysiterationsonInvoice.create_preview().$params.schedule_detail.phase,SubscriptionSchedule.create().$params.phase, andSubscriptionSchedule.update().$params.phasepreventedon enumDispute.statusBalanceSettingsretrieveandupdatemethods on resourceBalanceSettingsexternal_requestandunsupported_business_typeon enumsAccount.future_requirements.errors[].code,Account.requirements.errors[].code,BankAccount.future_requirements.errors[].code,BankAccount.requirements.errors[].code,Capability.future_requirements.errors[].code,Capability.requirements.errors[].code,Person.future_requirements.errors[].code, andPerson.requirements.errors[].codesourceonDiscountmb_way_paymentsonAccount.capabilities,Account.create().$params.capability, andAccount.update().$params.capabilitytrial_update_behavioronBillingPortal.Configuration.features.subscription_update,BillingPortal\Configuration.create().$params.feature.subscription_update, andBillingPortal\Configuration.update().$params.feature.subscription_updatemb_wayonCharge.payment_method_details,ConfirmationToken.create().$params.payment_method_datum,ConfirmationToken.payment_method_preview,PaymentIntent.confirm().$params.payment_method_datum,PaymentIntent.confirm().$params.payment_method_option,PaymentIntent.create().$params.payment_method_datum,PaymentIntent.create().$params.payment_method_option,PaymentIntent.payment_method_options,PaymentIntent.update().$params.payment_method_datum,PaymentIntent.update().$params.payment_method_option,PaymentMethod.create().$params,PaymentMethod,SetupIntent.confirm().$params.payment_method_datum,SetupIntent.create().$params.payment_method_datum, andSetupIntent.update().$params.payment_method_datumbranding_settingsandname_collectiononCheckout.SessionandCheckout\Session.create().$paramsexcluded_payment_method_typesonCheckout.Session,Checkout\Session.create().$params,PaymentIntent.confirm().$params, andPaymentIntent.update().$paramsunit_labelonCheckout\Session.create().$params.line_item.price_datum.product_datum,Invoice.add_lines().$params.line.price_datum.product_datum,Invoice.update_lines().$params.line.price_datum.product_datum,InvoiceLineItem.update().$params.price_datum.product_datum, andPaymentLink.create().$params.line_item.price_datum.product_datumalma,billie, andsatispayonCheckout.Session.payment_method_optionsandCheckout\Session.create().$params.payment_method_optiondemo_payonCheckout\Session.create().$params.payment_method_optioncapture_methodonCheckout.Session.payment_method_options.affirm,Checkout.Session.payment_method_options.afterpay_clearpay,Checkout.Session.payment_method_options.amazon_pay,Checkout.Session.payment_method_options.card,Checkout.Session.payment_method_options.cashapp,Checkout.Session.payment_method_options.klarna,Checkout.Session.payment_method_options.link,Checkout.Session.payment_method_options.mobilepay,Checkout.Session.payment_method_options.revolut_pay,Checkout\Session.create().$params.payment_method_option.affirm,Checkout\Session.create().$params.payment_method_option.afterpay_clearpay,Checkout\Session.create().$params.payment_method_option.amazon_pay,Checkout\Session.create().$params.payment_method_option.card,Checkout\Session.create().$params.payment_method_option.cashapp,Checkout\Session.create().$params.payment_method_option.klarna,Checkout\Session.create().$params.payment_method_option.link,Checkout\Session.create().$params.payment_method_option.mobilepay, andCheckout\Session.create().$params.payment_method_option.revolut_payflexibleonCheckout\Session.create().$params.subscription_datum.billing_mode,Invoice.create_preview().$params.schedule_detail.billing_mode,Invoice.create_preview().$params.subscription_detail.billing_mode,Quote.create().$params.subscription_datum.billing_mode,Quote.subscription_data.billing_mode,Subscription.billing_mode,Subscription.create().$params.billing_mode,Subscription.migrate().$params.billing_mode,SubscriptionSchedule.billing_mode, andSubscriptionSchedule.create().$params.billing_modebusiness_nameandindividual_nameonCheckout.Session.collected_information,Checkout.Session.customer_details,Customer.create().$params,Customer.update().$params, andCustomermb_wayon enumsConfirmationToken.payment_method_preview.typeandPaymentMethod.typechargeback_loss_reason_codeonDispute.payment_method_details.klarnanet_amountandproration_detailsonInvoiceItemfraud_disputability_likelihoodandrisk_assessmentonIssuing\Authorization.create().$paramssecond_lineonIssuing.Cardmb_wayon enumPaymentIntent.excluded_payment_method_typesfr_meal_voucher_conecsonPaymentMethodConfiguration.create().$paramsandPaymentMethodConfiguration.update().$paramspromotiononPromotionCode.create().$paramsandPromotionCodeacknowledgedandpayment_never_settledon enumReview.closed_reasonprovideronTax.Settings.defaultsbbpos_wisepad3onTerminal.Configuration,Terminal\Configuration.create().$params, andTerminal\Configuration.update().$paramsaddress_kana,address_kanji,display_name_kana,display_name_kanji, andphoneonTerminal.Location,Terminal\Location.create().$params, andTerminal\Location.update().$paramsTerminal\Location.create().$params.addressto be optionalTerminal\Location.create().$params.display_nameto be optionalfinancial_connections_account_pending_account_numbersandfinancial_connections_account_unavailable_account_numbersonInvoice.last_finalization_error,PaymentIntent.last_payment_error,SetupAttempt.setup_error,SetupIntent.last_setup_error, andStripeErrorv17.6.0Compare Source
2025-08-27.basil.balance_report,payout_details, andpayout_reconciliation_reportonAccountSession.componentsandAccountSession.create().$params.componentnameonBillingPortal.Configuration,BillingPortal\Configuration.create().$params, andBillingPortal\Configuration.update().$paramsinstallmentsonCharge.payment_method_details.almatransaction_idonCharge.payment_method_details.alma,Charge.payment_method_details.amazon_pay,Charge.payment_method_details.billie,Charge.payment_method_details.kakao_pay,Charge.payment_method_details.kr_card,Charge.payment_method_details.naver_pay,Charge.payment_method_details.payco,Charge.payment_method_details.revolut_pay,Charge.payment_method_details.samsung_pay, andCharge.payment_method_details.satispaylocationandreaderonCharge.payment_method_details.paynowamount_includes_iofonCheckout.Session.payment_method_options.pix,Checkout\Session.create().$params.payment_method_option.pix,PaymentIntent.confirm().$params.payment_method_option.pix,PaymentIntent.create().$params.payment_method_option.pix,PaymentIntent.payment_method_options.pix, andPaymentIntent.update().$params.payment_method_option.pixblockandresolutionon enumDispute.payment_method_details.card.case_typeterminal_android_apkon enumFile.purposemetadataandperiodonInvoice.create_preview().$params.schedule_detail.phase.add_invoice_item,Subscription.create().$params.add_invoice_item,Subscription.update().$params.add_invoice_item,SubscriptionSchedule.create().$params.phase.add_invoice_item,SubscriptionSchedule.phases[].add_invoice_items[], andSubscriptionSchedule.update().$params.phase.add_invoice_itemexp_monthandexp_yearonIssuing\Card.create().$paramsexcluded_payment_method_typesonPaymentIntent.create().$paramsandPaymentIntentpayout_methodonPayout.create().$paramsandPayoutmxnonTerminal.Configuration.tipping,Terminal\Configuration.create().$params.tipping, andTerminal\Configuration.update().$params.tippingcardonTerminal\Reader.present_payment_method().$paramscustomer_session_expiredandindia_recurring_payment_mandate_canceledonInvoice.last_finalization_error,PaymentIntent.last_payment_error,SetupAttempt.setup_error,SetupIntent.last_setup_error, andStripeErrorgetStripeAccountmethod onBaseStripeClientto retrieve Stripe Account ID from aStripeClientinstance.v17.5.0Compare Source
This release changes the pinned API version to
2025-07-30.basil.origin_contextonCheckout.Sessionv17.4.0Compare Source
This release changes the pinned API version to
2025-06-30.basil.migratemethod on resourceSubscriptioncollect_payment_methodandconfirm_payment_intentmethods on resourceTerminal.Readercryptoon enumsConfirmationToken.payment_method_preview.typeandPaymentMethod.typeDispute.enhanced_eligibility_typesfromliteral('visa_compelling_evidence_3')toenum('visa_compelling_evidence_3'|'visa_compliance')terminal.reader.action_updatedon enumEvent.typerelated_persononIdentity.VerificationSessioncryptoon enumsInvoice.payment_settings.payment_method_typesandSubscription.payment_settings.payment_method_typescryptoonPaymentMethodbuuton enumPaymentMethod.ideal.bankBUUTNL2Aon enumPaymentMethod.ideal.bicbilling_modeonSubscriptionScheduleandSubscriptioncollect_payment_methodandconfirm_payment_intenton enumTerminal.Reader.action.typeTERMINAL_READER_ACTION_UPDATEDwith resourceTerminal.ReaderCURRENT_MAJORinApiVersionv17.3.0Compare Source
This release changes the pinned API version to
2025-05-28.basil.attach_paymentmethod on resourceInvoicecollect_inputsmethod on resourceTerminal.Readersucceed_input_collectionandtimeout_input_collectiontest helper methods on resourceTerminal.Readerrefund_and_dispute_prefundingonBalancebalance_typeonBalanceTransactionpost_payment_amountandpre_payment_amountonCreditNotemixedon enumCreditNote.typeinvoice_payment.paidon enumEvent.typekakao_pay,kr_card,naver_pay,payco, andsamsung_payonPaymentMethodConfigurationbilling_thresholdsonSubscriptionItemandSubscriptionmetadataonTax.CalculationLineItemcollect_inputson enumTerminal.Reader.action.typesimulated_stripe_s700on enumTerminal.Reader.device_typeINVOICE_PAYMENT_PAIDwith resourceInvoicePaymentforwarding_api_upstream_erroronInvoice.last_finalization_error,PaymentIntent.last_payment_error,SetupAttempt.setup_error,SetupIntent.last_setup_error, andStripeErrorv17.2.1Compare Source
StripeObjecttoarray<KType, VType>in all methods.v17.2.0Compare Source
This release changes the pinned API version to
2025-04-30.basil.tax_id_prohibitedon enumsInvoice.last_finalization_error.code,PaymentIntent.last_payment_error.code,SetupAttempt.setup_error.code,SetupIntent.last_setup_error.code, andStripeError.codewallet_optionsonCheckout.SessioncontextonEventaw_tin,az_tin,bd_bin,bf_ifu,bj_ifu,cm_niu,cv_nif,et_tin,kg_tin, andla_tinon enumsInvoice.customer_tax_ids[].typeandTaxId.typeaffirmon enumsInvoice.payment_settings.payment_method_typesandSubscription.payment_settings.payment_method_typespixonPaymentMethodConfigurationklarnaonPaymentMethodDomainus_cfpb_dataonPersonpending_reasononRefundTax.CalculationLineItem.referencefromnullable(string)tostringv17.1.1Compare Source
stdClassin resource properties and fixedinstanceofchecks.v17.1.0Compare Source
v17.0.0Compare Source
#1837 Better type hints in your editor!!
custom_fieldsoncustomer->invoice_settingswithout PHPStan complaining. This is now fixed.#1818 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.
UsageRecordSummaryandUsageRecordcreatemethod on resourceUsageRecordallmethod on resourceUsageRecordSummaryupcomingLinesandupcomingmethods on resourceInvoiceinvoiceonChargeandPaymentIntentshipping_detailsonCheckout.SessionrefundonCreditNotetax_amountsonCreditNoteLineItem,CreditNote, andInvoiceLineItemamount_excluding_taxandunit_amount_excluding_taxonCreditNoteLineItemandInvoiceLineItemapplication_fee_amount,charge,paid_out_of_band,paid,payment_intent,quote,subscription,subscription_details,subscription_proration_date,tax,total_tax_amounts, andtransfer_dataonInvoicediscountonInvoiceandSubscriptioninvoice_item,proration_details,proration,tax_rates, andtypeonInvoiceLineItemplan,price, andsubscription_itemonInvoiceItemandInvoiceLineItemsubscription,unit_amount_decimal, andunit_amountonInvoiceItemaggregate_usageonPlanbilling_thresholdsonSubscriptionItemandSubscriptioncurrent_period_endandcurrent_period_startonSubscriptionmaxNetworkRetriesat theStripeClientlevel via a new argument to theRequestOptionsconstructormaxNetworkRetriesis set during client initialization. Subsequent calls toStripe::setMaxNetworkRetries()after client creation won't affect that client.maxNetworkRetriesper-request via themax_network_retriesconfig argument. This works for both the service and resource based patterns. In both cases, an explicitly passed value takes precedence over the global (or client) value._searchResourcemethod andSearchtrait. Use the publicsearchmethod onCharge,Customer,Invoice,PaymentIntent,Price,Product, andSubscriptionresource.requestSearchResult,requestCollectiontoStripeClientInterface. Developers building custom StripeClient will now have to implement these new methods.Additions
InvoicePaymentallandretrievemethods on resourceInvoicePaymentforwarding_api_retryable_upstream_errorandsetup_intent_mobile_wallet_unsupportedon enumsInvoice.last_finalization_error.code,PaymentIntent.last_payment_error.code,SetupAttempt.setup_error.code,SetupIntent.last_setup_error.code, andStripeError.codestripe_balance_payment_debit_reversalandstripe_balance_payment_debiton enumBalanceTransaction.typelaston enumBilling.Meter.default_aggregation.formulapresentment_detailsonCharge,Checkout.Session,PaymentIntent, andRefundoptional_itemsonCheckout.SessionandPaymentLinkpermissionsonCheckout.Sessioncustomon enumCheckout.Session.ui_modebillie,nz_bank_account, andsatispayon enumsConfirmationToken.payment_method_preview.typeandPaymentMethod.typerefundsonCreditNotetotal_taxesonCreditNoteandInvoicetaxesonCreditNoteLineItemandInvoiceLineItemcheckout_sessiononCustomerBalanceTransactioncheckout_session_subscription_payment_canceledandcheckout_session_subscription_paymenton enumCustomerBalanceTransaction.typeinvoice.overpaidon enumEvent.typeamount_overpaid,confirmation_secret, andpaymentsonInvoiceparentonInvoiceItem,InvoiceLineItem, andInvoiceklarnaandnz_bank_accounton enumsInvoice.payment_settings.payment_method_typesandSubscription.payment_settings.payment_method_typespricingonInvoiceItemandInvoiceLineItemnetwork_fallbackon enumIssuing.Authorization.request_history[].reasonexpiredon enumIssuing.Authorization.statusexpiredon enumPaymentIntent.cancellation_reasonbillieandsatispayon enumPaymentLink.payment_method_typesbillie,nz_bank_account, andsatispayonPaymentMethodConfigurationandPaymentMethodcanceledon enumReview.closed_reasoncurrent_period_endandcurrent_period_startonSubscriptionItemwifionTerminal.Configurationv16.6.0Compare Source
priorityonBilling.CreditGrantcollected_informationonCheckout.Sessionv16.5.1Compare Source
httpClient()a public, static methodv16.5.0Compare Source
closemethod on resourceTreasury.FinancialAccountdiscountsonCheckout.Sessionpay_by_bankon enumPaymentLink.payment_method_types[]pay_by_bankonPaymentMethodConfigurationandPaymentMethodpay_by_bankon enumPaymentMethod.typeis_defaultandnicknameonTreasury.FinancialAccountv16.4.0Compare Source
2024-12-18.acacia.payout_minimum_balance_holdandpayout_minimum_balance_releaseon enumBalanceTransaction.typeallow_redisplayonCardandSourceregulated_statusonCardrequest_signatureon enumForwarding.Request.replacements[]LineItem.descriptionfromstringtonullable(string)al_tin,am_tin,ao_tin,ba_tin,bb_tin,bs_tin,cd_nif,gn_nif,kh_tin,me_pib,mk_vat,mr_nif,np_pan,sn_ninea,sr_fin,tj_tin,ug_tin,zm_tin, andzw_tinon enumTaxId.typev16.3.0Compare Source
2024-11-20.acacia.respondtest helper method on resourceIssuing.Authorizationadaptive_pricingonCheckout.Sessionsubscribeon enumsCheckout.Session.submit_typeandPaymentLink.submit_typefinancial_account_statementon enumFile.purposefraud_challengesandverified_by_fraud_challengeonIssuing.Authorizationtrace_idonPayoutli_vaton enumTaxId.typeservice_taxon enumTaxRate.tax_typeTreasury.InboundTransfer.origin_payment_methodfromstringtonullable(string)v16.2.0Compare Source
2024-10-28.acacia.V2.EventDestinationscreate,retrieve,update,list,delete,disable,enableandpingmethods on resourceV2.EventDestinationssubmit_cardtest helper method on resourceIssuing.CardgroupsonAccountenhanced_eligibility_typesonDisputeissuing_transaction.purchase_details_receipt_updatedandrefund.failedon enumEvent.typemetadataonForwarding.Requestalmaon enumPaymentLink.payment_method_types[]almaonPaymentMethodConfigurationandPaymentMethodkakao_pay,kr_card,naver_pay,payco, andsamsung_payonPaymentMethodalma,kakao_pay,kr_card,naver_pay,payco, andsamsung_payon enumPaymentMethod.typeamazon_payonPaymentMethodDomainby_tin,ma_vat,md_vat,tz_vat,uz_tin, anduz_vaton enumTaxId.typeflat_amountandrate_typeonTaxRateretail_delivery_feeon enumTaxRate.tax_typev16.1.1Compare Source
#1775 Deserialize into correct v2 EventData types
V1BillingMeterErrorReportTriggeredEventandV1BillingMeterNoMeterFoundEvent#1776 update object tags for meter-related classes
objectproperty of theMeterEvent,MeterEventAdjustment, andMeterEventSessiondidn't match the server.#1773 Clean up examples
#1771 Renamed example file names
v16.1.0Compare Source
Marginthat was accidentally made public in the last releasev16.0.0Compare Source
#1756 Support for APIs in the new API version 2024-09-30.acacia
This release changes the pinned API version to
2024-09-30.acacia. Please read the API Changelog and carefully review the API changes before upgrading.usage_threshold_configtousage_thresholdonBilling.AlertfilteronBilling.Alert. Use the filters on theusage_thresholdinsteadAdditions
international_transactionon enumTreasury.ReceivedCredit.failure_codeBilling.MeterEvent,Billing.MeterEventAdjustments,Billing.MeterEventSession,Billing.MeterEventStreamand the new Events APICore.Eventsunder the v2 namespaceparseThinEvent()on theStripeClientclass to parse thin events.StripeClientclass that takes a HTTP method type, url and relevant parameters to make requests to the Stripe API that are not yet supported in the SDK.v15.10.0Compare Source
international_transactionon enumTreasury.ReceivedDebit.failure_codeterminal_reader_invalid_location_for_activationon enumStripeError.codeautomatically_finalizes_atonInvoicev15.9.0Compare Source
InvoiceRenderingTemplateall,archive,retrieve, andunarchivemethods on resourceInvoiceRenderingTemplatev15.8.0Compare Source
issuing_regulatory_reportingon enumFile.purposehr_oibon enumTaxId.typestatus_detailsonTestHelpers.TestClockv15.7.0Compare Source
v15.6.0Compare Source
activate,all,archive,create,deactivate, andretrievemethods on resourceBilling.Alertretrievemethod on resourceTax.Calculationinvalid_mandate_reference_prefix_formaton enumStripeError.coderelated_customeronIdentity.VerificationSessionfinancial_addresses.aba.forwardingon enumsTreasury.FinancialAccount.active_features[],Treasury.FinancialAccount.pending_features[], andTreasury.FinancialAccount.restricted_features[]v15.5.0Compare Source
Billing.AlertTriggeredandBilling.Alertcharge_exceeds_transaction_limiton enumStripeError.codebilling.alert.triggeredon enumEvent.typev15.4.0Compare Source
updatemethod on resourceCheckout.Sessioninvoice.overdueandinvoice.will_be_dueon enumEvent.typetwintonPaymentMethodConfigurationv15.3.0Compare Source
issuing_dispute.funds_rescindedon enumEvent.typestripe_s700on enumTerminal.Reader.device_typev15.2.0Compare Source
billing_policy_remote_function_response_invalid,billing_policy_remote_function_timeout,billing_policy_remote_function_unexpected_status_code, andbilling_policy_remote_function_unreachablefrom enumStripeError.code.payment_intent_fx_quote_invalidfrom enumStripeError.code. The was mistakenly released last week.payment_method_optionsonConfirmationTokenv15.1.0Compare Source
add_lines,remove_lines, andupdate_linesmethods on resourceInvoicepayment_intent_fx_quote_invalidon enumStripeError.codemultibanco,twint, andzipon enumPaymentLink.payment_method_types[]posted_atonTax.Transactionreboot_windowonTerminal.Configurationv15.0.0Compare Source
#1714
This release changes the pinned API version to 2024-06-20. Please read the API Changelog and carefully review the API changes before upgrading.
Additions
finalize_amounttest helper method on resourceIssuing.AuthorizationfleetandfuelonIssuing.Authorizationch_uidon enumTaxId.typev14.10.0Compare Source
multibancoonPaymentMethodConfigurationandPaymentMethodtwintonPaymentMethodmultibancoandtwinton enumPaymentMethod.typeinvoice_settingsonSubscriptionde_stnon enumTaxId.typev14.9.0Compare Source
issuing_personalization_design.activated,issuing_personalization_design.deactivated,issuing_personalization_design.rejected, andissuing_personalization_design.updatedon enumEvent.typecreate,update,delete,all,retrievemethods after moving them out of traits.StripeClientcan now accept$appInfoas a$configoption, so AppInfo can be set per-client. If not passed in, will fall back on the global AppInfo set byStripe::setAppInfo().$appInfoto be of typearray{name: string, version?: string, url?: string, partner_id?: string}[
v14.8.0](https:/Configuration
📅 Schedule: Branch creation - Between 12:00 AM and 03:59 AM, on day 1 of the month ( * 0-3 1 * * ) (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.