Skip to content

Commit

Permalink
Update OpenAPI specification
Browse files Browse the repository at this point in the history
  • Loading branch information
stripe-openapi[bot] committed Aug 25, 2023
1 parent 50fbcf4 commit 8881c73
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 21 deletions.
4 changes: 2 additions & 2 deletions openapi/spec3.beta.sdk.json
Original file line number Diff line number Diff line change
Expand Up @@ -5967,7 +5967,7 @@
"$ref": "#/components/schemas/deleted_customer"
}
],
"description": "The ID of the customer for this Session.\nFor Checkout Sessions in `payment` or `subscription` mode, Checkout\nwill create a new customer object based on information provided\nduring the payment flow unless an existing customer was provided when\nthe Session was created.",
"description": "The ID of the customer for this Session.\nFor Checkout Sessions in `subscription` mode or Checkout Sessions with `customer_creation` set as `always` in `payment` mode, Checkout\nwill create a new customer object based on information provided\nduring the payment flow unless an existing customer was provided when\nthe Session was created.",
"nullable": true,
"x-expansionResources": {
"oneOf": [
Expand Down Expand Up @@ -72430,7 +72430,7 @@
"type": "object"
},
"customer": {
"description": "ID of an existing Customer, if one exists. In `payment` mode, the customer’s most recent card\npayment method will be used to prefill the email, name, card details, and billing address\non 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)\nwill 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.\n\nIf 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.\nIf the Customer does not have a valid `email`, Checkout will set the email entered during the session on the Customer.\n\nIf blank for Checkout Sessions in `payment` or `subscription` mode, Checkout will create a new Customer object based on information provided during the payment flow.\n\nYou can set [`payment_intent_data.setup_future_usage`](https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-payment_intent_data-setup_future_usage) to have Checkout automatically attach the payment method to the Customer you pass in for future reuse.",
"description": "ID of an existing Customer, if one exists. In `payment` mode, the customer’s most recent card\npayment method will be used to prefill the email, name, card details, and billing address\non 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)\nwill 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.\n\nIf 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.\nIf the Customer does not have a valid `email`, Checkout will set the email entered during the session on the Customer.\n\nIf blank for Checkout Sessions in `subscription` mode or with `customer_creation` set as `always` in `payment` mode, Checkout will create a new Customer object based on information provided during the payment flow.\n\nYou can set [`payment_intent_data.setup_future_usage`](https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-payment_intent_data-setup_future_usage) to have Checkout automatically attach the payment method to the Customer you pass in for future reuse.",
"maxLength": 5000,
"type": "string"
},
Expand Down
11 changes: 6 additions & 5 deletions openapi/spec3.beta.sdk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5659,7 +5659,8 @@ components:
description: >-
The ID of the customer for this Session.

For Checkout Sessions in `payment` or `subscription` mode, Checkout
For Checkout Sessions in `subscription` mode or Checkout Sessions
with `customer_creation` set as `always` in `payment` mode, Checkout

will create a new customer object based on information provided

Expand Down Expand Up @@ -65805,10 +65806,10 @@ paths:
set the email entered during the session on the Customer.


If blank for Checkout Sessions in `payment` or
`subscription` mode, Checkout will create a new Customer
object based on information provided during the payment
flow.
If blank for Checkout Sessions in `subscription` mode or
with `customer_creation` set as `always` in `payment` mode,
Checkout will create a new Customer object based on
information provided during the payment flow.


You can set
Expand Down
4 changes: 2 additions & 2 deletions openapi/spec3.json
Original file line number Diff line number Diff line change
Expand Up @@ -4145,7 +4145,7 @@
"$ref": "#/components/schemas/deleted_customer"
}
],
"description": "The ID of the customer for this Session.\nFor Checkout Sessions in `payment` or `subscription` mode, Checkout\nwill create a new customer object based on information provided\nduring the payment flow unless an existing customer was provided when\nthe Session was created.",
"description": "The ID of the customer for this Session.\nFor Checkout Sessions in `subscription` mode or Checkout Sessions with `customer_creation` set as `always` in `payment` mode, Checkout\nwill create a new customer object based on information provided\nduring the payment flow unless an existing customer was provided when\nthe Session was created.",
"nullable": true,
"x-expansionResources": {
"oneOf": [
Expand Down Expand Up @@ -55784,7 +55784,7 @@
"type": "object"
},
"customer": {
"description": "ID of an existing Customer, if one exists. In `payment` mode, the customer’s most recent card\npayment method will be used to prefill the email, name, card details, and billing address\non 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)\nwill 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.\n\nIf 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.\nIf the Customer does not have a valid `email`, Checkout will set the email entered during the session on the Customer.\n\nIf blank for Checkout Sessions in `payment` or `subscription` mode, Checkout will create a new Customer object based on information provided during the payment flow.\n\nYou can set [`payment_intent_data.setup_future_usage`](https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-payment_intent_data-setup_future_usage) to have Checkout automatically attach the payment method to the Customer you pass in for future reuse.",
"description": "ID of an existing Customer, if one exists. In `payment` mode, the customer’s most recent card\npayment method will be used to prefill the email, name, card details, and billing address\non 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)\nwill 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.\n\nIf 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.\nIf the Customer does not have a valid `email`, Checkout will set the email entered during the session on the Customer.\n\nIf blank for Checkout Sessions in `subscription` mode or with `customer_creation` set as `always` in `payment` mode, Checkout will create a new Customer object based on information provided during the payment flow.\n\nYou can set [`payment_intent_data.setup_future_usage`](https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-payment_intent_data-setup_future_usage) to have Checkout automatically attach the payment method to the Customer you pass in for future reuse.",
"maxLength": 5000,
"type": "string"
},
Expand Down
4 changes: 2 additions & 2 deletions openapi/spec3.sdk.json
Original file line number Diff line number Diff line change
Expand Up @@ -5068,7 +5068,7 @@
"$ref": "#/components/schemas/deleted_customer"
}
],
"description": "The ID of the customer for this Session.\nFor Checkout Sessions in `payment` or `subscription` mode, Checkout\nwill create a new customer object based on information provided\nduring the payment flow unless an existing customer was provided when\nthe Session was created.",
"description": "The ID of the customer for this Session.\nFor Checkout Sessions in `subscription` mode or Checkout Sessions with `customer_creation` set as `always` in `payment` mode, Checkout\nwill create a new customer object based on information provided\nduring the payment flow unless an existing customer was provided when\nthe Session was created.",
"nullable": true,
"x-expansionResources": {
"oneOf": [
Expand Down Expand Up @@ -62171,7 +62171,7 @@
"type": "object"
},
"customer": {
"description": "ID of an existing Customer, if one exists. In `payment` mode, the customer’s most recent card\npayment method will be used to prefill the email, name, card details, and billing address\non 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)\nwill 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.\n\nIf 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.\nIf the Customer does not have a valid `email`, Checkout will set the email entered during the session on the Customer.\n\nIf blank for Checkout Sessions in `payment` or `subscription` mode, Checkout will create a new Customer object based on information provided during the payment flow.\n\nYou can set [`payment_intent_data.setup_future_usage`](https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-payment_intent_data-setup_future_usage) to have Checkout automatically attach the payment method to the Customer you pass in for future reuse.",
"description": "ID of an existing Customer, if one exists. In `payment` mode, the customer’s most recent card\npayment method will be used to prefill the email, name, card details, and billing address\non 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)\nwill 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.\n\nIf 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.\nIf the Customer does not have a valid `email`, Checkout will set the email entered during the session on the Customer.\n\nIf blank for Checkout Sessions in `subscription` mode or with `customer_creation` set as `always` in `payment` mode, Checkout will create a new Customer object based on information provided during the payment flow.\n\nYou can set [`payment_intent_data.setup_future_usage`](https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-payment_intent_data-setup_future_usage) to have Checkout automatically attach the payment method to the Customer you pass in for future reuse.",
"maxLength": 5000,
"type": "string"
},
Expand Down
11 changes: 6 additions & 5 deletions openapi/spec3.sdk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4798,7 +4798,8 @@ components:
description: >-
The ID of the customer for this Session.

For Checkout Sessions in `payment` or `subscription` mode, Checkout
For Checkout Sessions in `subscription` mode or Checkout Sessions
with `customer_creation` set as `always` in `payment` mode, Checkout

will create a new customer object based on information provided

Expand Down Expand Up @@ -56845,10 +56846,10 @@ paths:
set the email entered during the session on the Customer.


If blank for Checkout Sessions in `payment` or
`subscription` mode, Checkout will create a new Customer
object based on information provided during the payment
flow.
If blank for Checkout Sessions in `subscription` mode or
with `customer_creation` set as `always` in `payment` mode,
Checkout will create a new Customer object based on
information provided during the payment flow.


You can set
Expand Down
11 changes: 6 additions & 5 deletions openapi/spec3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4028,7 +4028,8 @@ components:
description: >-
The ID of the customer for this Session.

For Checkout Sessions in `payment` or `subscription` mode, Checkout
For Checkout Sessions in `subscription` mode or Checkout Sessions
with `customer_creation` set as `always` in `payment` mode, Checkout

will create a new customer object based on information provided

Expand Down Expand Up @@ -50082,10 +50083,10 @@ paths:
set the email entered during the session on the Customer.


If blank for Checkout Sessions in `payment` or
`subscription` mode, Checkout will create a new Customer
object based on information provided during the payment
flow.
If blank for Checkout Sessions in `subscription` mode or
with `customer_creation` set as `always` in `payment` mode,
Checkout will create a new Customer object based on
information provided during the payment flow.


You can set
Expand Down

0 comments on commit 8881c73

Please sign in to comment.