From 46cf1657c0d28b706339ea4b138d11c0168041f1 Mon Sep 17 00:00:00 2001 From: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> Date: Tue, 23 Jan 2024 10:27:24 +0000 Subject: [PATCH] Update OpenAPI specification --- openapi/spec3.beta.sdk.json | 2 + openapi/spec3.beta.sdk.yaml | 2 + openapi/spec3.json | 86 +++++++++++++++++++++++++++++++- openapi/spec3.sdk.json | 98 ++++++++++++++++++++++++++++++++++++- openapi/spec3.sdk.yaml | 95 ++++++++++++++++++++++++++++++++++- openapi/spec3.yaml | 64 +++++++++++++++++++++++- 6 files changed, 343 insertions(+), 4 deletions(-) diff --git a/openapi/spec3.beta.sdk.json b/openapi/spec3.beta.sdk.json index a39f0921..f3d4c041 100644 --- a/openapi/spec3.beta.sdk.json +++ b/openapi/spec3.beta.sdk.json @@ -41369,6 +41369,7 @@ }, "required": [ "enabled", + "liability", "status" ], "title": "PaymentPagesCheckoutSessionAutomaticTax", @@ -41915,6 +41916,7 @@ "custom_fields", "description", "footer", + "issuer", "metadata", "rendering_options" ], diff --git a/openapi/spec3.beta.sdk.yaml b/openapi/spec3.beta.sdk.yaml index 23263e94..2d8f96fa 100644 --- a/openapi/spec3.beta.sdk.yaml +++ b/openapi/spec3.beta.sdk.yaml @@ -37973,6 +37973,7 @@ components: type: string required: - enabled + - liability - status title: PaymentPagesCheckoutSessionAutomaticTax type: object @@ -38451,6 +38452,7 @@ components: - custom_fields - description - footer + - issuer - metadata - rendering_options title: PaymentPagesCheckoutSessionInvoiceSettings diff --git a/openapi/spec3.json b/openapi/spec3.json index b9156a55..6f03d80c 100644 --- a/openapi/spec3.json +++ b/openapi/spec3.json @@ -29150,6 +29150,15 @@ "description": "Indicates whether automatic tax is enabled for the session", "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 + }, "status": { "description": "The status of the most recent automated tax calculation for this session.", "enum": [ @@ -29166,7 +29175,9 @@ ], "title": "PaymentPagesCheckoutSessionAutomaticTax", "type": "object", - "x-expandableFields": [] + "x-expandableFields": [ + "liability" + ] }, "payment_pages_checkout_session_consent": { "description": "", @@ -29626,6 +29637,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, @@ -29650,6 +29670,7 @@ "x-expandableFields": [ "account_tax_ids", "custom_fields", + "issuer", "rendering_options" ] }, @@ -59685,6 +59706,25 @@ "properties": { "enabled": { "type": "boolean" + }, + "liability": { + "properties": { + "account": { + "type": "string" + }, + "type": { + "enum": [ + "account", + "self" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "title": "param", + "type": "object" } }, "required": [ @@ -60098,6 +60138,25 @@ "maxLength": 5000, "type": "string" }, + "issuer": { + "properties": { + "account": { + "type": "string" + }, + "type": { + "enum": [ + "account", + "self" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "title": "param", + "type": "object" + }, "metadata": { "additionalProperties": { "type": "string" @@ -61606,6 +61665,31 @@ "maxLength": 500, "type": "string" }, + "invoice_settings": { + "properties": { + "issuer": { + "properties": { + "account": { + "type": "string" + }, + "type": { + "enum": [ + "account", + "self" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "title": "param", + "type": "object" + } + }, + "title": "invoice_settings_params", + "type": "object" + }, "metadata": { "additionalProperties": { "type": "string" diff --git a/openapi/spec3.sdk.json b/openapi/spec3.sdk.json index f0359eef..246a533c 100644 --- a/openapi/spec3.sdk.json +++ b/openapi/spec3.sdk.json @@ -35416,6 +35416,15 @@ "description": "Indicates whether automatic tax is enabled for the session", "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 + }, "status": { "description": "The status of the most recent automated tax calculation for this session.", "enum": [ @@ -35429,11 +35438,14 @@ }, "required": [ "enabled", + "liability", "status" ], "title": "PaymentPagesCheckoutSessionAutomaticTax", "type": "object", - "x-expandableFields": [] + "x-expandableFields": [ + "liability" + ] }, "payment_pages_checkout_session_consent": { "description": "", @@ -35940,6 +35952,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, @@ -35964,6 +35985,7 @@ "custom_fields", "description", "footer", + "issuer", "metadata", "rendering_options" ], @@ -35972,6 +35994,7 @@ "x-expandableFields": [ "account_tax_ids", "custom_fields", + "issuer", "rendering_options" ] }, @@ -68110,6 +68133,28 @@ "enabled": { "description": "Set to true to enable automatic taxes.", "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": [ @@ -68564,6 +68609,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": { "additionalProperties": { "type": "string" @@ -70242,6 +70309,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": "invoice_settings_params", + "type": "object" + }, "metadata": { "additionalProperties": { "type": "string" diff --git a/openapi/spec3.sdk.yaml b/openapi/spec3.sdk.yaml index 9ced27d3..cbb4404d 100644 --- a/openapi/spec3.sdk.yaml +++ b/openapi/spec3.sdk.yaml @@ -32738,6 +32738,15 @@ components: enabled: description: Indicates whether automatic tax is enabled for the session 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 status: description: >- The status of the most recent automated tax calculation for this @@ -32750,10 +32759,12 @@ components: type: string required: - enabled + - liability - status title: PaymentPagesCheckoutSessionAutomaticTax type: object - x-expandableFields: [] + x-expandableFields: + - liability payment_pages_checkout_session_consent: description: '' properties: @@ -33199,6 +33210,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 @@ -33219,6 +33238,7 @@ components: - custom_fields - description - footer + - issuer - metadata - rendering_options title: PaymentPagesCheckoutSessionInvoiceSettings @@ -33226,6 +33246,7 @@ components: x-expandableFields: - account_tax_ids - custom_fields + - issuer - rendering_options payment_pages_checkout_session_payment_method_reuse_agreement: description: '' @@ -62028,6 +62049,29 @@ paths: enabled: description: Set to true to enable automatic taxes. 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 @@ -62528,6 +62572,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: additionalProperties: type: string @@ -64968,6 +65033,34 @@ paths: portal](https://stripe.com/docs/customer-management). 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: invoice_settings_params + type: object metadata: additionalProperties: type: string diff --git a/openapi/spec3.yaml b/openapi/spec3.yaml index 8d487f21..fff63b46 100644 --- a/openapi/spec3.yaml +++ b/openapi/spec3.yaml @@ -27742,6 +27742,15 @@ components: enabled: description: Indicates whether automatic tax is enabled for the session 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 status: description: >- The status of the most recent automated tax calculation for this @@ -27756,7 +27765,8 @@ components: - enabled title: PaymentPagesCheckoutSessionAutomaticTax type: object - x-expandableFields: [] + x-expandableFields: + - liability payment_pages_checkout_session_consent: description: '' properties: @@ -28164,6 +28174,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 @@ -28184,6 +28202,7 @@ components: x-expandableFields: - account_tax_ids - custom_fields + - issuer - rendering_options payment_pages_checkout_session_payment_method_reuse_agreement: description: '' @@ -53809,6 +53828,19 @@ paths: properties: enabled: type: boolean + liability: + properties: + account: + type: string + type: + enum: + - account + - self + type: string + required: + - type + title: param + type: object required: - enabled title: automatic_tax_params @@ -54187,6 +54219,19 @@ paths: footer: maxLength: 5000 type: string + issuer: + properties: + account: + type: string + type: + enum: + - account + - self + type: string + required: + - type + title: param + type: object metadata: additionalProperties: type: string @@ -55455,6 +55500,23 @@ paths: description: maxLength: 500 type: string + invoice_settings: + properties: + issuer: + properties: + account: + type: string + type: + enum: + - account + - self + type: string + required: + - type + title: param + type: object + title: invoice_settings_params + type: object metadata: additionalProperties: type: string