Skip to content

Update generated code for beta #1495

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 26 commits into from
Apr 17, 2025
Merged

Update generated code for beta #1495

merged 26 commits into from
Apr 17, 2025

Conversation

stripe-openapi[bot]
Copy link
Contributor

@stripe-openapi stripe-openapi bot commented Apr 10, 2025

Codegen for openapi v1697.

Changelog

  • Add support for new resources FxQuote and PaymentIntentAmountDetailsLineItem
  • Add support for create, list, and retrieve methods on resource FxQuote
  • Remove support for attach_payment_intent method on resource Invoice
  • Add support for registration_date on Account.Company, Account.CreateParamsCompany, Account.UpdateParamsCompany, and Token.CreateParamsAccountCompany
  • Add support for customer_reference and order_reference on Charge.CaptureParamsPaymentDetail, Charge.UpdateParamsPaymentDetail, PaymentIntent.CaptureParamsPaymentDetail, PaymentIntent.ConfirmParamsPaymentDetail, PaymentIntent.CreateParamsPaymentDetail, PaymentIntent.PaymentDetail, and PaymentIntent.UpdateParamsPaymentDetail
  • Add support for tax_id on Charge.BillingDetail, ConfirmationToken.CreateParamsPaymentMethodDatumBillingDetail, ConfirmationToken.PaymentMethodPreview.BillingDetail, PaymentIntent.ConfirmParamsPaymentMethodDatumBillingDetail, PaymentIntent.CreateParamsPaymentMethodDatumBillingDetail, PaymentIntent.UpdateParamsPaymentMethodDatumBillingDetail, PaymentMethod.BillingDetail, PaymentMethod.CreateParamsBillingDetail, PaymentMethod.UpdateParamsBillingDetail, SetupIntent.ConfirmParamsPaymentMethodDatumBillingDetail, SetupIntent.CreateParamsPaymentMethodDatumBillingDetail, SetupIntent.UpdateParamsPaymentMethodDatumBillingDetail, and treasury.OutboundPayment.CreateParamsDestinationPaymentMethodDatumBillingDetail
  • Add support for price_data on checkout.Session.UpdateParamsLineItem
  • Change type of checkout.Session.UpdateParamsLineItem.quantity from longInteger to emptyable(longInteger)
  • Add support for script on Coupon.CreateParams and Coupon
  • Add support for type on Coupon
  • Add support for new value fx_quote.expired on enum Event.type
  • Add support for new value affirm on enums Invoice.CreateParamsPaymentSetting.payment_method_types, Invoice.PaymentSetting.payment_method_types, Invoice.UpdateParamsPaymentSetting.payment_method_types, QuotePreviewInvoice.PaymentSetting.payment_method_types, Subscription.CreateParamsPaymentSetting.payment_method_types, Subscription.PaymentSetting.payment_method_types, and Subscription.UpdateParamsPaymentSetting.payment_method_types
  • Add support for fx_quote on PaymentIntent.ConfirmParams, PaymentIntent.CreateParams, PaymentIntent.UpdateParams, PaymentIntent, Transfer.CreateParams, and Transfer
  • Add support for discount_amount, line_items, shipping, and tax on PaymentIntent.AmountDetail
  • Add support for pix on PaymentMethodConfiguration.CreateParams, PaymentMethodConfiguration.UpdateParams, and PaymentMethodConfiguration
  • Add support for us_cfpb_data on Person and Token.CreateParamsPerson
  • Add support for pending_reason on Refund
  • Add support for aw, az, bd, bj, et, kg, la, and ph on TaxRegistration.CountryOption and tax.Registration.CreateParamsCountryOption
  • Add support for new value fx_quote.expired on enums WebhookEndpoint.CreateParams.enabled_events and WebhookEndpoint.UpdateParams.enabled_events
  • Add support for snapshot event fx_quote.expired with resource FxQuote

@stripe-openapi stripe-openapi bot requested a review from a team as a code owner April 10, 2025 19:25
@stripe-openapi stripe-openapi bot requested review from helenye-stripe and removed request for a team April 10, 2025 19:25
@stripe-openapi stripe-openapi bot enabled auto-merge April 10, 2025 19:25
@stripe-openapi stripe-openapi bot merged commit 28ce99a into beta Apr 17, 2025
14 checks passed
@stripe-openapi stripe-openapi bot deleted the latest-codegen-beta branch April 17, 2025 21:25
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.

3 participants