Skip to content

Commit

Permalink
Update OpenAPI for fcd424a118f2689ec8e560fb1aa1fc12ed46de7a
Browse files Browse the repository at this point in the history
  • Loading branch information
stripe-openapi[bot] committed Jul 3, 2024
1 parent bb7720d commit 6294e85
Showing 1 changed file with 54 additions and 0 deletions.
54 changes: 54 additions & 0 deletions embedded/openapi/spec3.beta.sdk.json
Original file line number Diff line number Diff line change
Expand Up @@ -13635,6 +13635,32 @@
"customer_session_resource_components_resource_payment_element_resource_features": {
"description": "This hash contains the features the Payment Element supports.",
"properties": {
"payment_method_allow_redisplay_filters": {
"description": "A list of [`allow_redisplay`](https://docs.stripe.com/api/payment_methods/object#payment_method_object-allow_redisplay) values that controls which saved payment methods the Payment Element displays by filtering to only show payment methods with an `allow_redisplay` value that is present in this list.\n\nIf not specified, defaults to [\"always\"]. In order to display all saved payment methods, specify [\"always\", \"limited\", \"unspecified\"].",
"items": {
"enum": [
"always",
"limited",
"unspecified"
],
"type": "string"
},
"type": "array"
},
"payment_method_redisplay": {
"description": "Controls whether or not the Payment Element shows saved payment methods. This parameter defaults to `disabled`.",
"enum": [
"disabled",
"enabled"
],
"type": "string",
"x-stripeBypassValidation": true
},
"payment_method_redisplay_limit": {
"description": "Determines the max number of saved payment methods for the Payment Element to display. This parameter defaults to `10`.",
"nullable": true,
"type": "integer"
},
"payment_method_remove": {
"description": "Controls whether the Payment Element displays the option to remove a saved payment method. This parameter defaults to `disabled`.\n\nAllowing buyers to remove their saved payment methods impacts subscriptions that depend on that payment method. Removing the payment method detaches the [`customer` object](https://docs.stripe.com/api/payment_methods/object#payment_method_object-customer) from that [PaymentMethod](https://docs.stripe.com/api/payment_methods).",
"enum": [
Expand Down Expand Up @@ -13664,6 +13690,9 @@
}
},
"required": [
"payment_method_allow_redisplay_filters",
"payment_method_redisplay",
"payment_method_redisplay_limit",
"payment_method_remove",
"payment_method_save",
"payment_method_save_usage"
Expand Down Expand Up @@ -94822,6 +94851,31 @@
"features": {
"description": "This hash defines whether the Payment Element supports certain features.",
"properties": {
"payment_method_allow_redisplay_filters": {
"description": "A list of [`allow_redisplay`](https://docs.stripe.com/api/payment_methods/object#payment_method_object-allow_redisplay) values that controls which saved payment methods the Payment Element displays by filtering to only show payment methods with an `allow_redisplay` value that is present in this list.\n\nIf not specified, defaults to [\"always\"]. In order to display all saved payment methods, specify [\"always\", \"limited\", \"unspecified\"].",
"items": {
"enum": [
"always",
"limited",
"unspecified"
],
"type": "string"
},
"type": "array"
},
"payment_method_redisplay": {
"description": "Controls whether or not the Payment Element shows saved payment methods. This parameter defaults to `disabled`.",
"enum": [
"disabled",
"enabled"
],
"type": "string",
"x-stripeBypassValidation": true
},
"payment_method_redisplay_limit": {
"description": "Determines the max number of saved payment methods for the Payment Element to display. This parameter defaults to `10`.",
"type": "integer"
},
"payment_method_remove": {
"description": "Controls whether the Payment Element displays the option to remove a saved payment method. This parameter defaults to `disabled`.\n\nAllowing buyers to remove their saved payment methods impacts subscriptions that depend on that payment method. Removing the payment method detaches the [`customer` object](https://docs.stripe.com/api/payment_methods/object#payment_method_object-customer) from that [PaymentMethod](https://docs.stripe.com/api/payment_methods).",
"enum": [
Expand Down

0 comments on commit 6294e85

Please sign in to comment.