diff --git a/openapi/spec3.beta.sdk.json b/openapi/spec3.beta.sdk.json index 566b04a9..c034860d 100644 --- a/openapi/spec3.beta.sdk.json +++ b/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": [ { diff --git a/openapi/spec3.beta.sdk.yaml b/openapi/spec3.beta.sdk.yaml index 5bf4d470..ac370471 100644 --- a/openapi/spec3.beta.sdk.yaml +++ b/openapi/spec3.beta.sdk.yaml @@ -30737,11 +30737,21 @@ components: 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: - enabled title: PaymentLinksResourceAutomaticTax type: object - x-expandableFields: [] + x-expandableFields: + - liability x-stripeResource: class_name: AutomaticTax in_package: '' @@ -31076,6 +31086,14 @@ components: maxLength: 5000 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 @@ -31103,6 +31121,7 @@ components: x-expandableFields: - account_tax_ids - custom_fields + - issuer - rendering_options x-stripeResource: class_name: InvoiceSettings @@ -31477,6 +31496,12 @@ components: maxLength: 5000 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 @@ -31499,10 +31524,29 @@ components: - trial_period_days 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: @@ -117943,6 +117987,29 @@ paths: 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: - enabled title: automatic_tax_params @@ -118241,6 +118308,27 @@ paths: customer. 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: - additionalProperties: @@ -118817,6 +118905,34 @@ paths: explanation of the subscription. 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 @@ -119051,6 +119167,29 @@ paths: 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: - enabled title: automatic_tax_params @@ -119318,6 +119457,27 @@ paths: customer. 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: - additionalProperties: @@ -119809,6 +119969,34 @@ paths: 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: - additionalProperties: