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 Jul 1, 2024
1 parent 3a81b73 commit 336f97a
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 0 deletions.
18 changes: 18 additions & 0 deletions openapi/spec3.beta.sdk.json
Original file line number Diff line number Diff line change
Expand Up @@ -13600,6 +13600,15 @@
"type": "string",
"x-stripeBypassValidation": true
},
"payment_method_save_usage": {
"description": "When using PaymentIntents and the customer checks the save checkbox, this field determines the [`setup_future_usage`](https://docs.stripe.com/api/payment_intents/object#payment_intent_object-setup_future_usage) value used to confirm the PaymentIntent.\n\nWhen using SetupIntents, directly configure the [`usage`](https://docs.stripe.com/api/setup_intents/object#setup_intent_object-usage) value on SetupIntent creation.",
"enum": [
"off_session",
"on_session"
],
"nullable": true,
"type": "string"
},
"payment_method_update": {
"description": "Controls whether the Payment Element displays the option to update a saved payment method. This parameter defaults to `disabled`.",
"enum": [
Expand All @@ -13613,6 +13622,7 @@
"required": [
"payment_method_remove",
"payment_method_save",
"payment_method_save_usage",
"payment_method_update"
],
"title": "CustomerSessionResourceComponentsResourcePaymentElementResourceFeatures",
Expand Down Expand Up @@ -94687,6 +94697,14 @@
"type": "string",
"x-stripeBypassValidation": true
},
"payment_method_save_usage": {
"description": "When using PaymentIntents and the customer checks the save checkbox, this field determines the [`setup_future_usage`](https://docs.stripe.com/api/payment_intents/object#payment_intent_object-setup_future_usage) value used to confirm the PaymentIntent.\n\nWhen using SetupIntents, directly configure the [`usage`](https://docs.stripe.com/api/setup_intents/object#setup_intent_object-usage) value on SetupIntent creation.",
"enum": [
"off_session",
"on_session"
],
"type": "string"
},
"payment_method_update": {
"description": "Controls whether the Payment Element displays the option to update a saved payment method. This parameter defaults to `disabled`.",
"enum": [
Expand Down
33 changes: 33 additions & 0 deletions openapi/spec3.beta.sdk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12757,6 +12757,22 @@ components:
- enabled
type: string
x-stripeBypassValidation: true
payment_method_save_usage:
description: >-
When using PaymentIntents and the customer checks the save checkbox,
this field determines the
[`setup_future_usage`](https://docs.stripe.com/api/payment_intents/object#payment_intent_object-setup_future_usage)
value used to confirm the PaymentIntent.


When using SetupIntents, directly configure the
[`usage`](https://docs.stripe.com/api/setup_intents/object#setup_intent_object-usage)
value on SetupIntent creation.
enum:
- off_session
- on_session
nullable: true
type: string
payment_method_update:
description: >-
Controls whether the Payment Element displays the option to update a
Expand All @@ -12769,6 +12785,7 @@ components:
required:
- payment_method_remove
- payment_method_save
- payment_method_save_usage
- payment_method_update
title: CustomerSessionResourceComponentsResourcePaymentElementResourceFeatures
type: object
Expand Down Expand Up @@ -86741,6 +86758,22 @@ paths:
- enabled
type: string
x-stripeBypassValidation: true
payment_method_save_usage:
description: >-
When using PaymentIntents and the customer
checks the save checkbox, this field determines
the
[`setup_future_usage`](https://docs.stripe.com/api/payment_intents/object#payment_intent_object-setup_future_usage)
value used to confirm the PaymentIntent.


When using SetupIntents, directly configure the
[`usage`](https://docs.stripe.com/api/setup_intents/object#setup_intent_object-usage)
value on SetupIntent creation.
enum:
- off_session
- on_session
type: string
payment_method_update:
description: >-
Controls whether the Payment Element displays
Expand Down

0 comments on commit 336f97a

Please sign in to comment.