-
Notifications
You must be signed in to change notification settings - Fork 445
Update generated code for beta #1455
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
Merged
Merged
Conversation
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
* upgrade ruff version * remove old comment * update comment
* Update generated code for v1463 * Update generated code for v1494 * Update generated code for v1495 * Update generated code for v1501 * Update generated code for v1505 --------- Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> Co-authored-by: prathmesh-stripe <165320323+prathmesh-stripe@users.noreply.github.com>
…on docs.stripe.com (#1466)
03fac8d
to
d04ca8b
Compare
e8b9a7e
to
54e39cc
Compare
Co-authored-by: David Brownman <109395161+xavdid-stripe@users.noreply.github.com>
mbroshi-stripe
approved these changes
Mar 27, 2025
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.
Codegen for openapi v1629.
Changelog
BalanceSettings
modify
andretrieve
methods on resourceBalanceSettings
create
,delete
,list
,modify
, andretrieve
methods on a newExternalAccountService
to access cards and bank accounts made available in the new pathv1/external_accounts
stripe_balance_payments
onAccount.Capability
,Account.CreateParamsCapability
, andAccount.UpdateParamsCapability
stripe_balance_payment_debit_reversal
andstripe_balance_payment_debit
on enumBalanceTransaction.type
customer_account
onBillingCreditBalanceSummary
,BillingCreditGrant
,BillingPortalSession
,CheckoutSession
,ConfirmationToken.PaymentMethodPreview
,CreditNote.ListParams
,CreditNote
,CustomerBalanceTransaction
,CustomerCashBalanceTransaction
,CustomerCashBalance
,CustomerPaymentMethod
,CustomerSession.CreateParams
,CustomerSession
,CustomerTaxId.Owner
,CustomerTaxId
,Customer
,Discount
,FinancialConnectionsAccount.AccountHolder
,FinancialConnectionsSession.AccountHolder
,Invoice.CreateParams
,Invoice.CreatePreviewParams
,Invoice.ListParams
,InvoiceItem.CreateParams
,InvoiceItem.ListParams
,InvoiceItem
,Invoice
,PaymentIntent.CreateParams
,PaymentIntent.ListParams
,PaymentIntent.UpdateParams
,PaymentIntent
,PaymentMethod.AttachParams
,PaymentMethod
,PromotionCode.CreateParams
,PromotionCode.ListParams
,PromotionCode
,Quote.CreateParams
,Quote.ListParams
,Quote.UpdateParams
,QuotePreviewInvoice
,QuotePreviewSubscriptionSchedule
,Quote
,SetupAttempt
,SetupIntent.CreateParams
,SetupIntent.ListParams
,SetupIntent.UpdateParams
,SetupIntent
,Subscription.CreateParams
,Subscription.ListParams
,SubscriptionSchedule.CreateParams
,SubscriptionSchedule.ListParams
,SubscriptionSchedule
,Subscription
,TaxId.CreateParamsOwner
,TaxId.ListParamsOwner
,TaxId.Owner
,TaxId
,billing.CreditBalanceSummary.RetrieveParams
,billing.CreditBalanceTransaction.ListParams
,billing.CreditGrant.CreateParams
,billing.CreditGrant.ListParams
,billingportal.Session.CreateParams
,checkout.Session.CreateParams
,checkout.Session.ListParams
,financialconnections.Account.ListParamsAccountHolder
, andfinancialconnections.Session.CreateParamsAccountHolder
stripe_balance
onCharge.PaymentMethodDetail
,ConfirmationToken.CreateParamsPaymentMethodDatum
,ConfirmationToken.PaymentMethodPreview
,CustomerPaymentMethod
,PaymentAttemptRecord.PaymentMethodDetail
,PaymentIntent.ConfirmParamsPaymentMethodDatum
,PaymentIntent.ConfirmParamsPaymentMethodOption
,PaymentIntent.CreateParamsPaymentMethodDatum
,PaymentIntent.CreateParamsPaymentMethodOption
,PaymentIntent.PaymentMethodOption
,PaymentIntent.UpdateParamsPaymentMethodDatum
,PaymentIntent.UpdateParamsPaymentMethodOption
,PaymentMethod.CreateParams
,PaymentMethod
,PaymentRecord.PaymentMethodDetail
,SetupAttempt.PaymentMethodDetail
,SetupIntent.ConfirmParamsPaymentMethodDatum
,SetupIntent.CreateParamsPaymentMethodDatum
, andSetupIntent.UpdateParamsPaymentMethodDatum
update_shipping_details
onCheckoutSession.Permission
andcheckout.Session.CreateParamsPermission
provider
onCheckoutSession.AutomaticTax
,Invoice.AutomaticTax
,Quote.AutomaticTax
, andQuotePreviewInvoice.AutomaticTax
CheckoutSession.Permission.update
to be optionaltax_calculation_reference
onCreditNoteLineItem
,CreditNotePreviewLines
,InvoiceLineItem
,LineItem
,PaymentLinkLineItem
,QuoteComputedUpfrontLineItems
,QuoteLineItem
, andSessionLineItem
repeating
andvariable
from enumsCoupon.CreateParams.duration
andCoupon.duration
CreditNote.refunds
to be requiredcontext
onEvent
related_customer_account
onIdentityVerificationSession
,identity.VerificationSession.CreateParams
, andidentity.VerificationSession.ListParams
Invoice.amount_overpaid
andQuotePreviewInvoice.amount_overpaid
to be requiredamount_overpaid
onInvoicePayment
InvoicePayment.is_default
fromnullable(boolean)
toboolean
out_of_band_payment
andpayment_record
from enumInvoicePayment.Payment.type
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
Order.CreateParamsPaymentSettingPaymentMethodOptionWechatPay.client
andOrder.UpdateParamsPaymentSettingPaymentMethodOptionWechatPay.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
,billie
,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
,naver_pay
,nz_bank_account
,oxxo
,p24
,pay_by_bank
,payco
,paynow
,paypal
,payto
,pix
,promptpay
,qris
,rechnung
,revolut_pay
,samsung_pay
,satispay
,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 optionalPaymentRecord.ReportPaymentParams.payment_reference
to be optionalPaymentRecord.latest_payment_attempt_record
fromstring
tonullable(string)
payout_method
onPayout.CreateParams
andPayout
confirmation_secret
,parent
, andtotal_taxes
onQuotePreviewInvoice
application_fee_amount
,discount
,paid_out_of_band
,paid
,payment_intent
,quote
,subscription_details
,subscription_proration_date
,tax
,total_tax_amounts
, andtransfer_data
onQuotePreviewInvoice
forwarding_api_retryable_upstream_error
,setup_intent_mobile_wallet_unsupported
,v2_account_disconnection_unsupported
, andv2_account_missing_configuration
on enumQuotePreviewInvoice.LastFinalizationError.code
klarna
,nz_bank_account
, andstripe_balance
on enumQuotePreviewInvoice.PaymentSetting.payment_method_types
billing_thresholds
onQuotePreviewSubscriptionSchedule.DefaultSetting
,QuotePreviewSubscriptionSchedule.Phase.Item
, andQuotePreviewSubscriptionSchedule.Phase
coupon
onQuotePreviewSubscriptionSchedule.Phase