- #2053 Update generated code
- Change
Charge.payment_method_details.us_bank_account.payment_reference
,PaymentIntent.next_action.swish_handle_redirect_or_display_qr_code.hosted_instructions_url
,PaymentIntent.next_action.swish_handle_redirect_or_display_qr_code.mobile_auth_url
,PaymentIntent.next_action.swish_handle_redirect_or_display_qr_code.qr_code.data
,PaymentIntent.next_action.swish_handle_redirect_or_display_qr_code.qr_code.image_url_png
,PaymentIntent.next_action.swish_handle_redirect_or_display_qr_code.qr_code.image_url_svg
,PaymentIntent.next_action.swish_handle_redirect_or_display_qr_code.qr_code
, andPaymentIntent.payment_method_options.swish.reference
to be required - Change type of
Checkout.SessionCreateParams.payment_method_options.swish.reference
fromemptyable(string)
tostring
- Add support for
subscription_item
onDiscount
- Add support for
email
andphone
onIdentity.VerificationReport
,Identity.VerificationSession.options
,Identity.VerificationSession.verified_outputs
,Identity.VerificationSessionCreateParams.options
, andIdentity.VerificationSessionUpdateParams.options
- Add support for
verification_flow
onIdentity.VerificationReport
,Identity.VerificationSessionCreateParams
, andIdentity.VerificationSession
- Add support for new value
verification_flow
on enumsIdentity.VerificationReport.type
andIdentity.VerificationSession.type
- Add support for
provided_details
onIdentity.VerificationSessionCreateParams
,Identity.VerificationSessionUpdateParams
, andIdentity.VerificationSession
- Change
Identity.VerificationSessionCreateParams.type
to be optional - Add support for new values
email_unverified_other
,email_verification_declined
,phone_unverified_other
, andphone_verification_declined
on enumIdentity.VerificationSession.last_error.code
- Add support for
promotion_code
onInvoiceCreateParams.discounts[]
,InvoiceItemCreateParams.discounts[]
,InvoiceItemUpdateParams.discounts[]
,InvoiceUpdateParams.discounts[]
,QuoteCreateParams.discounts[]
, andQuoteUpdateParams.discounts[]
- Add support for
discounts
onInvoiceUpcomingLinesParams.subscription_items[]
,InvoiceUpcomingParams.subscription_items[]
,QuoteCreateParams.line_items[]
,QuoteUpdateParams.line_items[]
,SubscriptionCreateParams.add_invoice_items[]
,SubscriptionCreateParams.items[]
,SubscriptionCreateParams
,SubscriptionItemCreateParams
,SubscriptionItemUpdateParams
,SubscriptionItem
,SubscriptionSchedule.phases[].add_invoice_items[]
,SubscriptionSchedule.phases[].items[]
,SubscriptionSchedule.phases[]
,SubscriptionScheduleCreateParams.phases[].add_invoice_items[]
,SubscriptionScheduleCreateParams.phases[].items[]
,SubscriptionScheduleCreateParams.phases[]
,SubscriptionScheduleUpdateParams.phases[].add_invoice_items[]
,SubscriptionScheduleUpdateParams.phases[].items[]
,SubscriptionScheduleUpdateParams.phases[]
,SubscriptionUpdateParams.add_invoice_items[]
,SubscriptionUpdateParams.items[]
,SubscriptionUpdateParams
, andSubscription
- Change type of
Invoice.discounts
fromarray(expandable(deletable($Discount))) | null
toarray(expandable(deletable($Discount)))
- Add support for
allowed_merchant_countries
andblocked_merchant_countries
onIssuing.Card.spending_controls
,Issuing.CardCreateParams.spending_controls
,Issuing.CardUpdateParams.spending_controls
,Issuing.Cardholder.spending_controls
,Issuing.CardholderCreateParams.spending_controls
, andIssuing.CardholderUpdateParams.spending_controls
- Add support for
zip
onPaymentMethodConfigurationCreateParams
,PaymentMethodConfigurationUpdateParams
, andPaymentMethodConfiguration
- Add support for
offline
onSetupAttempt.payment_method_details.card_present
- Add support for
card_present
onSetupIntent.payment_method_options
,SetupIntentConfirmParams.payment_method_options
,SetupIntentCreateParams.payment_method_options
, andSetupIntentUpdateParams.payment_method_options
- Add support for new value
mobile_phone_reader
on enumsTerminal.Reader.device_type
andTerminal.ReaderListParams.device_type
- Change