|
6688 | 6688 | "$ref": "#/components/schemas/payment_pages_checkout_session_automatic_tax" |
6689 | 6689 | }, |
6690 | 6690 | "billing_address_collection": { |
6691 | | - "description": "Describes whether Checkout should collect the customer's billing address.", |
| 6691 | + "description": "Describes whether Checkout should collect the customer's billing address. Defaults to `auto`.", |
6692 | 6692 | "enum": [ |
6693 | 6693 | "auto", |
6694 | 6694 | "required" |
|
7008 | 7008 | } |
7009 | 7009 | }, |
7010 | 7010 | "payment_method_collection": { |
7011 | | - "description": "Configure whether a Checkout Session should collect a payment method.", |
| 7011 | + "description": "Configure whether a Checkout Session should collect a payment method. Defaults to `always`.", |
7012 | 7012 | "enum": [ |
7013 | 7013 | "always", |
7014 | 7014 | "if_required" |
|
7061 | 7061 | "type": "string" |
7062 | 7062 | }, |
7063 | 7063 | "redirect_on_completion": { |
7064 | | - "description": "Applies to Checkout Sessions with `ui_mode: embedded`. By default, Stripe will always redirect to your return_url after a successful confirmation. If you set `redirect_on_completion: 'if_required'`, then we will only redirect if your user chooses a redirect-based payment method.", |
| 7064 | + "description": "This parameter applies to `ui_mode: embedded`. Learn more about the [redirect behavior](https://stripe.com/docs/payments/checkout/custom-redirect-behavior) of embedded sessions. Defaults to `always`.", |
7065 | 7065 | "enum": [ |
7066 | 7066 | "always", |
7067 | 7067 | "if_required", |
|
7188 | 7188 | "nullable": true |
7189 | 7189 | }, |
7190 | 7190 | "ui_mode": { |
7191 | | - "description": "The UI mode of the Session. Can be `hosted` (default) or `embedded`.", |
| 7191 | + "description": "The UI mode of the Session. Defaults to `hosted`.", |
7192 | 7192 | "enum": [ |
7193 | 7193 | "embedded", |
7194 | 7194 | "hosted" |
|
35464 | 35464 | "$ref": "#/components/schemas/payment_links_resource_automatic_tax" |
35465 | 35465 | }, |
35466 | 35466 | "billing_address_collection": { |
35467 | | - "description": "Configuration for collecting the customer's billing address.", |
| 35467 | + "description": "Configuration for collecting the customer's billing address. Defaults to `auto`.", |
35468 | 35468 | "enum": [ |
35469 | 35469 | "auto", |
35470 | 35470 | "required" |
|
35610 | 35610 | "nullable": true |
35611 | 35611 | }, |
35612 | 35612 | "payment_method_collection": { |
35613 | | - "description": "Configuration for collecting a payment method during checkout.", |
| 35613 | + "description": "Configuration for collecting a payment method during checkout. Defaults to `always`.", |
35614 | 35614 | "enum": [ |
35615 | 35615 | "always", |
35616 | 35616 | "if_required" |
|
83512 | 83512 | "type": "object" |
83513 | 83513 | }, |
83514 | 83514 | "billing_address_collection": { |
83515 | | - "description": "Specify whether Checkout should collect the customer's billing address.", |
| 83515 | + "description": "Specify whether Checkout should collect the customer's billing address. Defaults to `auto`.", |
83516 | 83516 | "enum": [ |
83517 | 83517 | "auto", |
83518 | 83518 | "required" |
|
84396 | 84396 | "type": "object" |
84397 | 84397 | }, |
84398 | 84398 | "payment_method_collection": { |
84399 | | - "description": "Specify whether Checkout should collect a payment method. When set to `if_required`, Checkout will not collect a payment method when the total due for the session is 0.\nThis may occur if the Checkout Session includes a free trial or a discount.\n\nCan only be set in `subscription` mode.\n\nIf you'd like information on how to collect a payment method outside of Checkout, read the guide on configuring [subscriptions with a free trial](https://stripe.com/docs/payments/checkout/free-trials).", |
| 84399 | + "description": "Specify whether Checkout should collect a payment method. When set to `if_required`, Checkout will not collect a payment method when the total due for the session is 0.\nThis may occur if the Checkout Session includes a free trial or a discount.\n\nCan only be set in `subscription` mode. Defaults to `always`.\n\nIf you'd like information on how to collect a payment method outside of Checkout, read the guide on configuring [subscriptions with a free trial](https://stripe.com/docs/payments/checkout/free-trials).", |
84400 | 84400 | "enum": [ |
84401 | 84401 | "always", |
84402 | 84402 | "if_required" |
|
85207 | 85207 | "type": "object" |
85208 | 85208 | }, |
85209 | 85209 | "redirect_on_completion": { |
85210 | | - "description": "This parameter applies to `ui_mode: embedded`. By default, Stripe will always redirect to your return_url after a successful confirmation. If you set `redirect_on_completion: 'if_required'`, then we will only redirect if your user chooses a redirect-based payment method.", |
| 85210 | + "description": "This parameter applies to `ui_mode: embedded`. Learn more about the [redirect behavior](https://stripe.com/docs/payments/checkout/custom-redirect-behavior) of embedded sessions. Defaults to `always`.", |
85211 | 85211 | "enum": [ |
85212 | 85212 | "always", |
85213 | 85213 | "if_required", |
|
85823 | 85823 | "type": "object" |
85824 | 85824 | }, |
85825 | 85825 | "ui_mode": { |
85826 | | - "description": "`ui_mode` can be `hosted` or `embedded`. The default is `hosted`.", |
| 85826 | + "description": "The UI mode of the Session. Defaults to `hosted`.", |
85827 | 85827 | "enum": [ |
85828 | 85828 | "embedded", |
85829 | 85829 | "hosted" |
@@ -142468,7 +142468,7 @@ |
142468 | 142468 | "type": "object" |
142469 | 142469 | }, |
142470 | 142470 | "billing_address_collection": { |
142471 | | - "description": "Configuration for collecting the customer's billing address.", |
| 142471 | + "description": "Configuration for collecting the customer's billing address. Defaults to `auto`.", |
142472 | 142472 | "enum": [ |
142473 | 142473 | "auto", |
142474 | 142474 | "required" |
@@ -143024,7 +143024,7 @@ |
143024 | 143024 | "type": "object" |
143025 | 143025 | }, |
143026 | 143026 | "payment_method_collection": { |
143027 | | - "description": "Specify whether Checkout should collect a payment method. When set to `if_required`, Checkout will not collect a payment method when the total due for the session is 0.This may occur if the Checkout Session includes a free trial or a discount.\n\nCan only be set in `subscription` mode.\n\nIf you'd like information on how to collect a payment method outside of Checkout, read the guide on [configuring subscriptions with a free trial](https://stripe.com/docs/payments/checkout/free-trials).", |
| 143027 | + "description": "Specify whether Checkout should collect a payment method. When set to `if_required`, Checkout will not collect a payment method when the total due for the session is 0.This may occur if the Checkout Session includes a free trial or a discount.\n\nCan only be set in `subscription` mode. Defaults to `always`.\n\nIf you'd like information on how to collect a payment method outside of Checkout, read the guide on [configuring subscriptions with a free trial](https://stripe.com/docs/payments/checkout/free-trials).", |
143028 | 143028 | "enum": [ |
143029 | 143029 | "always", |
143030 | 143030 | "if_required" |
@@ -143772,7 +143772,7 @@ |
143772 | 143772 | "type": "object" |
143773 | 143773 | }, |
143774 | 143774 | "billing_address_collection": { |
143775 | | - "description": "Configuration for collecting the customer's billing address.", |
| 143775 | + "description": "Configuration for collecting the customer's billing address. Defaults to `auto`.", |
143776 | 143776 | "enum": [ |
143777 | 143777 | "auto", |
143778 | 143778 | "required" |
@@ -144331,7 +144331,7 @@ |
144331 | 144331 | "type": "object" |
144332 | 144332 | }, |
144333 | 144333 | "payment_method_collection": { |
144334 | | - "description": "Specify whether Checkout should collect a payment method. When set to `if_required`, Checkout will not collect a payment method when the total due for the session is 0.This may occur if the Checkout Session includes a free trial or a discount.\n\nCan only be set in `subscription` mode.\n\nIf you'd like information on how to collect a payment method outside of Checkout, read the guide on [configuring subscriptions with a free trial](https://stripe.com/docs/payments/checkout/free-trials).", |
| 144334 | + "description": "Specify whether Checkout should collect a payment method. When set to `if_required`, Checkout will not collect a payment method when the total due for the session is 0.This may occur if the Checkout Session includes a free trial or a discount.\n\nCan only be set in `subscription` mode. Defaults to `always`.\n\nIf you'd like information on how to collect a payment method outside of Checkout, read the guide on [configuring subscriptions with a free trial](https://stripe.com/docs/payments/checkout/free-trials).", |
144335 | 144335 | "enum": [ |
144336 | 144336 | "always", |
144337 | 144337 | "if_required" |
|
0 commit comments