From 9260385d56508ba9cb0da8245fead555cd202601 Mon Sep 17 00:00:00 2001 From: "stripe-openapi[bot]" <105521251+stripe-openapi[bot]@users.noreply.github.com> Date: Tue, 11 Jun 2024 08:22:20 +0000 Subject: [PATCH] OpenAPI Update (#858) Update OpenAPI for d8b2dcce8e04cc77d67b540ddee64fc6e2ae86b0 Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> --- embedded/openapi/spec3.json | 203 ++++++++++++++++++++++++++++++++++++ 1 file changed, 203 insertions(+) diff --git a/embedded/openapi/spec3.json b/embedded/openapi/spec3.json index 8d099e03..05999503 100644 --- a/embedded/openapi/spec3.json +++ b/embedded/openapi/spec3.json @@ -764,6 +764,15 @@ ], "type": "string" }, + "twint_payments": { + "description": "The status of the TWINT capability of the account, or whether the account can directly process TWINT charges.", + "enum": [ + "active", + "inactive", + "pending" + ], + "type": "string" + }, "us_bank_account_ach_payments": { "description": "The status of the US bank account ACH payments capability of the account, or whether the account can directly process US bank account charges.", "enum": [ @@ -7052,6 +7061,9 @@ "swish": { "$ref": "#/components/schemas/payment_method_swish" }, + "twint": { + "$ref": "#/components/schemas/payment_method_twint" + }, "type": { "description": "The type of the PaymentMethod. An additional hash is included on the PaymentMethod with a name matching this value. It contains additional information specific to the PaymentMethod type.", "enum": [ @@ -7090,6 +7102,7 @@ "sepa_debit", "sofort", "swish", + "twint", "us_bank_account", "wechat_pay", "zip" @@ -7150,6 +7163,7 @@ "sepa_debit", "sofort", "swish", + "twint", "us_bank_account", "wechat_pay", "zip" @@ -25458,6 +25472,16 @@ } ] }, + "twint": { + "anyOf": [ + { + "$ref": "#/components/schemas/payment_method_options_twint" + }, + { + "$ref": "#/components/schemas/payment_intent_type_specific_payment_method_options_client" + } + ] + }, "us_bank_account": { "anyOf": [ { @@ -25527,6 +25551,7 @@ "sepa_debit", "sofort", "swish", + "twint", "us_bank_account", "wechat_pay", "zip" @@ -27520,6 +27545,9 @@ "swish": { "$ref": "#/components/schemas/payment_method_swish" }, + "twint": { + "$ref": "#/components/schemas/payment_method_twint" + }, "type": { "description": "The type of the PaymentMethod. An additional hash is included on the PaymentMethod with a name matching this value. It contains additional information specific to the PaymentMethod type.", "enum": [ @@ -27558,6 +27586,7 @@ "sepa_debit", "sofort", "swish", + "twint", "us_bank_account", "wechat_pay", "zip" @@ -27624,6 +27653,7 @@ "sepa_debit", "sofort", "swish", + "twint", "us_bank_account", "wechat_pay", "zip" @@ -28675,6 +28705,9 @@ "swish": { "$ref": "#/components/schemas/payment_method_details_swish" }, + "twint": { + "$ref": "#/components/schemas/payment_method_details_twint" + }, "type": { "description": "The type of transaction-specific details of the payment method used in the payment, one of `ach_credit_transfer`, `ach_debit`, `acss_debit`, `alipay`, `au_becs_debit`, `bancontact`, `card`, `card_present`, `eps`, `giropay`, `ideal`, `klarna`, `multibanco`, `p24`, `sepa_debit`, `sofort`, `stripe_account`, or `wechat`.\nAn additional hash is included on `payment_method_details` with a name matching this value.\nIt contains information specific to the payment method.", "maxLength": 5000, @@ -28737,6 +28770,7 @@ "sofort", "stripe_account", "swish", + "twint", "us_bank_account", "wechat", "wechat_pay", @@ -30597,6 +30631,13 @@ "type": "object", "x-expandableFields": [] }, + "payment_method_details_twint": { + "description": "", + "properties": {}, + "title": "payment_method_details_twint", + "type": "object", + "x-expandableFields": [] + }, "payment_method_details_us_bank_account": { "description": "", "properties": { @@ -31873,6 +31914,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": { @@ -32103,6 +32159,13 @@ "type": "object", "x-expandableFields": [] }, + "payment_method_twint": { + "description": "", + "properties": {}, + "title": "payment_method_twint", + "type": "object", + "x-expandableFields": [] + }, "payment_method_us_bank_account": { "description": "", "properties": { @@ -51272,6 +51335,15 @@ "title": "capability_param", "type": "object" }, + "twint_payments": { + "properties": { + "requested": { + "type": "boolean" + } + }, + "title": "capability_param", + "type": "object" + }, "us_bank_account_ach_payments": { "properties": { "requested": { @@ -53029,6 +53101,15 @@ "title": "capability_param", "type": "object" }, + "twint_payments": { + "properties": { + "requested": { + "type": "boolean" + } + }, + "title": "capability_param", + "type": "object" + }, "us_bank_account_ach_payments": { "properties": { "requested": { @@ -66555,6 +66636,7 @@ "sepa_debit", "sofort", "swish", + "twint", "us_bank_account", "wechat_pay", "zip" @@ -74847,6 +74929,7 @@ "sepa_debit", "sofort", "swish", + "twint", "us_bank_account", "wechat_pay", "zip" @@ -104343,6 +104426,11 @@ "title": "param", "type": "object" }, + "twint": { + "properties": {}, + "title": "param", + "type": "object" + }, "type": { "enum": [ "acss_debit", @@ -104377,6 +104465,7 @@ "sepa_debit", "sofort", "swish", + "twint", "us_bank_account", "wechat_pay", "zip" @@ -105927,6 +106016,28 @@ } ] }, + "twint": { + "anyOf": [ + { + "properties": { + "setup_future_usage": { + "enum": [ + "none" + ], + "type": "string" + } + }, + "title": "payment_method_options_param", + "type": "object" + }, + { + "enum": [ + "" + ], + "type": "string" + } + ] + }, "us_bank_account": { "anyOf": [ { @@ -107100,6 +107211,11 @@ "title": "param", "type": "object" }, + "twint": { + "properties": {}, + "title": "param", + "type": "object" + }, "type": { "enum": [ "acss_debit", @@ -107134,6 +107250,7 @@ "sepa_debit", "sofort", "swish", + "twint", "us_bank_account", "wechat_pay", "zip" @@ -108684,6 +108801,28 @@ } ] }, + "twint": { + "anyOf": [ + { + "properties": { + "setup_future_usage": { + "enum": [ + "none" + ], + "type": "string" + } + }, + "title": "payment_method_options_param", + "type": "object" + }, + { + "enum": [ + "" + ], + "type": "string" + } + ] + }, "us_bank_account": { "anyOf": [ { @@ -110001,6 +110140,11 @@ "title": "param", "type": "object" }, + "twint": { + "properties": {}, + "title": "param", + "type": "object" + }, "type": { "enum": [ "acss_debit", @@ -110035,6 +110179,7 @@ "sepa_debit", "sofort", "swish", + "twint", "us_bank_account", "wechat_pay", "zip" @@ -111585,6 +111730,28 @@ } ] }, + "twint": { + "anyOf": [ + { + "properties": { + "setup_future_usage": { + "enum": [ + "none" + ], + "type": "string" + } + }, + "title": "payment_method_options_param", + "type": "object" + }, + { + "enum": [ + "" + ], + "type": "string" + } + ] + }, "us_bank_account": { "anyOf": [ { @@ -117615,6 +117782,7 @@ "sepa_debit", "sofort", "swish", + "twint", "us_bank_account", "wechat_pay", "zip" @@ -117856,6 +118024,10 @@ "explode": true, "style": "deepObject" }, + "twint": { + "explode": true, + "style": "deepObject" + }, "us_bank_account": { "explode": true, "style": "deepObject" @@ -118477,6 +118649,12 @@ "title": "param", "type": "object" }, + "twint": { + "description": "If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method.", + "properties": {}, + "title": "param", + "type": "object" + }, "type": { "description": "The type of the PaymentMethod. An additional hash is included on the PaymentMethod with a name matching this value. It contains additional information specific to the PaymentMethod type.", "enum": [ @@ -118513,6 +118691,7 @@ "sepa_debit", "sofort", "swish", + "twint", "us_bank_account", "wechat_pay", "zip" @@ -129325,6 +129504,11 @@ "title": "param", "type": "object" }, + "twint": { + "properties": {}, + "title": "param", + "type": "object" + }, "type": { "enum": [ "acss_debit", @@ -129359,6 +129543,7 @@ "sepa_debit", "sofort", "swish", + "twint", "us_bank_account", "wechat_pay", "zip" @@ -130542,6 +130727,11 @@ "title": "param", "type": "object" }, + "twint": { + "properties": {}, + "title": "param", + "type": "object" + }, "type": { "enum": [ "acss_debit", @@ -130576,6 +130766,7 @@ "sepa_debit", "sofort", "swish", + "twint", "us_bank_account", "wechat_pay", "zip" @@ -131783,6 +131974,11 @@ "title": "param", "type": "object" }, + "twint": { + "properties": {}, + "title": "param", + "type": "object" + }, "type": { "enum": [ "acss_debit", @@ -131817,6 +132013,7 @@ "sepa_debit", "sofort", "swish", + "twint", "us_bank_account", "wechat_pay", "zip" @@ -148083,6 +148280,11 @@ "title": "param", "type": "object" }, + "twint": { + "properties": {}, + "title": "param", + "type": "object" + }, "type": { "enum": [ "acss_debit", @@ -148117,6 +148319,7 @@ "sepa_debit", "sofort", "swish", + "twint", "us_bank_account", "wechat_pay", "zip"