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

API Updates #1446

Merged
merged 1 commit into from
Jun 9, 2022
Merged

API Updates #1446

merged 1 commit into from
Jun 9, 2022

Conversation

pakrym-stripe
Copy link
Contributor

@pakrym-stripe pakrym-stripe commented Jun 8, 2022

Codegen for openapi v154.
r? @richardm-stripe
cc @stripe/api-libraries

Changelog

  • Add support for treasury on Account.settings, AccountCreateParams.settings, and AccountUpdateParams.settings
  • Add support for rendering_options on CustomerCreateParams.invoice_settings and CustomerUpdateParams.invoice_settings
  • Add support for eu_bank_transfer on CustomerCreateFundingInstructionsParams.bank_transfer, Invoice.payment_settings.payment_method_options.customer_balance.bank_transfer, InvoiceCreateParams.payment_settings.payment_method_options.customer_balance.bank_transfer, InvoiceUpdateParams.payment_settings.payment_method_options.customer_balance.bank_transfer, Order.payment.settings.payment_method_options.customer_balance.bank_transfer, OrderCreateParams.payment.settings.payment_method_options.customer_balance.bank_transfer, OrderUpdateParams.payment.settings.payment_method_options.customer_balance.bank_transfer, PaymentIntent.payment_method_options.customer_balance.bank_transfer, PaymentIntentConfirmParams.payment_method_options.customer_balance.bank_transfer, PaymentIntentCreateParams.payment_method_options.customer_balance.bank_transfer, PaymentIntentUpdateParams.payment_method_options.customer_balance.bank_transfer, Subscription.payment_settings.payment_method_options.customer_balance.bank_transfer, SubscriptionCreateParams.payment_settings.payment_method_options.customer_balance.bank_transfer, and SubscriptionUpdateParams.payment_settings.payment_method_options.customer_balance.bank_transfer
  • Change type of CustomerCreateFundingInstructionsParams.bank_transfer.requested_address_types[] from literal('zengin') to enum('iban'|'sort_code'|'spei'|'zengin')
  • Change type of CustomerCreateFundingInstructionsParams.bank_transfer.type, Order.payment.settings.payment_method_options.customer_balance.bank_transfer.type, OrderCreateParams.payment.settings.payment_method_options.customer_balance.bank_transfer.type, OrderUpdateParams.payment.settings.payment_method_options.customer_balance.bank_transfer.type, PaymentIntent.next_action.display_bank_transfer_instructions.type, PaymentIntent.payment_method_options.customer_balance.bank_transfer.type, PaymentIntentConfirmParams.payment_method_options.customer_balance.bank_transfer.type, PaymentIntentCreateParams.payment_method_options.customer_balance.bank_transfer.type, and PaymentIntentUpdateParams.payment_method_options.customer_balance.bank_transfer.type from literal('jp_bank_transfer') to enum('eu_bank_transfer'|'gb_bank_transfer'|'jp_bank_transfer'|'mx_bank_transfer')
  • Add support for iban, sort_code, and spei on FundingInstructions.bank_transfer.financial_addresses[] and PaymentIntent.next_action.display_bank_transfer_instructions.financial_addresses[]
  • Add support for new values bacs, fps, and spei on enums FundingInstructions.bank_transfer.financial_addresses[].supported_networks[] and PaymentIntent.next_action.display_bank_transfer_instructions.financial_addresses[].supported_networks[]
  • Add support for new values sort_code and spei on enums FundingInstructions.bank_transfer.financial_addresses[].type and PaymentIntent.next_action.display_bank_transfer_instructions.financial_addresses[].type
  • Change type of Order.payment.settings.payment_method_options.customer_balance.bank_transfer.requested_address_types[], OrderCreateParams.payment.settings.payment_method_options.customer_balance.bank_transfer.requested_address_types[], OrderUpdateParams.payment.settings.payment_method_options.customer_balance.bank_transfer.requested_address_types[], PaymentIntent.payment_method_options.customer_balance.bank_transfer.requested_address_types[], PaymentIntentConfirmParams.payment_method_options.customer_balance.bank_transfer.requested_address_types[], PaymentIntentCreateParams.payment_method_options.customer_balance.bank_transfer.requested_address_types[], and PaymentIntentUpdateParams.payment_method_options.customer_balance.bank_transfer.requested_address_types[] from literal('zengin') to enum
  • Add support for custom_unit_amount on PriceCreateParams and Price

Copy link
Contributor

@dcr-stripe dcr-stripe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@pakrym-stripe pakrym-stripe merged commit 5416318 into master Jun 9, 2022
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