Skip to content
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

Update generated code for beta #2261

Open
wants to merge 55 commits into
base: beta
Choose a base branch
from
Open

Conversation

stripe-openapi[bot]
Copy link
Contributor

@stripe-openapi stripe-openapi bot commented Feb 7, 2025

Codegen for openapi v1549.

Changelog

  • Add support for succeed_input_collection and timeout_input_collection test helper methods on resource Terminal.Reader
  • Change type of Account.risk_controls.rejected_reason from enum to enum | null
  • Add support for new value setup_intent_mobile_wallet_unsupported on enums Invoice.last_finalization_error.code, PaymentIntent.last_payment_error.code, QuotePreviewInvoice.last_finalization_error.code, SetupAttempt.setup_error.code, SetupIntent.last_setup_error.code, and StripeError.code
  • Remove support for shipping_details on Checkout.Session
  • Remove support for carrier, phone, and tracking_number on Checkout.Session.collected_information.shipping_details
  • Change Checkout.Session.collected_information.shipping_details.address, Checkout.Session.collected_information.shipping_details.name, Checkout.Session.collected_information.shipping_details, and Checkout.Session.collected_information to be required
  • Add support for new values checkout_session_subscription_payment_canceled and checkout_session_subscription_payment on enum CustomerBalanceTransaction.type
  • Remove support for amount_excluding_tax and unit_amount_excluding_tax on InvoiceLineItem
  • Remove support for plan, price, unit_amount_decimal, and unit_amount on InvoiceItem
  • Add support for network_data on Issuing.DisputeSettlementDetail
  • Add support for interchange_fees_amount, net_total_amount, network_fees_amount, other_fees_amount, other_fees_count, and transaction_amount on Issuing.Settlement
  • Remove support for interchange_fees, net_total, network_fees, and transaction_volume on Issuing.Settlement
  • Add support for target_date on Order.payment.settings.payment_method_options.acss_debit, Order.payment.settings.payment_method_options.sepa_debit, OrderCreateParams.payment.settings.payment_method_options.acss_debit, OrderCreateParams.payment.settings.payment_method_options.sepa_debit, OrderUpdateParams.payment.settings.payment_method_options.acss_debit, and OrderUpdateParams.payment.settings.payment_method_options.sepa_debit
  • Change OrderCreateParams.payment.settings.payment_method_options.wechat_pay.client, OrderUpdateParams.payment.settings.payment_method_options.wechat_pay.client, PaymentAttemptRecord.payment_method_details.custom, PaymentIntentConfirmParams.payment_method_options.wechat_pay.client, PaymentIntentCreateParams.payment_method_options.wechat_pay.client, PaymentIntentUpdateParams.payment_method_options.wechat_pay.client, PaymentRecord.payment_method_details.custom, and PaymentRecordReportPaymentParams.payment_reference to be optional
  • Add support for reported_by on PaymentAttemptRecord
  • Add support for 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, naver_pay, 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, and zip on PaymentAttemptRecord.payment_method_details and PaymentRecord.payment_method_details
  • Change type of PaymentAttemptRecord.payment_method_details.custom and PaymentRecord.payment_method_details.custom from PaymentsPrimitivesPaymentRecordsResourcePaymentMethodDetailsResourceCustomDetails | null to PaymentsPrimitivesPaymentRecordsResourcePaymentMethodCustomDetails
  • Change type of PaymentAttemptRecord.payment_method_details.type and PaymentRecord.payment_method_details.type from literal('custom') to string
  • Change type of PaymentAttemptRecord.payment_record and PaymentRecord.latest_payment_attempt_record from string to string | null
  • Remove support for cancel_at_period_end on SubscriptionCreateParams, SubscriptionUpdateParams, and Subscription
  • Add support for wifi on Terminal.ConfigurationCreateParams, Terminal.ConfigurationUpdateParams, and Terminal.Configuration

@stripe-openapi stripe-openapi bot requested a review from a team as a code owner February 7, 2025 22:27
@stripe-openapi stripe-openapi bot removed the request for review from a team February 7, 2025 22:27
@stripe-openapi stripe-openapi bot enabled auto-merge February 7, 2025 22:27
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.

2 participants