- #2219 Update generated code for beta
- Add support for new resources
Issuing.FraudLiabilityDebit
,PaymentAttemptRecord
, andPaymentRecord
- Add support for
list
andretrieve
methods on resourcesFraudLiabilityDebit
andPaymentAttemptRecord
- Add support for
report_payment_attempt_canceled
,report_payment_attempt_failed
,report_payment_attempt_guaranteed
,report_payment_attempt
,report_payment
, andretrieve
methods on resourcePaymentRecord
- Change type of
Account.future_requirements.disabled_reason
andAccount.requirements.disabled_reason
fromstring
toenum
- Remove support for
money_movement
onAccountSessionCreateParams.components.financial_account.features
- Add support for
card_management
,card_spend_dispute_management
,cardholder_management
, andspend_control_management
onAccountSessionCreateParams.components.issuing_card.features
- Add support for
disable_stripe_user_authentication
onAccountSessionCreateParams.components.issuing_cards_list.features
- 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
, andAccountSession.components.payouts.features.disable_stripe_user_authentication
to be required - Add support for
adaptive_pricing
onCheckout.SessionCreateParams
andCheckout.Session
- Add support for
mandate_options
onCheckout.Session.payment_method_options.bacs_debit
,Checkout.Session.payment_method_options.sepa_debit
,Checkout.SessionCreateParams.payment_method_options.bacs_debit
, andCheckout.SessionCreateParams.payment_method_options.sepa_debit
- Add support for
request_decremental_authorization
,request_extended_authorization
,request_incremental_authorization
,request_multicapture
, andrequest_overcapture
onCheckout.Session.payment_method_options.card
andCheckout.SessionCreateParams.payment_method_options.card
- Add support for
capture_method
onCheckout.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
, andCheckout.SessionCreateParams.payment_method_options.samsung_pay
- Add support for new value
li_vat
on enumsCheckout.Session.collected_information.tax_ids[].type
,Checkout.Session.customer_details.tax_ids[].type
,Invoice.customer_tax_ids[].type
,Order.tax_details.tax_ids[].type
,Tax.Calculation.customer_details.tax_ids[].type
,Tax.Transaction.customer_details.tax_ids[].type
, andTaxId.type
- Add support for new value
li_vat
on enumsCustomerCreateParams.tax_id_data[].type
,InvoiceCreatePreviewParams.customer_details.tax_ids[].type
,InvoiceUpcomingLinesParams.customer_details.tax_ids[].type
,InvoiceUpcomingParams.customer_details.tax_ids[].type
,OrderCreateParams.tax_details.tax_ids[].type
,OrderUpdateParams.tax_details.tax_ids[].type
,Tax.CalculationCreateParams.customer_details.tax_ids[].type
, andTaxIdCreateParams.type
- Add support for new values
invoice.payment_attempt_required
andissuing_fraud_liability_debit.created
on enumEvent.type
- Add support for
account_holder_address
,account_holder_name
,account_type
, andbank_address
onFundingInstructions.bank_transfer.financial_addresses[].aba
,FundingInstructions.bank_transfer.financial_addresses[].swift
,PaymentIntent.next_action.display_bank_transfer_instructions.financial_addresses[].aba
, andPaymentIntent.next_action.display_bank_transfer_instructions.financial_addresses[].swift
- Add support for new value
custom
on enumsInvoice.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[]
, andSubscriptionUpdateParams.payment_settings.payment_method_types[]
- Add support for new value
service_tax
on enumsInvoiceAddLinesParams.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
, andTaxRateUpdateParams.tax_type
- Add support for
payment_record_data
andpayment_record
onInvoiceAttachPaymentParams
- Remove support for
out_of_band_payment
onInvoiceAttachPaymentParams
- Add support for
amount_overpaid
onInvoice
- Add support for
merchant_amount
andmerchant_currency
onIssuing.AuthorizationCreateParams.testHelpers
- Change
Issuing.AuthorizationCreateParams.testHelpers.amount
to be optional - Add support for new value
link
on enumsPaymentIntent.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
, andSubscriptionUpdateParams.payment_settings.payment_method_options.card.network
- Add support for
submit_type
onPaymentLinkUpdateParams
- Change type of
Treasury.InboundTransfer.origin_payment_method
fromstring
tostring | null
- Add support for new values
invoice.payment_attempt_required
andissuing_fraud_liability_debit.created
on enumsWebhookEndpointCreateParams.enabled_events[]
andWebhookEndpointUpdateParams.enabled_events[]
- Add support for new resources