Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenAPI Update #899

Merged
merged 1 commit into from
Jul 3, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading