Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update dependency stripe to v18 #1301

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 1, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
stripe 12.18.0 -> 18.0.0 age adoption passing confidence

Release Notes

stripe/stripe-node (stripe)

v18.0.0

Compare Source

  • #​2279 Support for APIs in the new API version 2025-03-31.basil

    This release changes the pinned API version to 2025-03-31.basil.

⚠️ Breaking changes due to changes in the Stripe API

Please review details for the breaking changes and alternatives in the Stripe API changelog before upgrading.

  • Remove support for resources SubscriptionItemUsageRecordSummary and SubscriptionItemUsageRecord
  • Remove support for listUpcomingLines and retrieveUpcoming methods on resource Invoice
  • Remove support for createUsageRecord and listUsageRecordSummaries methods on resource SubscriptionItems
  • Remove support for invoice on Charge and PaymentIntent
  • Remove support for shipping_details on Checkout.Session
  • Remove support for carrier, phone, and tracking_number on Checkout.Session.collected_information.shipping_details. Make name and address required instead of optional.
  • Remove support for refund on CreditNoteCreateParams, CreditNoteListPreviewLineItemsParams, CreditNotePreviewParams, and CreditNote
  • Remove support for tax_amounts on CreditNoteLineItem, CreditNote, and InvoiceLineItem
  • Remove support for amount_excluding_tax and unit_amount_excluding_tax on CreditNoteLineItem and InvoiceLineItem
  • Remove support for coupon on CustomerCreateParams, CustomerUpdateParams, InvoiceCreatePreviewParams.schedule_details.phases[], InvoiceCreatePreviewParams, SubscriptionCreateParams, SubscriptionSchedule.phases[], SubscriptionScheduleCreateParams.phases[], SubscriptionScheduleUpdateParams.phases[], and SubscriptionUpdateParams
  • Remove support for promotion_code on CustomerCreateParams, CustomerUpdateParams, SubscriptionCreateParams, and SubscriptionUpdateParams
  • Remove support for price on InvoiceAddLinesParams.lines[], InvoiceItemCreateParams, InvoiceItemUpdateParams, InvoiceItem, InvoiceLineItemUpdateParams, InvoiceLineItem, and InvoiceUpdateLinesParams.lines[]. Use pricing` instead.
  • Remove support for billing_thresholds on InvoiceCreatePreviewParams.schedule_details.phases[].items[], InvoiceCreatePreviewParams.schedule_details.phases[], InvoiceCreatePreviewParams.subscription_details.items[], SubscriptionCreateParams.items[], SubscriptionCreateParams, SubscriptionItemCreateParams, SubscriptionItemUpdateParams, SubscriptionItem, SubscriptionSchedule.default_settings, SubscriptionSchedule.phases[].items[], SubscriptionSchedule.phases[], SubscriptionScheduleCreateParams.default_settings, SubscriptionScheduleCreateParams.phases[].items[], SubscriptionScheduleCreateParams.phases[], SubscriptionScheduleUpdateParams.default_settings, SubscriptionScheduleUpdateParams.phases[].items[], SubscriptionScheduleUpdateParams.phases[], SubscriptionUpdateParams.items[], SubscriptionUpdateParams, and Subscription
  • Remove support for application_fee_amount, charge, paid_out_of_band, paid, payment_intent, quote, subscription, subscription_details, subscription_proration_date, tax, total_tax_amounts, and transfer_data on Invoice
  • Remove support for discount on Invoice and Subscription
  • Remove support for invoice_item, proration_details, proration, tax_rates, and type on InvoiceLineItem
  • Remove support for plan and subscription_item on InvoiceItem and InvoiceLineItem
  • Remove support for unit_amount on InvoiceItemCreateParams, InvoiceItemUpdateParams, and InvoiceItem
  • Remove support for subscription and unit_amount_decimal on InvoiceItem
  • Remove support for naver_pay on PaymentMethodUpdateParams
  • Remove support for aggregate_usage on PlanCreateParams, Plan, Price.recurring, and PriceCreateParams.recurring
  • Remove support for current_period_end and current_period_start on Subscription
  • page has been removed from all V2 list method params (e.g. EventService.list()); use the auto paginator or the next_page_url and previous_page_url fields instead (more info)
Changes
  • Change Checkout.Session.collected_information to be required
  • Change Checkout.Session.collected_information.shipping_details to be required
  • Change Checkout.Session.collected_information.shipping_details.address to be required
  • Change Checkout.Session.collected_information.shipping_details.name to be required
  • Change PaymentIntentConfirmParams.payment_method_options.wechat_pay.client, PaymentIntentCreateParams.payment_method_options.wechat_pay.client, and PaymentIntentUpdateParams.payment_method_options.wechat_pay.client to be optional
  • Change political_exposure on resources Person and Token and params Token.CreateParams from string to enum("existing" | "none")
Additions
  • Add support for new resource InvoicePayment
  • Add support for list and retrieve methods on resource InvoicePayment
  • Add support for billie_payments, nz_bank_account_becs_debit_payments, and satispay_payments on Account.capabilities, AccountCreateParams.capabilities, and AccountUpdateParams.capabilities
  • Add support for hosted_payment_method_save on Account.settings.invoices and AccountUpdateParams.settings.invoices
  • Add support for invoices on AccountCreateParams.settings
  • Add support for new values information_missing, invalid_signator, verification_failed_authorizer_authority, and verification_rejected_ownership_exemption_reason on enums Account.future_requirements.errors[].code, Account.requirements.errors[].code, AccountCapability.future_requirements.errors[].code, AccountCapability.requirements.errors[].code, AccountPerson.future_requirements.errors[].code, AccountPerson.requirements.errors[].code, BankAccount.future_requirements.errors[].code, and BankAccount.requirements.errors[].code
  • Add support for new values forwarding_api_retryable_upstream_error and setup_intent_mobile_wallet_unsupported on enums Invoice.last_finalization_error.code, PaymentIntent.last_payment_error.code, SetupAttempt.setup_error.code, SetupIntent.last_setup_error.code, and StripeError.code
  • Add support for new values stripe_balance_payment_debit_reversal and stripe_balance_payment_debit on enum BalanceTransaction.type
  • Add support for new value last on enums Billing.Meter.default_aggregation.formula and Billing.MeterCreateParams.default_aggregation.formula
  • Add support for presentment_details on Charge, Checkout.Session, PaymentIntent, and Refund
  • Add support for billie and satispay on Charge.payment_method_details, ConfirmationToken.payment_method_preview, ConfirmationTokenCreateParams.testHelpers.payment_method_data, CustomerPaymentMethod, PaymentIntentConfirmParams.payment_method_data, PaymentIntentCreateParams.payment_method_data, PaymentIntentUpdateParams.payment_method_data, PaymentMethodConfigurationCreateParams, PaymentMethodConfigurationUpdateParams, PaymentMethodConfiguration, PaymentMethodCreateParams, PaymentMethod, SetupIntentConfirmParams.payment_method_data, SetupIntentCreateParams.payment_method_data, and SetupIntentUpdateParams.payment_method_data
  • Add support for nz_bank_account on Charge.payment_method_details, ConfirmationToken.payment_method_preview, ConfirmationTokenCreateParams.testHelpers.payment_method_data, CustomerPaymentMethod, Mandate.payment_method_details, PaymentIntent.payment_method_options, PaymentIntentConfirmParams.payment_method_data, PaymentIntentConfirmParams.payment_method_options, PaymentIntentCreateParams.payment_method_data, PaymentIntentCreateParams.payment_method_options, PaymentIntentUpdateParams.payment_method_data, PaymentIntentUpdateParams.payment_method_options, PaymentMethodConfigurationCreateParams, PaymentMethodConfigurationUpdateParams, PaymentMethodConfiguration, PaymentMethodCreateParams, PaymentMethod, SetupAttempt.payment_method_details, SetupIntentConfirmParams.payment_method_data, SetupIntentCreateParams.payment_method_data, and SetupIntentUpdateParams.payment_method_data
  • Add support for optional_items on Checkout.SessionCreateParams, Checkout.Session, PaymentLinkCreateParams, and PaymentLink
  • Add support for permissions on Checkout.SessionCreateParams and Checkout.Session
  • Add support for new values billie and satispay on enum Checkout.SessionCreateParams.payment_method_types
  • Add support for new value custom on enums Checkout.Session.ui_mode and Checkout.SessionCreateParams.ui_mode
  • Add support for shipping_options on Checkout.SessionUpdateParams
  • Add support for new values billie, nz_bank_account, and satispay on enums ConfirmationTokenCreateParams.testHelpers.payment_method_data.type, PaymentIntentConfirmParams.payment_method_data.type, PaymentIntentCreateParams.payment_method_data.type, PaymentIntentUpdateParams.payment_method_data.type, SetupIntentConfirmParams.payment_method_data.type, SetupIntentCreateParams.payment_method_data.type, and SetupIntentUpdateParams.payment_method_data.type
  • Add support for buyer_id on ConfirmationToken.payment_method_preview.naver_pay, CustomerPaymentMethod.naver_pay, and PaymentMethod.naver_pay
  • Add support for new values billie, nz_bank_account, and satispay on enums ConfirmationToken.payment_method_preview.type, CustomerPaymentMethod.type, and PaymentMethod.type
  • Add support for refunds on CreditNoteCreateParams, CreditNoteListPreviewLineItemsParams, CreditNotePreviewParams, and CreditNote
  • Add support for total_taxes on CreditNote and Invoice
  • Add support for taxes on CreditNoteLineItem and InvoiceLineItem
  • Add support for checkout_session on CustomerBalanceTransaction
  • Add support for new values checkout_session_subscription_payment_canceled and checkout_session_subscription_payment on enum CustomerBalanceTransaction.type
  • Add support for new values billie, nz_bank_account, and satispay on enums CustomerPaymentMethodListParams.type, PaymentMethodCreateParams.type, and PaymentMethodListParams.type
  • Add support for new value invoice.overpaid on enum Event.type
  • Add support for new values klarna and nz_bank_account on enums Invoice.payment_settings.payment_method_types, InvoiceCreateParams.payment_settings.payment_method_types, InvoiceUpdateParams.payment_settings.payment_method_types, Subscription.payment_settings.payment_method_types, SubscriptionCreateParams.payment_settings.payment_method_types, and SubscriptionUpdateParams.payment_settings.payment_method_types
  • Add support for pricing on InvoiceAddLinesParams.lines[], InvoiceItemCreateParams, InvoiceItemUpdateParams, InvoiceItem, InvoiceLineItemUpdateParams, InvoiceLineItem, and InvoiceUpdateLinesParams.lines[]
  • Add support for taxability_reason on InvoiceAddLinesParams.lines[].tax_amounts[], InvoiceLineItemUpdateParams.tax_amounts[], and InvoiceUpdateLinesParams.lines[].tax_amounts[]
  • Add support for jurisdiction_level on InvoiceAddLinesParams.lines[].tax_amounts[].tax_rate_data, InvoiceLineItemUpdateParams.tax_amounts[].tax_rate_data, and InvoiceUpdateLinesParams.lines[].tax_amounts[].tax_rate_data
  • Add support for amount_overpaid, confirmation_secret, and payments on Invoice
  • Add support for parent on InvoiceItem, InvoiceLineItem, and Invoice
  • Add support for new value expired on enums Issuing.Authorization.status and Issuing.AuthorizationListParams.status
  • Add support for new value network_fallback on enum Issuing.Authorization.request_history[].reason
  • Add support for naver_pay on Mandate.payment_method_details and SetupAttempt.payment_method_details
  • Add support for setup_future_usage on PaymentIntent.payment_method_options.naver_pay, PaymentIntentConfirmParams.payment_method_options.naver_pay, PaymentIntentCreateParams.payment_method_options.naver_pay, and PaymentIntentUpdateParams.payment_method_options.naver_pay
  • Add support for new value expired on enum PaymentIntent.cancellation_reason
  • Add support for default_value on PaymentLink.custom_fields[].dropdown, PaymentLink.custom_fields[].numeric, PaymentLink.custom_fields[].text, PaymentLinkCreateParams.custom_fields[].dropdown, PaymentLinkCreateParams.custom_fields[].numeric, PaymentLinkCreateParams.custom_fields[].text, PaymentLinkUpdateParams.custom_fields[].dropdown, PaymentLinkUpdateParams.custom_fields[].numeric, and PaymentLinkUpdateParams.custom_fields[].text
  • Add support for new values billie and satispay on enums PaymentLink.payment_method_types, PaymentLinkCreateParams.payment_method_types, and PaymentLinkUpdateParams.payment_method_types
  • Add support for nz_bank_transfer on Refund.destination_details
  • Add support for new value canceled on enum Review.closed_reason
  • Add support for current_period_end and current_period_start on SubscriptionItem
  • Add support for wifi on Terminal.ConfigurationCreateParams, Terminal.ConfigurationUpdateParams, and Terminal.Configuration
  • Add support for new value invoice.overpaid on enums WebhookEndpointCreateParams.enabled_events and WebhookEndpointUpdateParams.enabled_events
  • Add support for new values 2025-03-01.dashboard and 2025-03-31.basil on enum WebhookEndpointCreateParams.api_version
⚠️ Other Breaking changes in the SDK
  • #​2277 Swap Stripe.webhooks from a factory function to a static property
    • Stripe.webhooks and Stripe().webhooks are no longer functions (just plain objects)
      • if you were already treating those properties as plain objects (per the types), then you can ignore this change
      • if you were calling Stripe.webhooks().someMethod(), you should use Stripe.webhooks.someMethod() instead
      • there shouldn't be user-facing functionality changing, just a slight breaking change in our internal organization
  • #​2286 Remove types that were marked as deprecated in Feb 2024
    • Remove AccountDebitSource in favor of Account
    • Remove CapabilityListParams in favor of AccountListCapabilitiesParams
    • Remove CapabilityRetrieveParams in favor of AccountRetrieveCapabilityParams
    • Remove CapabilityUpdateParams in favor of AccountUpdateCapabilityParams
    • Remove CashBalanceRetrieveParams in favor of CustomerRetrieveCashBalanceParams
    • Remove CashBalanceUpdateParams in favor of CustomerUpdateCashBalanceParams
    • Remove CreditNoteLineItemListParams in favor of CreditNoteListLineItemsParams
    • Remove CustomerBalanceTransactionCreateParams in favor of CustomerCreateBalanceTransactionParams
    • Remove CustomerBalanceTransactionListParams in favor of CustomerListBalanceTransactionsParams
    • Remove CustomerBalanceTransactionRetrieveParams in favor of CustomerRetrieveBalanceTransactionParams
    • Remove CustomerBalanceTransactionUpdateParams in favor of CustomerUpdateBalanceTransactionParams
    • Remove CustomerCashBalanceTransactionListParams in favor of CustomerListCashBalanceTransactionsParams
    • Remove CustomerCashBalanceTransactionRetrieveParams in favor of CustomerRetrieveCashBalanceTransactionParams
    • Remove CustomerSourceCreateParams in favor of CustomerCreateSourceParams
    • Remove CustomerSourceDeleteParams in favor of CustomerDeleteSourceParams
    • Remove CustomerSourceListParams in favor of CustomerListSourcesParams
    • Remove CustomerSourceRetrieveParams in favor of CustomerRetrieveSourceParams
    • Remove CustomerSourceUpdateParams in favor of CustomerUpdateSourceParams
    • Remove CustomerSourceVerifyParams in favor of CustomerVerifySourceParams
    • Remove ExternalAccountCreateParams in favor of AccountCreateExternalAccountParams
    • Remove ExternalAccountDeleteParams in favor of AccountDeleteExternalAccountParams
    • Remove ExternalAccountListParams in favor of AccountListExternalAccountsParams
    • Remove ExternalAccountRetrieveParams in favor of AccountRetrieveExternalAccountParams
    • Remove ExternalAccountUpdateParams in favor of AccountUpdateExternalAccountParams
    • Remove FeeRefundCreateParams in favor of ApplicationFeeCreateRefundParams
    • Remove FeeRefundListParams in favor of ApplicationFeeListRefundsParams
    • Remove FeeRefundRetrieveParams in favor of ApplicationFeeRetrieveRefundParams
    • Remove FeeRefundUpdateParams in favor of ApplicationFeeUpdateRefundParams
    • Remove InvoiceLineItemListParams in favor of InvoiceListLineItemsParams
    • Remove InvoiceLineItemUpdateParams in favor of InvoiceUpdateLineItemParams
    • Remove LoginLinkCreateParams in favor of AccountCreateLoginLinkParams
    • Remove PersonCreateParams in favor of AccountCreatePersonParams
    • Remove PersonDeleteParams in favor of AccountDeletePersonParams
    • Remove PersonListParams in favor of AccountListPersonsParams
    • Remove PersonRetrieveParams in favor of AccountRetrievePersonParams
    • Remove PersonUpdateParams in favor of AccountUpdatePersonParams
    • Remove TransferReversalCreateParams in favor of TransferCreateReversalParams
    • Remove TransferReversalListParams in favor of TransferListReversalsParams
    • Remove TransferReversalRetrieveParams in favor of TransferRetrieveReversalParams
    • Remove TransferReversalUpdateParams in favor of TransferUpdateReversalParams

v17.7.0

Compare Source

  • #​2256 Update generated code
    • Add support for prices on Billing.CreditBalanceSummaryRetrieveParams.filter.applicability_scope, Billing.CreditGrant.applicability_config.scope, and Billing.CreditGrantCreateParams.applicability_config.scope
    • Change Billing.CreditBalanceSummaryRetrieveParams.filter.applicability_scope.price_type, Billing.CreditGrant.applicability_config.scope.price_type, and Billing.CreditGrantCreateParams.applicability_config.scope.price_type to be optional
    • Add support for priority on Billing.CreditGrantCreateParams and Billing.CreditGrant
    • Add support for target_date on Checkout.Session.payment_method_options.acss_debit, Checkout.Session.payment_method_options.au_becs_debit, Checkout.Session.payment_method_options.bacs_debit, Checkout.Session.payment_method_options.sepa_debit, Checkout.Session.payment_method_options.us_bank_account, Checkout.SessionCreateParams.payment_method_options.acss_debit, Checkout.SessionCreateParams.payment_method_options.au_becs_debit, Checkout.SessionCreateParams.payment_method_options.bacs_debit, Checkout.SessionCreateParams.payment_method_options.sepa_debit, Checkout.SessionCreateParams.payment_method_options.us_bank_account, PaymentIntent.payment_method_options.acss_debit, PaymentIntent.payment_method_options.au_becs_debit, PaymentIntent.payment_method_options.bacs_debit, PaymentIntent.payment_method_options.sepa_debit, PaymentIntent.payment_method_options.us_bank_account, PaymentIntentConfirmParams.payment_method_options.acss_debit, PaymentIntentConfirmParams.payment_method_options.au_becs_debit, PaymentIntentConfirmParams.payment_method_options.bacs_debit, PaymentIntentConfirmParams.payment_method_options.sepa_debit, PaymentIntentConfirmParams.payment_method_options.us_bank_account, PaymentIntentCreateParams.payment_method_options.acss_debit, PaymentIntentCreateParams.payment_method_options.au_becs_debit, PaymentIntentCreateParams.payment_method_options.bacs_debit, PaymentIntentCreateParams.payment_method_options.sepa_debit, PaymentIntentCreateParams.payment_method_options.us_bank_account, PaymentIntentUpdateParams.payment_method_options.acss_debit, PaymentIntentUpdateParams.payment_method_options.au_becs_debit, PaymentIntentUpdateParams.payment_method_options.bacs_debit, PaymentIntentUpdateParams.payment_method_options.sepa_debit, and PaymentIntentUpdateParams.payment_method_options.us_bank_account
    • Add support for restrictions on Checkout.Session.payment_method_options.card and Checkout.SessionCreateParams.payment_method_options.card
    • Add support for collected_information on Checkout.SessionUpdateParams and Checkout.Session
    • Change Checkout.Session.discounts, Refund.destination_details.blik.network_decline_code, and Refund.destination_details.swish.network_decline_code to be required
    • Add support for metadata on ProductCreateParams.default_price_data
    • Change type of TokenCreateParams.person.political_exposure from string to enum('existing'|'none')
    • Add support for new value 2025-02-24.acacia on enum WebhookEndpointCreateParams.api_version
  • #​2259 Add Next.js App Router webhook example that leverages Route Handlers
  • #​2257 Include OPENAPI_VERSION into npm bundle

v17.6.0

Compare Source

  • #​2250 Update generated code
    • Add support for close method on resource Treasury.FinancialAccount
    • Add support for pay_by_bank_payments on Account.capabilities, AccountCreateParams.capabilities, and AccountUpdateParams.capabilities
    • Add support for directorship_declaration and ownership_exemption_reason on Account.company, AccountCreateParams.company, AccountUpdateParams.company, and TokenCreateParams.account.company
    • Add support for proof_of_ultimate_beneficial_ownership on AccountCreateParams.documents and AccountUpdateParams.documents
    • Add support for financial_account on AccountSession.components, AccountSessionCreateParams.components, and Treasury.OutboundTransfer.destination_payment_method_details
    • Add support for financial_account_transactions, issuing_card, and issuing_cards_list on AccountSession.components and AccountSessionCreateParams.components
    • Add support for advice_code on Charge.outcome, Invoice.last_finalization_error, PaymentIntent.last_payment_error, SetupAttempt.setup_error, SetupIntent.last_setup_error, and StripeError
    • Change Billing.CreditBalanceTransaction.credit.credits_application_invoice_voided, Card.regulated_status, Charge.payment_method_details.card.network_transaction_id, Charge.payment_method_details.card.regulated_status, ConfirmationToken.payment_method_preview.card.regulated_status, CreditNote.pretax_credit_amounts, Invoice.total_pretax_credit_amounts, Issuing.Authorization.merchant_data.tax_id, Issuing.Transaction.merchant_data.tax_id, and PaymentMethod.card.regulated_status to be required
    • Add support for pay_by_bank on Charge.payment_method_details, Checkout.SessionCreateParams.payment_method_options, ConfirmationToken.payment_method_preview, ConfirmationTokenCreateParams.testHelpers.payment_method_data, PaymentIntent.payment_method_options, PaymentIntentConfirmParams.payment_method_data, PaymentIntentConfirmParams.payment_method_options, PaymentIntentCreateParams.payment_method_data, PaymentIntentCreateParams.payment_method_options, PaymentIntentUpdateParams.payment_method_data, PaymentIntentUpdateParams.payment_method_options, PaymentMethodConfigurationCreateParams, PaymentMethodConfigurationUpdateParams, PaymentMethodConfiguration, PaymentMethodCreateParams, PaymentMethodUpdateParams, PaymentMethod, SetupIntentConfirmParams.payment_method_data, SetupIntentCreateParams.payment_method_data, and SetupIntentUpdateParams.payment_method_data
    • Add support for country on Charge.payment_method_details.paypal, ConfirmationToken.payment_method_preview.paypal, and PaymentMethod.paypal
    • Add support for new value pay_by_bank on enums Checkout.SessionCreateParams.payment_method_types[], CustomerListPaymentMethodsParams.type, PaymentMethodCreateParams.type, and PaymentMethodListParams.type
    • Add support for new value SD on enums Checkout.Session.shipping_address_collection.allowed_countries[], Checkout.SessionCreateParams.shipping_address_collection.allowed_countries[], PaymentLink.shipping_address_collection.allowed_countries[], PaymentLinkCreateParams.shipping_address_collection.allowed_countries[], and PaymentLinkUpdateParams.shipping_address_collection.allowed_countries[]
    • Add support for discounts on Checkout.Session
    • Add support for new value pay_by_bank on enums ConfirmationTokenCreateParams.testHelpers.payment_method_data.type, PaymentIntentConfirmParams.payment_method_data.type, PaymentIntentCreateParams.payment_method_data.type, PaymentIntentUpdateParams.payment_method_data.type, SetupIntentConfirmParams.payment_method_data.type, SetupIntentCreateParams.payment_method_data.type, and SetupIntentUpdateParams.payment_method_data.type
    • Add support for new value pay_by_bank on enums ConfirmationToken.payment_method_preview.type and PaymentMethod.type
    • Add support for new value pay_by_bank on enums PaymentLink.payment_method_types[], PaymentLinkCreateParams.payment_method_types[], and PaymentLinkUpdateParams.payment_method_types[]
    • Add support for phone_number_collection on PaymentLinkUpdateParams
    • Add support for jpy on Terminal.Configuration.tipping, Terminal.ConfigurationCreateParams.tipping, and Terminal.ConfigurationUpdateParams.tipping
    • Add support for nickname on Treasury.FinancialAccountCreateParams, Treasury.FinancialAccountUpdateParams, and Treasury.FinancialAccount
    • Add support for forwarding_settings on Treasury.FinancialAccountUpdateParams
    • Add support for is_default on Treasury.FinancialAccount
    • Add support for destination_payment_method_data on Treasury.OutboundTransferCreateParams
    • Change type of Treasury.OutboundTransfer.destination_payment_method_details.type from literal('us_bank_account') to enum('financial_account'|'us_bank_account')
    • Add support for new value outbound_transfer on enums Treasury.ReceivedCredit.linked_flows.source_flow_details.type and Treasury.ReceivedCreditListParams.linked_flows.source_flow_type
    • Add support for outbound_transfer on Treasury.ReceivedCredit.linked_flows.source_flow_details
    • Add support for new value 2025-01-27.acacia on enum WebhookEndpointCreateParams.api_version
  • #​2249 add justfile, remove coveralls, tweak ESLint
  • #​2252 Added CONTRIBUTING.md file
  • #​2242 Added pull request template

v17.5.0

Compare Source

  • #​2237 This release changes the pinned API version to 2024-12-18.acacia.
    • Change Account.business_profile.annual_revenue and Account.business_profile.estimated_worker_count to be optional
    • Add support for network_advice_code and network_decline_code on Charge.outcome, Invoice.last_finalization_error, PaymentIntent.last_payment_error, SetupAttempt.setup_error, SetupIntent.last_setup_error, and StripeError
    • Add support for new values payout_minimum_balance_hold and payout_minimum_balance_release on enum BalanceTransaction.type
    • Add support for credits_application_invoice_voided on Billing.CreditBalanceTransaction.credit
    • Change type of Billing.CreditBalanceTransaction.credit.type from literal('credits_granted') to enum('credits_application_invoice_voided'|'credits_granted')
    • Change BillingPortal.Configuration.features.subscription_update.schedule_at_period_end, Issuing.Authorization.verified_by_fraud_challenge, LineItem.description, and Payout.trace_id to be required
    • Add support for allow_redisplay on Card and Source
    • Add support for regulated_status on Card, Charge.payment_method_details.card, ConfirmationToken.payment_method_preview.card, and PaymentMethod.card
    • Add support for funding on Charge.payment_method_details.amazon_pay and Charge.payment_method_details.revolut_pay
    • Add support for network_transaction_id on Charge.payment_method_details.card
    • Add support for reference_prefix on Checkout.Session.payment_method_options.bacs_debit.mandate_options, Checkout.Session.payment_method_options.sepa_debit.mandate_options, Checkout.SessionCreateParams.payment_method_options.bacs_debit.mandate_options, Checkout.SessionCreateParams.payment_method_options.sepa_debit.mandate_options, PaymentIntent.payment_method_options.bacs_debit.mandate_options, PaymentIntent.payment_method_options.sepa_debit.mandate_options, PaymentIntentConfirmParams.payment_method_options.bacs_debit.mandate_options, PaymentIntentConfirmParams.payment_method_options.sepa_debit.mandate_options, PaymentIntentCreateParams.payment_method_options.bacs_debit.mandate_options, PaymentIntentCreateParams.payment_method_options.sepa_debit.mandate_options, PaymentIntentUpdateParams.payment_method_options.bacs_debit.mandate_options, PaymentIntentUpdateParams.payment_method_options.sepa_debit.mandate_options, SetupIntent.payment_method_options.bacs_debit.mandate_options, SetupIntent.payment_method_options.sepa_debit.mandate_options, SetupIntentConfirmParams.payment_method_options.bacs_debit.mandate_options, SetupIntentConfirmParams.payment_method_options.sepa_debit.mandate_options, SetupIntentCreateParams.payment_method_options.bacs_debit.mandate_options, SetupIntentCreateParams.payment_method_options.sepa_debit.mandate_options, SetupIntentUpdateParams.payment_method_options.bacs_debit.mandate_options, and SetupIntentUpdateParams.payment_method_options.sepa_debit.mandate_options
    • Add support for new values 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, and zw_tin on enums Checkout.Session.customer_details.tax_ids[].type, Invoice.customer_tax_ids[].type, Tax.Calculation.customer_details.tax_ids[].type, Tax.Transaction.customer_details.tax_ids[].type, and TaxId.type
    • Add support for new values 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, and zw_tin on enums CustomerCreateParams.tax_id_data[].type, InvoiceCreatePreviewParams.customer_details.tax_ids[].type, InvoiceUpcomingLinesParams.customer_details.tax_ids[].type, InvoiceUpcomingParams.customer_details.tax_ids[].type, Tax.CalculationCreateParams.customer_details.tax_ids[].type, and TaxIdCreateParams.type
    • Add support for visa_compliance on Dispute.evidence.enhanced_evidence, Dispute.evidence_details.enhanced_eligibility, and DisputeUpdateParams.evidence.enhanced_evidence
    • Add support for new value request_signature on enums Forwarding.Request.replacements[] and Forwarding.RequestCreateParams.replacements[]
    • Add support for account_holder_address and bank_address on FundingInstructions.bank_transfer.financial_addresses[].iban, FundingInstructions.bank_transfer.financial_addresses[].sort_code, FundingInstructions.bank_transfer.financial_addresses[].spei, FundingInstructions.bank_transfer.financial_addresses[].zengin, PaymentIntent.next_action.display_bank_transfer_instructions.financial_addresses[].iban, PaymentIntent.next_action.display_bank_transfer_instructions.financial_addresses[].sort_code, PaymentIntent.next_action.display_bank_transfer_instructions.financial_addresses[].spei, and PaymentIntent.next_action.display_bank_transfer_instructions.financial_addresses[].zengin
    • Add support for account_holder_name on FundingInstructions.bank_transfer.financial_addresses[].spei and PaymentIntent.next_action.display_bank_transfer_instructions.financial_addresses[].spei
    • Add support for disabled_reason on Invoice.automatic_tax, Subscription.automatic_tax, SubscriptionSchedule.default_settings.automatic_tax, and SubscriptionSchedule.phases[].automatic_tax
    • Add support for tax_id on Issuing.Authorization.merchant_data and Issuing.Transaction.merchant_data
    • Change type of LineItem.description from string to string | null
    • Add support for trial_period_days on PaymentLinkUpdateParams.subscription_data
    • Add support for al, am, ao, ba, bb, bs, cd, gn, kh, me, mk, mr, np, pe, sn, sr, tj, ug, uy, zm, and zw on Tax.Registration.country_options and Tax.RegistrationCreateParams.country_options
    • Add support for new value 2024-12-18.acacia on enum WebhookEndpointCreateParams.api_version
  • #​2238 add missing key warning to README

v17.4.0

Compare Source

  • #​2222 This release changes the pinned API version to 2024-11-20.acacia.
    • Add support for respond test helper method on resource Issuing.Authorization
    • Add support for authorizer on AccountPersonsParams.relationship and TokenCreateParams.person.relationship
    • Change type of Account.future_requirements.disabled_reason and Account.requirements.disabled_reason from string to enum
    • Change AccountSession.components.account_management.features.disable_stripe_user_authentication, AccountSession.components.account_onboarding.features.disable_stripe_user_authentication, AccountSession.components.balances.features.disable_stripe_user_authentication, AccountSession.components.notification_banner.features.disable_stripe_user_authentication, and AccountSession.components.payouts.features.disable_stripe_user_authentication to be required
    • Add support for adaptive_pricing on Checkout.SessionCreateParams and Checkout.Session
    • Add support for mandate_options on Checkout.Session.payment_method_options.bacs_debit, Checkout.Session.payment_method_options.sepa_debit, Checkout.SessionCreateParams.payment_method_options.bacs_debit, and Checkout.SessionCreateParams.payment_method_options.sepa_debit
    • Add support for request_extended_authorization, request_incremental_authorization, request_multicapture, and request_overcapture on Checkout.Session.payment_method_options.card and Checkout.SessionCreateParams.payment_method_options.card
    • Add support for capture_method on Checkout.SessionCreateParams.payment_method_options.kakao_pay, Checkout.SessionCreateParams.payment_method_options.kr_card, Checkout.SessionCreateParams.payment_method_options.naver_pay, Checkout.SessionCreateParams.payment_method_options.payco, and Checkout.SessionCreateParams.payment_method_options.samsung_pay
    • Add support for new value subscribe on enums Checkout.Session.submit_type, Checkout.SessionCreateParams.submit_type, PaymentLink.submit_type, and PaymentLinkCreateParams.submit_type
    • Add support for new value li_vat on enums Checkout.Session.customer_details.tax_ids[].type, Invoice.customer_tax_ids[].type, Tax.Calculation.customer_details.tax_ids[].type, Tax.Transaction.customer_details.tax_ids[].type, and TaxId.type
    • Add support for new value li_vat on enums CustomerCreateParams.tax_id_data[].type, InvoiceCreatePreviewParams.customer_details.tax_ids[].type, InvoiceUpcomingLinesParams.customer_details.tax_ids[].type, InvoiceUpcomingParams.customer_details.tax_ids[].type, Tax.CalculationCreateParams.customer_details.tax_ids[].type, and TaxIdCreateParams.type
    • Add support for new value financial_account_statement on enums File.purpose and FileListParams.purpose
    • Add support for account_holder_address, account_holder_name, account_type, and bank_address on FundingInstructions.bank_transfer.financial_addresses[].aba, FundingInstructions.bank_transfer.financial_addresses[].swift, PaymentIntent.next_action.display_bank_transfer_instructions.financial_addresses[].aba, and PaymentIntent.next_action.display_bank_transfer_instructions.financial_addresses[].swift
    • Add support for new value service_tax on enums InvoiceAddLinesParams.lines[].tax_amounts[].tax_rate_data.tax_type, InvoiceUpdateLinesParams.lines[].tax_amounts[].tax_rate_data.tax_type, Tax.Calculation.shipping_cost.tax_breakdown[].tax_rate_details.tax_type, Tax.Calculation.tax_breakdown[].tax_rate_details.tax_type, Tax.CalculationLineItem.tax_breakdown[].tax_rate_details.tax_type, Tax.Transaction.shipping_cost.tax_breakdown[].tax_rate_details.tax_type, TaxRate.tax_type, TaxRateCreateParams.tax_type, and TaxRateUpdateParams.tax_type
    • Add support for merchant_amount and merchant_currency on Issuing.AuthorizationCreateParams.testHelpers
    • Change Issuing.AuthorizationCreateParams.testHelpers.amount to be optional
    • Add support for fraud_challenges and verified_by_fraud_challenge on Issuing.Authorization
    • Add support for new value link on enums PaymentIntent.payment_method_options.card.network, PaymentIntentConfirmParams.payment_method_options.card.network, PaymentIntentCreateParams.payment_method_options.card.network, PaymentIntentUpdateParams.payment_method_options.card.network, SetupIntent.payment_method_options.card.network, SetupIntentConfirmParams.payment_method_options.card.network, SetupIntentCreateParams.payment_method_options.card.network, SetupIntentUpdateParams.payment_method_options.card.network, Subscription.payment_settings.payment_method_options.card.network, SubscriptionCreateParams.payment_settings.payment_method_options.card.network, and SubscriptionUpdateParams.payment_settings.payment_method_options.card.network
    • Add support for submit_type on PaymentLinkUpdateParams
    • Add support for trace_id on Payout
    • Add support for network_decline_code on Refund.destination_details.blik and Refund.destination_details.swish
    • Change type of Treasury.InboundTransfer.origin_payment_method from string to string | null
    • Add support for new value 2024-11-20.acacia on enum WebhookEndpointCreateParams.api_version
  • #​2215 Remove empty resources created for service groupings
    • Remove Stripe.V2.BillingResource, Stripe.V2.CoreResource, and Stripe.V2Resource types from the public interface as they are no longer needed. SDK usage will not be affected but any references to these types in your application will need to be removed.

v17.3.1

Compare Source

  • #​2218 Fixed a bug where latestapiversion was not updated to 2024-10-28.acacia in the last release.

v17.3.0

Compare Source

  • #​2204 This release changes the pinned API version to 2024-10-28.acacia.
    • Add support for new resource V2.EventDestinations
    • Add support for create, retrieve, update, list, del, disable, enable and ping methods on resource V2.EventDestinations
    • Add support for submit_card test helper method on resource Issuing.Card
    • Add support for groups on AccountCreateParams, AccountUpdateParams, and Account
    • Add support for alma_payments, kakao_pay_payments, kr_card_payments, naver_pay_payments, payco_payments, and samsung_pay_payments on Account.capabilities, AccountCreateParams.capabilities, and AccountUpdateParams.capabilities
    • Add support for disable_stripe_user_authentication on AccountSession.components.account_management.features, AccountSession.components.account_onboarding.features, AccountSession.components.balances.features, AccountSession.components.notification_banner.features, AccountSession.components.payouts.features, AccountSessionCreateParams.components.account_management.features, AccountSessionCreateParams.components.account_onboarding.features, AccountSessionCreateParams.components.balances.features, AccountSessionCreateParams.components.notification_banner.features, and AccountSessionCreateParams.components.payouts.features
    • Add support for schedule_at_period_end on BillingPortal.Configuration.features.subscription_update, BillingPortal.ConfigurationCreateParams.features.subscription_update, and BillingPortal.ConfigurationUpdateParams.features.subscription_update
    • Change BillingPortal.ConfigurationCreateParams.business_profile and Refund.next_action.display_details to be optional
    • Add support for alma on Charge.payment_method_details, ConfirmationToken.payment_method_preview, ConfirmationTokenCreateParams.testHelpers.payment_method_data, PaymentIntent.payment_method_options, PaymentIntentConfirmParams.payment_method_data, PaymentIntentConfirmParams.payment_method_options, PaymentIntentCreateParams.payment_method_data, PaymentIntentCreateParams.payment_method_options, PaymentIntentUpdateParams.payment_method_data, PaymentIntentUpdateParams.payment_method_options, PaymentMethodConfigurationCreateParams, PaymentMethodConfigurationUpdateParams, PaymentMethodConfiguration, PaymentMethodCreateParams, PaymentMethod, Refund.destination_details, SetupIntentConfirmParams.payment_method_data, SetupIntentCreateParams.payment_method_data, and SetupIntentUpdateParams.payment_method_data
    • Add support for kakao_pay and kr_card on Charge.payment_method_details, Checkout.Session.payment_method_options, Checkout.SessionCreateParams.payment_method_options, ConfirmationToken.payment_method_preview, ConfirmationTokenCreateParams.testHelpers.payment_method_data, Mandate.payment_method_details, PaymentIntent.payment_method_options, PaymentIntentConfirmParams.payment_method_data, PaymentIntentConfirmParams.payment_method_options, PaymentIntentCreateParams.payment_method_data, PaymentIntentCreateParams.payment_method_options, PaymentIntentUpdateParams.payment_method_data, PaymentIntentUpdateParams.payment_method_options, PaymentMethodCreateParams, PaymentMethod, SetupAttempt.payment_method_details, SetupIntentConfirmParams.payment_method_data, SetupIntentCreateParams.payment_method_data, and SetupIntentUpdateParams.payment_method_data
    • Add support for naver_pay on Charge.payment_method_details, Checkout.Session.payment_method_options, Checkout.SessionCreateParams.payment_method_options, ConfirmationToken.payment_method_preview, ConfirmationTokenCreateParams.testHelpers.payment_method_data, PaymentIntent.payment_method_options, PaymentIntentConfirmParams.payment_method_data, PaymentIntentConfirmParams.payment_method_options, PaymentIntentCreateParams.payment_method_data, PaymentIntentCreateParams.payment_method_options, PaymentIntentUpdateParams.payment_method_data, PaymentIntentUpdateParams.payment_method_options, PaymentMethodCreateParams, PaymentMethodUpdateParams, PaymentMethod, SetupIntentConfirmParams.payment_method_data, SetupIntentCreateParams.payment_method_data, and SetupIntentUpdateParams.payment_method_data
    • Add support for payco and samsung_pay on Charge.payment_method_details, Checkout.Session.payment_method_options, Checkout.SessionCreateParams.payment_method_options, ConfirmationToken.payment_method_preview, ConfirmationTokenCreateParams.testHelpers.payment_method_data, PaymentIntent.payment_method_options, PaymentIntentConfirmParams.payment_method_data, PaymentIntentConfirmParams.payment_method_options, PaymentIntentCreateParams.payment_method_data, PaymentIntentCreateParams.payment_method_options, PaymentIntentUpdateParams.payment_method_data, PaymentIntentUpdateParams.payment_method_options, PaymentMethodCreateParams, PaymentMethod, SetupIntentConfirmParams.payment_method_data, SetupIntentCreateParams.payment_method_data, and SetupIntentUpdateParams.payment_method_data
    • Add support for new values alma, kakao_pay, kr_card, naver_pay, payco, and samsung_pay on enums Checkout.SessionCreateParams.payment_method_types[], CustomerListPaymentMethodsParams.type, PaymentMethodCreateParams.type, and PaymentMethodListParams.type
    • Add support for new values by_tin, ma_vat, md_vat, tz_vat, uz_tin, and uz_vat on enums Checkout.Session.customer_details.tax_ids[].type, Invoice.customer_tax_ids[].type, Tax.Calculation.customer_details.tax_ids[].type, Tax.Transaction.customer_details.tax_ids[].type, and TaxId.type
    • Add support for new values alma, kakao_pay, kr_card, naver_pay, payco, and samsung_pay on enums ConfirmationTokenCreateParams.testHelpers.payment_method_data.type, PaymentIntentConfirmParams.payment_method_data.type, PaymentIntentCreateParams.payment_method_data.type, PaymentIntentUpdateParams.payment_method_data.type, SetupIntentConfirmParams.payment_method_data.type, SetupIntentCreateParams.payment_method_data.type, and SetupIntentUpdateParams.payment_method_data.type
    • Add support for new values alma, kakao_pay, kr_card, naver_pay, payco, and samsung_pay on enums ConfirmationToken.payment_method_preview.type and PaymentMethod.type
    • Add support for new value auto on enum CustomerUpdateParams.tax.validate_location
    • Add support for new values by_tin, ma_vat, md_vat, tz_vat, uz_tin, and uz_vat on enums CustomerCreateParams.tax_id_data[].type, InvoiceCreatePreviewParams.customer_details.tax_ids[].type, InvoiceUpcomingLinesParams.customer_details.tax_ids[].type, InvoiceUpcomingParams.customer_details.tax_ids[].type, Tax.CalculationCreateParams.customer_details.tax_ids[].type, and TaxIdCreateParams.type
    • Add support for enhanced_evidence on Dispute.evidence and DisputeUpdateParams.evidence
    • Add support for enhanced_eligibility_types on Dispute
    • Add support for enhanced_eligibility on Dispute.evidence_details
    • Add support for new values issuing_transaction.purchase_details_receipt_updated and refund.failed on enum Event.type
    • Add support for metadata on Forwarding.RequestCreateParams and Forwarding.Request
    • Add support for automatically_finalizes_at on InvoiceCreateParams and InvoiceUpdateParams
    • Add support for new values jp_credit_transfer, kakao_pay, kr_card, naver_pay, and payco on enums Invoice.payment_settings.payment_method_types[], InvoiceCreateParams.payment_settings.payment_method_types[], InvoiceUpdateParams.payment_settings.payment_method_types[], Subscription.payment_settings.payment_method_types[], SubscriptionCreateParams.payment_settings.payment_method_types[], and SubscriptionUpdateParams.payment_settings.payment_method_types[]
    • Add support for new value retail_delivery_fee on enums InvoiceAddLinesParams.lines[].tax_amounts[].tax_rate_data.tax_type, InvoiceUpdateLinesParams.lines[].tax_amounts[].tax_rate_data.tax_type, Tax.Calculation.shipping_cost.tax_breakdown[].tax_rate_details.tax_type, Tax.Calculation.tax_breakdown[].tax_rate_details.tax_type, Tax.CalculationLineItem.tax_breakdown[].tax_rate_details.tax_type, Tax.Transaction.shipping_cost.tax_breakdown[].tax_rate_details.tax_type, TaxRate.tax_type, TaxRateCreateParams.tax_type, and TaxRateUpdateParams.tax_type
    • Add support for new value alma on enums PaymentLink.payment_method_types[], PaymentLinkCreateParams.payment_method_types[], and PaymentLinkUpdateParams.payment_method_types[]
    • Add support for amazon_pay on PaymentMethodDomain
    • Change type of Refund.next_action.display_details from RefundNextActionDisplayDetails | null to RefundNextActionDisplayDetails
    • Add support for flat_amount and rate_type on Tax.Calculation.tax_breakdown[].tax_rate_details and TaxRate
    • Add support for by, cr, ec, ma, md, rs, ru, tz, and uz on Tax.Registration.country_options and Tax.RegistrationCreateParams.country_options
    • Add support for new value state_retail_delivery_fee on enums Tax.Registration.country_options.us.type and Tax.RegistrationCreateParams.country_options.us.type
    • Add support for pln on Terminal.Configuration.tipping, Terminal.ConfigurationCreateParams.tipping, and Terminal.ConfigurationUpdateParams.tipping
    • Add support for new values issuing_transaction.purchase_details_receipt_updated and refund.failed on enums WebhookEndpointCreateParams.enabled_events[] and WebhookEndpointUpdateParams.enabled_events[]
    • Add support for new value 2024-10-28.acacia on enum WebhookEndpointCreateParams.api_version

v17.2.1

Compare Source

  • #​2210 update object tags for meter-related classes

    • fixes a bug where the object property of the MeterEvent, MeterEventAdjustment, and MeterEventSession didn't match the server.
  • #​2208 Update signature verification docs link

v17.2.0

Compare Source

  • #​2201 Add fetchRelatedObject to V2 Events if needed
    • fetchRelatedObject is added to events retrieved using stripe.v2.core.events and can be used to easily fetch the Stripe object related to a retrieved event

v17.1.0

Compare Source

  • #​2199 Update generated code
    • Remove the support for resource Margin that was accidentally made public in the last release

v17.0.0

Compare Source

  • #​2192 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 Upgrade Guide and carefully review the API changes before upgrading.

⚠️ Breaking changes due to changes in the Stripe API
  • Rename usage_threshold_config to usage_threshold on Billing.AlertCreateParams and Billing.Alert
  • Remove support for filter on Billing.AlertCreateParams and Billing.Alert. Use the filters on the usage_threshold instead
  • Remove support for customer_consent_collected on Terminal.ReaderProcessSetupIntentParams.
⚠️ Other Breaking changes in the SDK
  • Adjusted default values around reties for HTTP requests. You can use the old defaults by setting them explicitly. New values are:
    • max retries: 1 -> 2
    • max timeout (seconds): 2 -> 5
Additions
  • Add support for custom_unit_amount on ProductCreateParams.default_price_data
  • Add support for allow_redisplay on Terminal.ReaderProcessPaymentIntentParams.process_config and Terminal.ReaderProcessSetupIntentParams
  • Add support for new value international_transaction on enum Treasury.ReceivedCredit.failure_code
  • Add support for new value 2024-09-30.acacia on enum WebhookEndpointCreateParams.api_version
  • Add support for new Usage Billing APIs Billing.MeterEvent, Billing.MeterEventAdjustments, Billing.MeterEventSession, Billing.MeterEventStream and the new Events API Core.Events in the v2 namespace
  • Add method parseThinEvent() on the Stripe class to parse thin events.
  • Add method rawRequest() on the Stripe class 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.
Changes
  • Change BillingPortal.ConfigurationCreateParams.features.subscription_update.default_allowed_updates and BillingPortal.ConfigurationCreateParams.features.subscription_update.products to be optional

v16.12.0

Compare Source

  • #​2177 Update generated code
    • Add support for new value international_transaction on enum Treasury.ReceivedDebit.failure_code
  • #​2175 Update generated code
    • Add support for new value verification_supportability on enums Account.future_requirements.errors[].code, Account.requirements.errors[].code, BankAccount.future_requirements.errors[].code, and BankAccount.requirements.errors[].code
    • Add support for new value terminal_reader_invalid_location_for_activation on enums Invoice.last_finalization_error.code, PaymentIntent.last_payment_error.code, SetupAttempt.setup_error.code, SetupIntent.last_setup_error.code, and StripeError.code
    • Add support for payer_details on Charge.payment_method_details.klarna
    • Add support for amazon_pay on Dispute.payment_method_details
    • Add support for new value amazon_pay on enum Dispute.payment_method_details.type
    • Add support for automatically_finalizes_at on Invoice
    • Add support for state_sales_tax on Tax.Registration.country_options.us and Tax.RegistrationCreateParams.country_options.us

v16.11.0

Compare Source

  • #​2171 Update generated code
    • Add support for new resource InvoiceRenderingTemplate
    • Add support for archive, list, retrieve, and unarchive methods on resource InvoiceRenderingTemplate
    • Add support for required on Checkout.Session.tax_id_collection, Checkout.SessionCreateParams.tax_id_collection, PaymentLink.tax_id_collection, PaymentLinkCreateParams.tax_id_collection, and PaymentLinkUpdateParams.tax_id_collection
    • Add support for template on Customer.invoice_settings.rendering_options, CustomerCreateParams.invoice_settings.rendering_options, CustomerUpdateParams.invoice_settings.rendering_options, Invoice.rendering, InvoiceCreateParams.rendering, and InvoiceUpdateParams.rendering
    • Add support for template_version on Invoice.rendering, InvoiceCreateParams.rendering, and InvoiceUpdateParams.rendering
    • Add support for new value submitted on enum Issuing.Card.shipping.status
    • Change TestHelpers.TestClock.status_details to be required


Configuration

📅 Schedule: Branch creation - "* * * * 1-5" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants