Skip to content

Conversation

@richardm-stripe
Copy link
Contributor

@richardm-stripe richardm-stripe commented Oct 13, 2022

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

Changelog

  • Add support for new values invalid_representative_country and verification_failed_residential_address on enums Account.future_requirements.errors[].code, Account.requirements.errors[].code, Capability.future_requirements.errors[].code, Capability.requirements.errors[].code, Person.future_requirements.errors[].code, and Person.requirements.errors[].code
  • Add support for request_log_url on Invoice.last_finalization_error, PaymentIntent.last_payment_error, SetupAttempt.setup_error, SetupIntent.last_setup_error, StripeErrorResponse.error, and StripeError
  • Add support for network_data on Issuing.Authorization
  • Remove currency, description, images, and name from Checkout.SessionCreateParams (fixes API version 2022-08-01 removed Checkout Session Create's line_items[amount] but still available in Typescript API? #1575)

Copy link
Contributor

@yejia-stripe yejia-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!

@richardm-stripe richardm-stripe merged commit 5c12068 into master Oct 13, 2022
@richardm-stripe richardm-stripe deleted the latest-codegen-master branch October 13, 2022 23:05
@ahoisl
Copy link

ahoisl commented Oct 18, 2022

The commit message and consequently the release notes are a bit misleading with regards to the removed members. These members are not removed from Checkout.SessionCreateParams, but from Checkout.SessionCreateParams.Discount.

Almost had a heart attack when reading the release notes 😉

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.

API version 2022-08-01 removed Checkout Session Create's line_items[amount] but still available in Typescript API?

4 participants