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 #1473

Merged
merged 1 commit into from
Jun 9, 2022
Merged

API Updates #1473

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 AccountSettingsParams and AccountSettings
  • Add support for RenderingOptions on CustomerInvoiceSettingsParams
  • Add support for EUBankTransfer on CustomerCreateFundingInstructionsBankTransferParams, InvoicePaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferParams, InvoicePaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransfer, OrderPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferParams, OrderPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransfer, PaymentIntentConfirmPaymentMethodOptionsCustomerBalanceBankTransferParams, PaymentIntentPaymentMethodOptionsCustomerBalanceBankTransferParams, PaymentIntentPaymentMethodOptionsCustomerBalanceBankTransfer, SubscriptionPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferParams, and SubscriptionPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransfer
  • Change type of CustomerCreateFundingInstructionsBankTransferRequestedAddressTypesParams from literal('zengin') to enum('iban'|'sort_code'|'spei'|'zengin')
  • Change type of CustomerCreateFundingInstructionsBankTransferTypeParams, OrderPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferTypeParams, OrderPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferType, PaymentIntentConfirmPaymentMethodOptionsCustomerBalanceBankTransferTypeParams, PaymentIntentNextActionDisplayBankTransferInstructionsType, PaymentIntentPaymentMethodOptionsCustomerBalanceBankTransferTypeParams, and PaymentIntentPaymentMethodOptionsCustomerBalanceBankTransferType from literal('jp_bank_transfer') to enum('eu_bank_transfer'|'gb_bank_transfer'|'jp_bank_transfer'|'mx_bank_transfer')
  • Add support for Iban, SortCode, and Spei on FundingInstructionsBankTransferFinancialAddresses and PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddresses
  • Add support for new values bacs, fps, and spei on enums FundingInstructionsBankTransferFinancialAddressesSupportedNetworks and PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressesSupportedNetworks
  • Add support for new values sort_code and spei on enums FundingInstructionsBankTransferFinancialAddressesType and PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressesType
  • Change type of OrderPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferRequestedAddressTypesParams, OrderPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferRequestedAddressTypes, PaymentIntentConfirmPaymentMethodOptionsCustomerBalanceBankTransferRequestedAddressTypesParams, PaymentIntentPaymentMethodOptionsCustomerBalanceBankTransferRequestedAddressTypesParams, and PaymentIntentPaymentMethodOptionsCustomerBalanceBankTransferRequestedAddressTypes from literal('zengin') to enum
  • Add support for CustomUnitAmount on PriceParams 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, just one thing to check.

PTAL @pakrym-stripe

invoice.go Outdated Show resolved Hide resolved
@pakrym-stripe pakrym-stripe force-pushed the latest-codegen-master branch from 80ebcd1 to ffc9de1 Compare June 9, 2022 19:42
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 ccc062f 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