Skip to content

Commit

Permalink
OpenAPI Update (#851)
Browse files Browse the repository at this point in the history
Update OpenAPI for dbedaef6cd3aa67d3534173be5373611aabd052b

Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
  • Loading branch information
stripe-openapi[bot] authored Jun 6, 2024
1 parent 0c082e1 commit 256a11a
Showing 1 changed file with 91 additions and 0 deletions.
91 changes: 91 additions & 0 deletions embedded/openapi/spec3.beta.sdk.json
Original file line number Diff line number Diff line change
Expand Up @@ -36866,6 +36866,9 @@
"swish": {
"$ref": "#/components/schemas/payment_intent_payment_method_options_swish"
},
"twint": {
"$ref": "#/components/schemas/payment_method_options_twint"
},
"us_bank_account": {
"$ref": "#/components/schemas/payment_intent_payment_method_options_us_bank_account"
},
Expand Down Expand Up @@ -36916,6 +36919,7 @@
"sepa_debit",
"sofort",
"swish",
"twint",
"us_bank_account",
"wechat_pay",
"zip"
Expand Down Expand Up @@ -44427,6 +44431,21 @@
"type": "object",
"x-expandableFields": []
},
"payment_method_options_twint": {
"description": "",
"properties": {
"setup_future_usage": {
"description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nProviding this parameter will [attach the payment method](https://stripe.com/docs/payments/save-during-payment) to the PaymentIntent's Customer, if present, after the PaymentIntent is confirmed and any required actions from the user are complete. If no Customer was provided, the payment method can still be [attached](https://stripe.com/docs/api/payment_methods/attach) to a Customer after the transaction completes.\n\nWhen processing card payments, Stripe also uses `setup_future_usage` to dynamically optimize your payment flow and comply with regional legislation and network rules, such as [SCA](https://stripe.com/docs/strong-customer-authentication).",
"enum": [
"none"
],
"type": "string"
}
},
"title": "payment_method_options_twint",
"type": "object",
"x-expandableFields": []
},
"payment_method_options_us_bank_account_mandate_options": {
"description": "",
"properties": {
Expand Down Expand Up @@ -138849,6 +138868,30 @@
],
"description": "If this is a `Swish` PaymentMethod, this sub-hash contains details about the Swish payment method options."
},
"twint": {
"anyOf": [
{
"properties": {
"setup_future_usage": {
"description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nProviding this parameter will [attach the payment method](https://stripe.com/docs/payments/save-during-payment) to the PaymentIntent's Customer, if present, after the PaymentIntent is confirmed and any required actions from the user are complete. If no Customer was provided, the payment method can still be [attached](https://stripe.com/docs/api/payment_methods/attach) to a Customer after the transaction completes.\n\nWhen processing card payments, Stripe also uses `setup_future_usage` to dynamically optimize your payment flow and comply with regional legislation and network rules, such as [SCA](https://stripe.com/docs/strong-customer-authentication).\n\nIf `setup_future_usage` is already set and you are performing a request using a publishable key, you may only update the value from `on_session` to `off_session`.",
"enum": [
"none"
],
"type": "string"
}
},
"title": "payment_method_options_param",
"type": "object"
},
{
"enum": [
""
],
"type": "string"
}
],
"description": "If this is a `twint` PaymentMethod, this sub-hash contains details about the TWINT payment method options."
},
"us_bank_account": {
"anyOf": [
{
Expand Down Expand Up @@ -143045,6 +143088,30 @@
],
"description": "If this is a `Swish` PaymentMethod, this sub-hash contains details about the Swish payment method options."
},
"twint": {
"anyOf": [
{
"properties": {
"setup_future_usage": {
"description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nProviding this parameter will [attach the payment method](https://stripe.com/docs/payments/save-during-payment) to the PaymentIntent's Customer, if present, after the PaymentIntent is confirmed and any required actions from the user are complete. If no Customer was provided, the payment method can still be [attached](https://stripe.com/docs/api/payment_methods/attach) to a Customer after the transaction completes.\n\nWhen processing card payments, Stripe also uses `setup_future_usage` to dynamically optimize your payment flow and comply with regional legislation and network rules, such as [SCA](https://stripe.com/docs/strong-customer-authentication).\n\nIf `setup_future_usage` is already set and you are performing a request using a publishable key, you may only update the value from `on_session` to `off_session`.",
"enum": [
"none"
],
"type": "string"
}
},
"title": "payment_method_options_param",
"type": "object"
},
{
"enum": [
""
],
"type": "string"
}
],
"description": "If this is a `twint` PaymentMethod, this sub-hash contains details about the TWINT payment method options."
},
"us_bank_account": {
"anyOf": [
{
Expand Down Expand Up @@ -148181,6 +148248,30 @@
],
"description": "If this is a `Swish` PaymentMethod, this sub-hash contains details about the Swish payment method options."
},
"twint": {
"anyOf": [
{
"properties": {
"setup_future_usage": {
"description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nProviding this parameter will [attach the payment method](https://stripe.com/docs/payments/save-during-payment) to the PaymentIntent's Customer, if present, after the PaymentIntent is confirmed and any required actions from the user are complete. If no Customer was provided, the payment method can still be [attached](https://stripe.com/docs/api/payment_methods/attach) to a Customer after the transaction completes.\n\nWhen processing card payments, Stripe also uses `setup_future_usage` to dynamically optimize your payment flow and comply with regional legislation and network rules, such as [SCA](https://stripe.com/docs/strong-customer-authentication).\n\nIf `setup_future_usage` is already set and you are performing a request using a publishable key, you may only update the value from `on_session` to `off_session`.",
"enum": [
"none"
],
"type": "string"
}
},
"title": "payment_method_options_param",
"type": "object"
},
{
"enum": [
""
],
"type": "string"
}
],
"description": "If this is a `twint` PaymentMethod, this sub-hash contains details about the TWINT payment method options."
},
"us_bank_account": {
"anyOf": [
{
Expand Down

0 comments on commit 256a11a

Please sign in to comment.