Skip to content

Commit

Permalink
Update generated code for v642
Browse files Browse the repository at this point in the history
  • Loading branch information
stripe-openapi[bot] committed Nov 2, 2023
1 parent d73c193 commit 62e2839
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v641
v642
4 changes: 2 additions & 2 deletions checkout_session.go
Original file line number Diff line number Diff line change
Expand Up @@ -1783,10 +1783,10 @@ type CheckoutSessionParams struct {
ConsentCollection *CheckoutSessionConsentCollectionParams `form:"consent_collection"`
// Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
Currency *string `form:"currency"`
// ID of an existing Customer, if one exists. In `payment` mode, the customer's most recent card
// ID of an existing Customer, if one exists. In `payment` mode, the customer's most recently saved card
// payment method will be used to prefill the email, name, card details, and billing address
// on the Checkout page. In `subscription` mode, the customer's [default payment method](https://stripe.com/docs/api/customers/update#update_customer-invoice_settings-default_payment_method)
// will be used if it's a card, and otherwise the most recent card will be used. A valid billing address, billing name and billing email are required on the payment method for Checkout to prefill the customer's card details.
// will be used if it's a card, otherwise the most recently saved card will be used. A valid billing address, billing name and billing email are required on the payment method for Checkout to prefill the customer's card details.
//
// If the Customer already has a valid [email](https://stripe.com/docs/api/customers/object#customer_object-email) set, the email will be prefilled and not editable in Checkout.
// If the Customer does not have a valid `email`, Checkout will set the email entered during the session on the Customer.
Expand Down

0 comments on commit 62e2839

Please sign in to comment.