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.
Codegen for openapi v1566.
Changelog
hosted_payment_method_save
onAccount.Setting.Invoice
andAccount.UpdateParamsSettingInvoice
invoices
onAccount.CreateParamsSetting
setup_intent_mobile_wallet_unsupported
on enumsInvoice.LastFinalizationError.code
,PaymentIntent.LastPaymentError.code
,QuotePreviewInvoice.LastFinalizationError.code
,SetupAttempt.SetupError.code
,SetupIntent.LastSetupError.code
, andStripeError.code
shipping_details
onCheckoutSession
carrier
,phone
, andtracking_number
onCheckoutSession.CollectedInformation.ShippingDetail
CheckoutSession.CollectedInformation.ShippingDetail.address
to be requiredCheckoutSession.CollectedInformation.ShippingDetail.name
to be requiredbuyer_id
onConfirmationToken.PaymentMethodPreview.NaverPay
,CustomerPaymentMethod.NaverPay
, andPaymentMethod.NaverPay
duration_in_months
onCoupon.CreateParams
repeating
andvariable
from enumsCoupon.CreateParams.duration
andCoupon.duration
tax_amounts
onCreditNoteLineItem
,CreditNote
, andInvoiceLineItem
amount_excluding_tax
andunit_amount_excluding_tax
onCreditNoteLineItem
andInvoiceLineItem
coupon
onCustomer.CreateParams
,Customer.UpdateParams
,Invoice.CreatePreviewParamsScheduleDetailPhase
,Invoice.CreatePreviewParams
,Invoice.UpcomingLinesParamsScheduleDetailPhase
,Invoice.UpcomingLinesParams
,Invoice.UpcomingParamsScheduleDetailPhase
,Invoice.UpcomingParams
,QuotePreviewSubscriptionSchedule.Phase
,Subscription.CreateParams
,Subscription.UpdateParams
,SubscriptionSchedule.CreateParamsPhase
,SubscriptionSchedule.Phase
, andSubscriptionSchedule.UpdateParamsPhase
promotion_code
onCustomer.CreateParams
,Customer.UpdateParams
,Subscription.CreateParams
, andSubscription.UpdateParams
checkout_session_subscription_payment_canceled
andcheckout_session_subscription_payment
on enumCustomerBalanceTransaction.type
discount
onInvoice
,QuotePreviewInvoice
, andSubscription
plan
andprice
onInvoiceItem
andInvoiceLineItem
tax_rates
onInvoiceLineItem
unit_amount_decimal
andunit_amount
onInvoiceItem
network_data
onIssuingDisputeSettlementDetail
interchange_fees_amount
,net_total_amount
,network_fees_amount
,other_fees_amount
,other_fees_count
, andtransaction_amount
onIssuingSettlement
interchange_fees
,net_total
,network_fees
, andtransaction_volume
onIssuingSettlement
naver_pay
onMandate.PaymentMethodDetail
,PaymentAttemptRecord.PaymentMethodDetail
,PaymentRecord.PaymentMethodDetail
, andSetupAttempt.PaymentMethodDetail
Order.CreateParamsPaymentSettingPaymentMethodOptionWechatPay.client
,Order.UpdateParamsPaymentSettingPaymentMethodOptionWechatPay.client
,PaymentIntent.ConfirmParamsPaymentMethodOptionWechatPay.client
,PaymentIntent.CreateParamsPaymentMethodOptionWechatPay.client
, andPaymentIntent.UpdateParamsPaymentMethodOptionWechatPay.client
to be optionalreported_by
onPaymentAttemptRecord
ach_credit_transfer
,ach_debit
,acss_debit
,affirm
,afterpay_clearpay
,alipay
,alma
,amazon_pay
,au_becs_debit
,bacs_debit
,bancontact
,blik
,boleto
,card_present
,card
,cashapp
,customer_balance
,eps
,fpx
,giropay
,gopay
,grabpay
,id_bank_transfer
,ideal
,interac_present
,kakao_pay
,klarna
,konbini
,kr_card
,link
,mb_way
,mobilepay
,multibanco
,oxxo
,p24
,pay_by_bank
,payco
,paynow
,paypal
,payto
,pix
,promptpay
,qris
,rechnung
,revolut_pay
,samsung_pay
,sepa_credit_transfer
,sepa_debit
,shopeepay
,sofort
,stripe_account
,swish
,twint
,us_bank_account
,wechat_pay
,wechat
, andzip
onPaymentAttemptRecord.PaymentMethodDetail
andPaymentRecord.PaymentMethodDetail
PaymentAttemptRecord.PaymentMethodDetail.custom
andPaymentRecord.PaymentMethodDetail.custom
fromnullable(PaymentsPrimitivesPaymentRecordsResourcePaymentMethodCustomDetails)
toPaymentsPrimitivesPaymentRecordsResourcePaymentMethodCustomDetails
PaymentAttemptRecord.PaymentMethodDetail.type
andPaymentRecord.PaymentMethodDetail.type
fromliteral('custom')
tostring
PaymentAttemptRecord.payment_record
fromstring
tonullable(string)
PaymentAttemptRecord.PaymentMethodDetail.custom
andPaymentRecord.PaymentMethodDetail.custom
to be optionalsetup_future_usage
onPaymentIntent.ConfirmParamsPaymentMethodOptionNaverPay
,PaymentIntent.CreateParamsPaymentMethodOptionNaverPay
,PaymentIntent.PaymentMethodOption.NaverPay
, andPaymentIntent.UpdateParamsPaymentMethodOptionNaverPay
default_value
onPaymentLink.CreateParamsCustomFieldDropdown
,PaymentLink.CreateParamsCustomFieldNumeric
,PaymentLink.CreateParamsCustomFieldText
,PaymentLink.CustomField.Dropdown
,PaymentLink.CustomField.Numeric
,PaymentLink.CustomField.Text
,PaymentLink.UpdateParamsCustomFieldDropdown
,PaymentLink.UpdateParamsCustomFieldNumeric
, andPaymentLink.UpdateParamsCustomFieldText
PaymentRecord.ReportPaymentParams.payment_reference
to be optionalPaymentRecord.latest_payment_attempt_record
fromstring
tonullable(string)
cancel_at_period_end
onSubscription.CreateParams
,Subscription.UpdateParams
, andSubscription
wifi
onTerminalConfiguration
,terminal.Configuration.CreateParams
, andterminal.Configuration.UpdateParams
2025-03-01.dashboard
and2025-03-31.basil
on enumWebhookEndpoint.CreateParams.api_version