Skip to content

Commit 826b936

Browse files
OpenAPI Update (#692)
Update OpenAPI for fcdbb2b13713427610c13addaaf3b6b75fdcf799 Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
1 parent 74054ee commit 826b936

File tree

2 files changed

+28
-28
lines changed

2 files changed

+28
-28
lines changed

embedded/openapi/spec3.beta.sdk.json

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6688,7 +6688,7 @@
66886688
"$ref": "#/components/schemas/payment_pages_checkout_session_automatic_tax"
66896689
},
66906690
"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`.",
66926692
"enum": [
66936693
"auto",
66946694
"required"
@@ -7008,7 +7008,7 @@
70087008
}
70097009
},
70107010
"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`.",
70127012
"enum": [
70137013
"always",
70147014
"if_required"
@@ -7061,7 +7061,7 @@
70617061
"type": "string"
70627062
},
70637063
"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`.",
70657065
"enum": [
70667066
"always",
70677067
"if_required",
@@ -7188,7 +7188,7 @@
71887188
"nullable": true
71897189
},
71907190
"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`.",
71927192
"enum": [
71937193
"embedded",
71947194
"hosted"
@@ -35464,7 +35464,7 @@
3546435464
"$ref": "#/components/schemas/payment_links_resource_automatic_tax"
3546535465
},
3546635466
"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`.",
3546835468
"enum": [
3546935469
"auto",
3547035470
"required"
@@ -35610,7 +35610,7 @@
3561035610
"nullable": true
3561135611
},
3561235612
"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`.",
3561435614
"enum": [
3561535615
"always",
3561635616
"if_required"
@@ -83512,7 +83512,7 @@
8351283512
"type": "object"
8351383513
},
8351483514
"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`.",
8351683516
"enum": [
8351783517
"auto",
8351883518
"required"
@@ -84396,7 +84396,7 @@
8439684396
"type": "object"
8439784397
},
8439884398
"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).",
8440084400
"enum": [
8440184401
"always",
8440284402
"if_required"
@@ -85207,7 +85207,7 @@
8520785207
"type": "object"
8520885208
},
8520985209
"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`.",
8521185211
"enum": [
8521285212
"always",
8521385213
"if_required",
@@ -85823,7 +85823,7 @@
8582385823
"type": "object"
8582485824
},
8582585825
"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`.",
8582785827
"enum": [
8582885828
"embedded",
8582985829
"hosted"
@@ -142468,7 +142468,7 @@
142468142468
"type": "object"
142469142469
},
142470142470
"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`.",
142472142472
"enum": [
142473142473
"auto",
142474142474
"required"
@@ -143024,7 +143024,7 @@
143024143024
"type": "object"
143025143025
},
143026143026
"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).",
143028143028
"enum": [
143029143029
"always",
143030143030
"if_required"
@@ -143772,7 +143772,7 @@
143772143772
"type": "object"
143773143773
},
143774143774
"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`.",
143776143776
"enum": [
143777143777
"auto",
143778143778
"required"
@@ -144331,7 +144331,7 @@
144331144331
"type": "object"
144332144332
},
144333144333
"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).",
144335144335
"enum": [
144336144336
"always",
144337144337
"if_required"

embedded/openapi/spec3.json

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4365,7 +4365,7 @@
43654365
"$ref": "#/components/schemas/payment_pages_checkout_session_automatic_tax"
43664366
},
43674367
"billing_address_collection": {
4368-
"description": "Describes whether Checkout should collect the customer's billing address.",
4368+
"description": "Describes whether Checkout should collect the customer's billing address. Defaults to `auto`.",
43694369
"enum": [
43704370
"auto",
43714371
"required"
@@ -4685,7 +4685,7 @@
46854685
}
46864686
},
46874687
"payment_method_collection": {
4688-
"description": "Configure whether a Checkout Session should collect a payment method.",
4688+
"description": "Configure whether a Checkout Session should collect a payment method. Defaults to `always`.",
46894689
"enum": [
46904690
"always",
46914691
"if_required"
@@ -4738,7 +4738,7 @@
47384738
"type": "string"
47394739
},
47404740
"redirect_on_completion": {
4741-
"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.",
4741+
"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`.",
47424742
"enum": [
47434743
"always",
47444744
"if_required",
@@ -4865,7 +4865,7 @@
48654865
"nullable": true
48664866
},
48674867
"ui_mode": {
4868-
"description": "The UI mode of the Session. Can be `hosted` (default) or `embedded`.",
4868+
"description": "The UI mode of the Session. Defaults to `hosted`.",
48694869
"enum": [
48704870
"embedded",
48714871
"hosted"
@@ -23521,7 +23521,7 @@
2352123521
"$ref": "#/components/schemas/payment_links_resource_automatic_tax"
2352223522
},
2352323523
"billing_address_collection": {
23524-
"description": "Configuration for collecting the customer's billing address.",
23524+
"description": "Configuration for collecting the customer's billing address. Defaults to `auto`.",
2352523525
"enum": [
2352623526
"auto",
2352723527
"required"
@@ -23667,7 +23667,7 @@
2366723667
"nullable": true
2366823668
},
2366923669
"payment_method_collection": {
23670-
"description": "Configuration for collecting a payment method during checkout.",
23670+
"description": "Configuration for collecting a payment method during checkout. Defaults to `always`.",
2367123671
"enum": [
2367223672
"always",
2367323673
"if_required"
@@ -60485,7 +60485,7 @@
6048560485
"type": "object"
6048660486
},
6048760487
"billing_address_collection": {
60488-
"description": "Specify whether Checkout should collect the customer's billing address.",
60488+
"description": "Specify whether Checkout should collect the customer's billing address. Defaults to `auto`.",
6048960489
"enum": [
6049060490
"auto",
6049160491
"required"
@@ -61274,7 +61274,7 @@
6127461274
"type": "object"
6127561275
},
6127661276
"payment_method_collection": {
61277-
"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).",
61277+
"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).",
6127861278
"enum": [
6127961279
"always",
6128061280
"if_required"
@@ -61977,7 +61977,7 @@
6197761977
"type": "object"
6197861978
},
6197961979
"redirect_on_completion": {
61980-
"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.",
61980+
"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`.",
6198161981
"enum": [
6198261982
"always",
6198361983
"if_required",
@@ -62549,7 +62549,7 @@
6254962549
"type": "object"
6255062550
},
6255162551
"ui_mode": {
62552-
"description": "`ui_mode` can be `hosted` or `embedded`. The default is `hosted`.",
62552+
"description": "The UI mode of the Session. Defaults to `hosted`.",
6255362553
"enum": [
6255462554
"embedded",
6255562555
"hosted"
@@ -101964,7 +101964,7 @@
101964101964
"type": "object"
101965101965
},
101966101966
"billing_address_collection": {
101967-
"description": "Configuration for collecting the customer's billing address.",
101967+
"description": "Configuration for collecting the customer's billing address. Defaults to `auto`.",
101968101968
"enum": [
101969101969
"auto",
101970101970
"required"
@@ -102465,7 +102465,7 @@
102465102465
"type": "object"
102466102466
},
102467102467
"payment_method_collection": {
102468-
"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).",
102468+
"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).",
102469102469
"enum": [
102470102470
"always",
102471102471
"if_required"
@@ -103186,7 +103186,7 @@
103186103186
"type": "object"
103187103187
},
103188103188
"billing_address_collection": {
103189-
"description": "Configuration for collecting the customer's billing address.",
103189+
"description": "Configuration for collecting the customer's billing address. Defaults to `auto`.",
103190103190
"enum": [
103191103191
"auto",
103192103192
"required"
@@ -103696,7 +103696,7 @@
103696103696
"type": "object"
103697103697
},
103698103698
"payment_method_collection": {
103699-
"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).",
103699+
"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).",
103700103700
"enum": [
103701103701
"always",
103702103702
"if_required"

0 commit comments

Comments
 (0)