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

Merged
merged 2 commits into from
Oct 13, 2022
Merged

API Updates #1582

merged 2 commits into from
Oct 13, 2022

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!

types/2022-08-01/index.d.ts Outdated Show resolved Hide resolved
@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
3 participants