Skip to content

Conversation

stripe-openapi[bot]
Copy link
Contributor

@stripe-openapi stripe-openapi bot commented Mar 28, 2025

Codegen for openapi v1646.

Changelog

  • Add support for new resources BalanceSettings and TlExternalAccount
  • Add support for retrieve and update methods on resource BalanceSettings
  • Add support for create, del, list, retrieve, and update methods on resource TlExternalAccount
  • Add support for stripe_balance_payments on Account.capabilities, AccountCreateParams.capabilities, and AccountUpdateParams.capabilities
  • Add support for customer_account on Billing.CreditBalanceSummaryRetrieveParams, Billing.CreditBalanceSummary, Billing.CreditBalanceTransactionListParams, Billing.CreditGrantCreateParams, Billing.CreditGrantListParams, Billing.CreditGrant, BillingPortal.SessionCreateParams, BillingPortal.Session, Checkout.SessionCreateParams, Checkout.SessionListParams, Checkout.Session, ConfirmationToken.payment_method_preview, CreditNoteListParams, CreditNote, CustomerBalanceTransaction, CustomerCashBalanceTransaction, CustomerCashBalance, CustomerPaymentMethod, CustomerSessionCreateParams, CustomerSession, CustomerTaxId.owner, CustomerTaxId, Customer, Discount, FinancialConnections.Account.account_holder, FinancialConnections.AccountListParams.account_holder, FinancialConnections.Session.account_holder, FinancialConnections.SessionCreateParams.account_holder, InvoiceCreateParams, InvoiceCreatePreviewParams, InvoiceItemCreateParams, InvoiceItemListParams, InvoiceItem, InvoiceListParams, Invoice, PaymentIntentCreateParams, PaymentIntentListParams, PaymentIntentUpdateParams, PaymentIntent, PaymentMethodAttachParams, PaymentMethod, PromotionCodeCreateParams, PromotionCodeListParams, PromotionCode, QuoteCreateParams, QuoteListParams, QuotePreviewInvoice, QuotePreviewSubscriptionSchedule, QuoteUpdateParams, Quote, SetupAttempt, SetupIntentCreateParams, SetupIntentListParams, SetupIntentUpdateParams, SetupIntent, SubscriptionCreateParams, SubscriptionListParams, SubscriptionScheduleCreateParams, SubscriptionScheduleListParams, SubscriptionSchedule, Subscription, TaxId.owner, TaxIdCreateParams.owner, TaxIdListParams.owner, and TaxId
  • Change Billing.CreditBalanceSummaryRetrieveParams.customer, Billing.CreditBalanceTransactionListParams.customer, Billing.CreditGrantCreateParams.customer, BillingPortal.SessionCreateParams.customer, CustomerSessionCreateParams.customer, InvoiceItemCreateParams.customer, PaymentMethodAttachParams.customer, and SubscriptionCreateParams.customer to be optional
  • Add support for stripe_balance on Charge.payment_method_details, ConfirmationToken.payment_method_preview, ConfirmationTokenCreateParams.testHelpers.payment_method_data, CustomerPaymentMethod, PaymentAttemptRecord.payment_method_details, PaymentIntent.payment_method_options, PaymentIntentConfirmParams.payment_method_data, PaymentIntentConfirmParams.payment_method_options, PaymentIntentCreateParams.payment_method_data, PaymentIntentCreateParams.payment_method_options, PaymentIntentUpdateParams.payment_method_data, PaymentIntentUpdateParams.payment_method_options, PaymentMethodCreateParams, PaymentMethod, PaymentRecord.payment_method_details, SetupAttempt.payment_method_details, SetupIntentConfirmParams.payment_method_data, SetupIntentCreateParams.payment_method_data, and SetupIntentUpdateParams.payment_method_data
  • Add support for update_line_items and update_shipping_details on Checkout.Session.permissions and Checkout.SessionCreateParams.permissions
  • Add support for provider on Checkout.Session.automatic_tax, Invoice.automatic_tax, Quote.automatic_tax, and QuotePreviewInvoice.automatic_tax
  • Change Checkout.Session.permissions.update to be optional
  • Add support for tax_calculation_reference on CreditNoteLineItem, CreditNotePreviewLines, InvoiceLineItem, LineItem, PaymentLinkLineItem, QuoteComputedUpfrontLineItems, QuoteLineItem, and SessionLineItem
  • Add support for payment_method_options on ConfirmationTokenCreateParams.testHelpers
  • Add support for installments on ConfirmationToken.payment_method_options.card
  • Remove support for value variable from enums Coupon.duration and CouponCreateParams.duration
  • Change CreditNote.refunds to be required
  • Add support for context on Event
  • Add support for related_customer_account on Identity.VerificationSessionCreateParams, Identity.VerificationSessionListParams, and Identity.VerificationSession
  • Change Invoice.amount_overpaid and QuotePreviewInvoice.amount_overpaid to be required
  • Remove support for amount_overpaid on InvoicePayment
  • Change type of InvoicePayment.is_default from boolean | null to boolean
  • Remove support for values out_of_band_payment and payment_record from enum InvoicePayment.payment.type
  • 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
  • Change OrderCreateParams.payment.settings.payment_method_options.wechat_pay.client and OrderUpdateParams.payment.settings.payment_method_options.wechat_pay.client 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, 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, and zip on PaymentAttemptRecord.payment_method_details and PaymentRecord.payment_method_details
  • Add support for billie on PaymentAttemptRecord.payment_method_details, PaymentIntent.payment_method_options, PaymentIntentConfirmParams.payment_method_options, PaymentIntentCreateParams.payment_method_options, PaymentIntentUpdateParams.payment_method_options, and PaymentRecord.payment_method_details
  • Change type of PaymentAttemptRecord.payment_method_details.custom and PaymentRecord.payment_method_details.custom from PaymentsPrimitivesPaymentRecordsResourcePaymentMethodCustomDetails | 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 from string to string | null
  • Change PaymentAttemptRecord.payment_method_details.custom and PaymentRecord.payment_method_details.custom to be optional
  • Change PaymentRecordReportPaymentParams.payment_reference to be optional
  • Change type of PaymentRecord.latest_payment_attempt_record from string to string | null
  • Add support for payout_method on PayoutCreateParams and Payout
  • Add support for confirmation_secret, parent, and total_taxes on QuotePreviewInvoice
  • Remove support for application_fee_amount, discount, paid_out_of_band, paid, payment_intent, quote, subscription_details, subscription_proration_date, tax, total_tax_amounts, and transfer_data on QuotePreviewInvoice
  • Add support for new values forwarding_api_retryable_upstream_error, setup_intent_mobile_wallet_unsupported, v2_account_disconnection_unsupported, and v2_account_missing_configuration on enum QuotePreviewInvoice.last_finalization_error.code
  • Add support for new values klarna, nz_bank_account, and stripe_balance on enum QuotePreviewInvoice.payment_settings.payment_method_types
  • Remove support for billing_thresholds on QuotePreviewSubscriptionSchedule.default_settings, QuotePreviewSubscriptionSchedule.phases[].items[], and QuotePreviewSubscriptionSchedule.phases[]
  • Remove support for coupon on QuotePreviewSubscriptionSchedule.phases[]
  • Add support for id and text on Terminal.Reader.action.collect_inputs.inputs[].selection.choices[], Terminal.Reader.action.collect_inputs.inputs[].selection, and Terminal.ReaderCollectInputsParams.inputs[].selection.choices[]
  • Remove support for value on Terminal.Reader.action.collect_inputs.inputs[].selection.choices[], Terminal.Reader.action.collect_inputs.inputs[].selection, and Terminal.ReaderCollectInputsParams.inputs[].selection.choices[]

jsteele-stripe and others added 9 commits February 7, 2025 15:05
* 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 <[email protected]>
…roperty (#2277)

swap Stripe.webhooks from a factory function to a static property
* Remove types that were marked as deprecated in Feb 2024

* remove the test for deprecated type
@stripe-openapi stripe-openapi bot requested a review from a team as a code owner March 28, 2025 22:46
@stripe-openapi stripe-openapi bot requested review from mbroshi-stripe and removed request for a team March 28, 2025 22:46
@stripe-openapi stripe-openapi bot enabled auto-merge March 28, 2025 22:46
auto-merge was automatically disabled April 1, 2025 22:21

Pull request was closed

@ramya-stripe ramya-stripe reopened this Apr 1, 2025
@ramya-stripe ramya-stripe merged commit 780de53 into beta Apr 1, 2025
17 checks passed
@ramya-stripe ramya-stripe deleted the latest-codegen-beta branch April 1, 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.

5 participants