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 Nov 7, 2023
1 parent 0f2079b commit 13508c6
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 18 deletions.
4 changes: 2 additions & 2 deletions openapi/spec3.beta.sdk.json
Original file line number Diff line number Diff line change
Expand Up @@ -81808,7 +81808,7 @@
"type": "object"
},
"currency": {
"description": "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).",
"description": "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). Required in `setup` mode when `payment_method_types` is not set.",
"type": "string"
},
"custom_fields": {
Expand Down Expand Up @@ -83339,7 +83339,7 @@
"type": "object"
},
"payment_method_types": {
"description": "A list of the types of payment methods (e.g., `card`) this Checkout Session can accept.\n\nIn `payment` and `subscription` mode, you can omit this attribute to manage your payment methods from the [Stripe Dashboard](https://dashboard.stripe.com/settings/payment_methods).\nIt is required in `setup` mode.\n\nRead more about the supported payment methods and their requirements in our [payment\nmethod details guide](/docs/payments/checkout/payment-methods).\n\nIf multiple payment methods are passed, Checkout will dynamically reorder them to\nprioritize the most relevant payment methods based on the customer's location and\nother characteristics.",
"description": "A list of the types of payment methods (e.g., `card`) this Checkout Session can accept.\n\nYou can omit this attribute to manage your payment methods from the [Stripe Dashboard](https://dashboard.stripe.com/settings/payment_methods).\nSee [Dynamic Payment Methods](https://stripe.com/docs/payments/payment-methods/integration-options#using-dynamic-payment-methods) for more details.\n\nRead more about the supported payment methods and their requirements in our [payment\nmethod details guide](/docs/payments/checkout/payment-methods).\n\nIf multiple payment methods are passed, Checkout will dynamically reorder them to\nprioritize the most relevant payment methods based on the customer's location and\nother characteristics.",
"items": {
"enum": [
"acss_debit",
Expand Down
11 changes: 7 additions & 4 deletions openapi/spec3.beta.sdk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73449,7 +73449,8 @@ paths:
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](https://stripe.com/docs/currencies). Required in
`setup` mode when `payment_method_types` is not set.
type: string
custom_fields:
description: >-
Expand Down Expand Up @@ -75693,11 +75694,13 @@ paths:
Checkout Session can accept.


In `payment` and `subscription` mode, you can omit this
attribute to manage your payment methods from the [Stripe
You can omit this attribute to manage your payment methods
from the [Stripe
Dashboard](https://dashboard.stripe.com/settings/payment_methods).

It is required in `setup` mode.
See [Dynamic Payment
Methods](https://stripe.com/docs/payments/payment-methods/integration-options#using-dynamic-payment-methods)
for more details.


Read more about the supported payment methods and their
Expand Down
4 changes: 2 additions & 2 deletions openapi/spec3.json
Original file line number Diff line number Diff line change
Expand Up @@ -57992,7 +57992,7 @@
"type": "object"
},
"currency": {
"description": "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).",
"description": "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). Required in `setup` mode when `payment_method_types` is not set.",
"type": "string"
},
"custom_fields": {
Expand Down Expand Up @@ -59310,7 +59310,7 @@
"type": "object"
},
"payment_method_types": {
"description": "A list of the types of payment methods (e.g., `card`) this Checkout Session can accept.\n\nIn `payment` and `subscription` mode, you can omit this attribute to manage your payment methods from the [Stripe Dashboard](https://dashboard.stripe.com/settings/payment_methods).\nIt is required in `setup` mode.\n\nRead more about the supported payment methods and their requirements in our [payment\nmethod details guide](/docs/payments/checkout/payment-methods).\n\nIf multiple payment methods are passed, Checkout will dynamically reorder them to\nprioritize the most relevant payment methods based on the customer's location and\nother characteristics.",
"description": "A list of the types of payment methods (e.g., `card`) this Checkout Session can accept.\n\nYou can omit this attribute to manage your payment methods from the [Stripe Dashboard](https://dashboard.stripe.com/settings/payment_methods).\nSee [Dynamic Payment Methods](https://stripe.com/docs/payments/payment-methods/integration-options#using-dynamic-payment-methods) for more details.\n\nRead more about the supported payment methods and their requirements in our [payment\nmethod details guide](/docs/payments/checkout/payment-methods).\n\nIf multiple payment methods are passed, Checkout will dynamically reorder them to\nprioritize the most relevant payment methods based on the customer's location and\nother characteristics.",
"items": {
"enum": [
"acss_debit",
Expand Down
4 changes: 2 additions & 2 deletions openapi/spec3.sdk.json
Original file line number Diff line number Diff line change
Expand Up @@ -68474,7 +68474,7 @@
"type": "object"
},
"currency": {
"description": "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).",
"description": "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). Required in `setup` mode when `payment_method_types` is not set.",
"type": "string"
},
"custom_fields": {
Expand Down Expand Up @@ -69968,7 +69968,7 @@
"type": "object"
},
"payment_method_types": {
"description": "A list of the types of payment methods (e.g., `card`) this Checkout Session can accept.\n\nIn `payment` and `subscription` mode, you can omit this attribute to manage your payment methods from the [Stripe Dashboard](https://dashboard.stripe.com/settings/payment_methods).\nIt is required in `setup` mode.\n\nRead more about the supported payment methods and their requirements in our [payment\nmethod details guide](/docs/payments/checkout/payment-methods).\n\nIf multiple payment methods are passed, Checkout will dynamically reorder them to\nprioritize the most relevant payment methods based on the customer's location and\nother characteristics.",
"description": "A list of the types of payment methods (e.g., `card`) this Checkout Session can accept.\n\nYou can omit this attribute to manage your payment methods from the [Stripe Dashboard](https://dashboard.stripe.com/settings/payment_methods).\nSee [Dynamic Payment Methods](https://stripe.com/docs/payments/payment-methods/integration-options#using-dynamic-payment-methods) for more details.\n\nRead more about the supported payment methods and their requirements in our [payment\nmethod details guide](/docs/payments/checkout/payment-methods).\n\nIf multiple payment methods are passed, Checkout will dynamically reorder them to\nprioritize the most relevant payment methods based on the customer's location and\nother characteristics.",
"items": {
"enum": [
"acss_debit",
Expand Down
11 changes: 7 additions & 4 deletions openapi/spec3.sdk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61964,7 +61964,8 @@ paths:
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](https://stripe.com/docs/currencies). Required in
`setup` mode when `payment_method_types` is not set.
type: string
custom_fields:
description: >-
Expand Down Expand Up @@ -64165,11 +64166,13 @@ paths:
Checkout Session can accept.


In `payment` and `subscription` mode, you can omit this
attribute to manage your payment methods from the [Stripe
You can omit this attribute to manage your payment methods
from the [Stripe
Dashboard](https://dashboard.stripe.com/settings/payment_methods).

It is required in `setup` mode.
See [Dynamic Payment
Methods](https://stripe.com/docs/payments/payment-methods/integration-options#using-dynamic-payment-methods)
for more details.


Read more about the supported payment methods and their
Expand Down
11 changes: 7 additions & 4 deletions openapi/spec3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52263,7 +52263,8 @@ paths:
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](https://stripe.com/docs/currencies). Required in
`setup` mode when `payment_method_types` is not set.
type: string
custom_fields:
description: >-
Expand Down Expand Up @@ -53322,11 +53323,13 @@ paths:
Checkout Session can accept.


In `payment` and `subscription` mode, you can omit this
attribute to manage your payment methods from the [Stripe
You can omit this attribute to manage your payment methods
from the [Stripe
Dashboard](https://dashboard.stripe.com/settings/payment_methods).

It is required in `setup` mode.
See [Dynamic Payment
Methods](https://stripe.com/docs/payments/payment-methods/integration-options#using-dynamic-payment-methods)
for more details.


Read more about the supported payment methods and their
Expand Down

0 comments on commit 13508c6

Please sign in to comment.