From 13002ea458bf248f0a6d63ccbb921968c0bc5c62 Mon Sep 17 00:00:00 2001 From: "stripe-openapi[bot]" <105521251+stripe-openapi[bot]@users.noreply.github.com> Date: Thu, 19 Oct 2023 13:07:03 +0000 Subject: [PATCH] OpenAPI Update (#487) Update OpenAPI for 7c0c159c806e14dca99f01e921d6432c82827a3d Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> --- embedded/openapi/spec3.beta.sdk.json | 205 ++++++++++++++++++++++++++- 1 file changed, 203 insertions(+), 2 deletions(-) diff --git a/embedded/openapi/spec3.beta.sdk.json b/embedded/openapi/spec3.beta.sdk.json index 566b04a9..c034860d 100644 --- a/embedded/openapi/spec3.beta.sdk.json +++ b/embedded/openapi/spec3.beta.sdk.json @@ -34145,6 +34145,15 @@ "enabled": { "description": "If `true`, tax will be calculated automatically using the customer's location.", "type": "boolean" + }, + "liability": { + "anyOf": [ + { + "$ref": "#/components/schemas/connect_account_reference" + } + ], + "description": "The account that's liable for tax. If set, the business address and tax registrations required to perform the tax calculation are loaded from this account. The tax transaction is returned in the report of the connected account.", + "nullable": true } }, "required": [ @@ -34152,7 +34161,9 @@ ], "title": "PaymentLinksResourceAutomaticTax", "type": "object", - "x-expandableFields": [], + "x-expandableFields": [ + "liability" + ], "x-stripeResource": { "class_name": "AutomaticTax", "in_package": "" @@ -34568,6 +34579,15 @@ "nullable": true, "type": "string" }, + "issuer": { + "anyOf": [ + { + "$ref": "#/components/schemas/connect_account_reference" + } + ], + "description": "The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.", + "nullable": true + }, "metadata": { "additionalProperties": { "maxLength": 500, @@ -34600,6 +34620,7 @@ "x-expandableFields": [ "account_tax_ids", "custom_fields", + "issuer", "rendering_options" ], "x-stripeResource": { @@ -34995,6 +35016,15 @@ "nullable": true, "type": "string" }, + "invoice_settings": { + "anyOf": [ + { + "$ref": "#/components/schemas/payment_links_resource_subscription_data_invoice_settings" + } + ], + "description": "All invoices will be billed using the specified settings.", + "nullable": true + }, "metadata": { "additionalProperties": { "maxLength": 500, @@ -35016,12 +35046,37 @@ ], "title": "PaymentLinksResourceSubscriptionData", "type": "object", - "x-expandableFields": [], + "x-expandableFields": [ + "invoice_settings" + ], "x-stripeResource": { "class_name": "SubscriptionData", "in_package": "" } }, + "payment_links_resource_subscription_data_invoice_settings": { + "description": "", + "properties": { + "issuer": { + "anyOf": [ + { + "$ref": "#/components/schemas/connect_account_reference" + } + ], + "description": "The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.", + "nullable": true + } + }, + "title": "PaymentLinksResourceSubscriptionDataInvoiceSettings", + "type": "object", + "x-expandableFields": [ + "issuer" + ], + "x-stripeResource": { + "class_name": "SubscriptionDataInvoiceSetting", + "in_package": "" + } + }, "payment_links_resource_tax_id_collection": { "description": "", "properties": { @@ -125877,6 +125932,28 @@ "enabled": { "description": "If `true`, tax will be calculated automatically using the customer's location.", "type": "boolean" + }, + "liability": { + "description": "The account that's liable for tax. If set, the business address and tax registrations required to perform the tax calculation are loaded from this account. The tax transaction is returned in the report of the connected account.", + "properties": { + "account": { + "description": "The connected account being referenced when `type` is `account`.", + "type": "string" + }, + "type": { + "description": "Type of the account referenced in the request.", + "enum": [ + "account", + "self" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "title": "param", + "type": "object" } }, "required": [ @@ -126210,6 +126287,28 @@ "maxLength": 5000, "type": "string" }, + "issuer": { + "description": "The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.", + "properties": { + "account": { + "description": "The connected account being referenced when `type` is `account`.", + "type": "string" + }, + "type": { + "description": "Type of the account referenced in the request.", + "enum": [ + "account", + "self" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "title": "param", + "type": "object" + }, "metadata": { "anyOf": [ { @@ -126710,6 +126809,35 @@ "maxLength": 500, "type": "string" }, + "invoice_settings": { + "description": "All invoices will be billed using the specified settings.", + "properties": { + "issuer": { + "description": "The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.", + "properties": { + "account": { + "description": "The connected account being referenced when `type` is `account`.", + "type": "string" + }, + "type": { + "description": "Type of the account referenced in the request.", + "enum": [ + "account", + "self" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "title": "param", + "type": "object" + } + }, + "title": "subscription_data_invoice_settings_params", + "type": "object" + }, "metadata": { "additionalProperties": { "type": "string" @@ -126988,6 +127116,28 @@ "enabled": { "description": "If `true`, tax will be calculated automatically using the customer's location.", "type": "boolean" + }, + "liability": { + "description": "The account that's liable for tax. If set, the business address and tax registrations required to perform the tax calculation are loaded from this account. The tax transaction is returned in the report of the connected account.", + "properties": { + "account": { + "description": "The connected account being referenced when `type` is `account`.", + "type": "string" + }, + "type": { + "description": "Type of the account referenced in the request.", + "enum": [ + "account", + "self" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "title": "param", + "type": "object" } }, "required": [ @@ -127304,6 +127454,28 @@ "maxLength": 5000, "type": "string" }, + "issuer": { + "description": "The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.", + "properties": { + "account": { + "description": "The connected account being referenced when `type` is `account`.", + "type": "string" + }, + "type": { + "description": "Type of the account referenced in the request.", + "enum": [ + "account", + "self" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "title": "param", + "type": "object" + }, "metadata": { "anyOf": [ { @@ -127788,6 +127960,35 @@ "subscription_data": { "description": "When creating a subscription, the specified configuration data will be used. There must be at least one line item with a recurring price to use `subscription_data`.", "properties": { + "invoice_settings": { + "description": "All invoices will be billed using the specified settings.", + "properties": { + "issuer": { + "description": "The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.", + "properties": { + "account": { + "description": "The connected account being referenced when `type` is `account`.", + "type": "string" + }, + "type": { + "description": "Type of the account referenced in the request.", + "enum": [ + "account", + "self" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "title": "param", + "type": "object" + } + }, + "title": "subscription_data_invoice_settings_params", + "type": "object" + }, "metadata": { "anyOf": [ {