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

Merged
merged 1 commit into from
Feb 16, 2023
Merged

API Updates #2643

merged 1 commit into from
Feb 16, 2023

Conversation

pakrym-stripe
Copy link
Contributor

@pakrym-stripe pakrym-stripe commented Feb 8, 2023

Codegen for openapi v226.
cc @stripe/api-libraries

Changelog

  • Add support for RefundPayment method on resource Terminal.Reader
  • Add support for CustomFields on CheckoutSessionCreateOptions, CheckoutSession, PaymentLinkCreateOptions, PaymentLinkUpdateOptions, and PaymentLink
  • Add support for InteracPresent on TestHelpersTerminalReaderPresentPaymentMethodOptions
  • Change type of TerminalReaderTypeOptions from literal('card_present') to enum('card_present'|'interac_present')
  • Add support for RefundPayment on TerminalReaderAction
  • Update ShippingAddress on SessionCustomTextOptions and PaymentLinkCustomTextOptions to use SessionCustomTextShippingAddressOptions and PaymentLinkCustomTextShippingAddressOptions instead of shared AddressOptions. This did not work before and did not align with the API definitions (extension of Modify SessionCustomTextOptions to align with checkout api #2644).

@pakrym-stripe pakrym-stripe self-assigned this Feb 8, 2023
@pakrym-stripe pakrym-stripe force-pushed the latest-codegen-master branch 2 times, most recently from 3c8397e to bcdce8a Compare February 8, 2023 23:35
@anniel-stripe anniel-stripe force-pushed the latest-codegen-master branch 3 times, most recently from 91cf839 to 851262b Compare February 16, 2023 21:42
@pakrym-stripe
Copy link
Contributor Author

LGTM!

@anniel-stripe anniel-stripe merged commit c23dadd into master Feb 16, 2023
@anniel-stripe anniel-stripe deleted the latest-codegen-master branch February 16, 2023 22:39
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