From b53a7c71d330407f32113f72b03d2fc782cfc159 Mon Sep 17 00:00:00 2001 From: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> Date: Thu, 31 Aug 2023 23:47:04 +0000 Subject: [PATCH] Update OpenAPI specification --- openapi/spec3.beta.sdk.json | 128 ++++++++++++++++++++++++++++++++++++ openapi/spec3.beta.sdk.yaml | 107 ++++++++++++++++++++++++++++++ openapi/spec3.json | 77 ++++++++++++++++++++++ openapi/spec3.sdk.json | 83 +++++++++++++++++++++++ openapi/spec3.sdk.yaml | 67 +++++++++++++++++++ openapi/spec3.yaml | 62 +++++++++++++++++ 6 files changed, 524 insertions(+) diff --git a/openapi/spec3.beta.sdk.json b/openapi/spec3.beta.sdk.json index d9ea57d1..88b3b2a1 100644 --- a/openapi/spec3.beta.sdk.json +++ b/openapi/spec3.beta.sdk.json @@ -1598,6 +1598,9 @@ "sepa_debit_payments": { "$ref": "#/components/schemas/account_sepa_debit_payments_settings" }, + "tax_forms": { + "$ref": "#/components/schemas/tax_reporting_account_settings_resource_tax_form_settings" + }, "treasury": { "$ref": "#/components/schemas/account_treasury_settings" } @@ -1619,6 +1622,7 @@ "payments", "payouts", "sepa_debit_payments", + "tax_forms", "treasury" ], "x-stripeResource": { @@ -39265,6 +39269,13 @@ "nullable": true, "type": "string" }, + "features": { + "description": "A list of up to 15 features for this product. These are displayed in [pricing tables](https://stripe.com/docs/payments/checkout/pricing-table).", + "items": { + "$ref": "#/components/schemas/product_feature" + }, + "type": "array" + }, "id": { "description": "Unique identifier for the object.", "maxLength": 5000, @@ -39381,6 +39392,7 @@ "active", "created", "description", + "features", "id", "images", "livemode", @@ -39398,6 +39410,7 @@ "type": "object", "x-expandableFields": [ "default_price", + "features", "package_dimensions", "provisioning", "tax_code" @@ -39454,6 +39467,26 @@ "in_package": "" } }, + "product_feature": { + "description": "", + "properties": { + "name": { + "description": "The feature's name. Up to 80 characters long.", + "maxLength": 5000, + "type": "string" + } + }, + "required": [ + "name" + ], + "title": "ProductFeature", + "type": "object", + "x-expandableFields": [], + "x-stripeResource": { + "class_name": "ProductFeature", + "in_package": "" + } + }, "products_resource_provisioning_api_resource_provisioning_gift_card": { "description": "", "properties": { @@ -53891,6 +53924,25 @@ "in_package": "" } }, + "tax_reporting_account_settings_resource_tax_form_settings": { + "description": "", + "properties": { + "consented_to_paperless_delivery": { + "description": "Whether the account opted out of receiving their tax forms by postal delivery.", + "type": "boolean" + } + }, + "required": [ + "consented_to_paperless_delivery" + ], + "title": "TaxReportingAccountSettingsResourceTaxFormSettings", + "type": "object", + "x-expandableFields": [], + "x-stripeResource": { + "class_name": "SettingsTaxForms", + "in_package": "" + } + }, "tax_reporting_resource_tax_form_filing_status": { "description": "", "properties": { @@ -62297,6 +62349,17 @@ "title": "payout_settings_specs", "type": "object" }, + "tax_forms": { + "description": "Settings specific to the account's tax forms.", + "properties": { + "consented_to_paperless_delivery": { + "description": "Whether the account opted out of receiving their tax forms by postal delivery.", + "type": "boolean" + } + }, + "title": "tax_form_settings_param", + "type": "object" + }, "treasury": { "description": "Settings specific to the account's Treasury FinancialAccounts.", "properties": { @@ -64093,6 +64156,17 @@ "title": "payout_settings_specs", "type": "object" }, + "tax_forms": { + "description": "Settings specific to the account's tax forms.", + "properties": { + "consented_to_paperless_delivery": { + "description": "Whether the account opted out of receiving their tax forms by postal delivery.", + "type": "boolean" + } + }, + "title": "tax_form_settings_param", + "type": "object" + }, "treasury": { "description": "Settings specific to the account's Treasury FinancialAccounts.", "properties": { @@ -123832,6 +123906,10 @@ "explode": true, "style": "deepObject" }, + "features": { + "explode": true, + "style": "deepObject" + }, "images": { "explode": true, "style": "deepObject" @@ -124025,6 +124103,24 @@ }, "type": "array" }, + "features": { + "description": "A list of up to 15 features for this product. These are displayed in [pricing tables](https://stripe.com/docs/payments/checkout/pricing-table).", + "items": { + "properties": { + "name": { + "description": "The feature's name. Up to 80 characters long.", + "maxLength": 5000, + "type": "string" + } + }, + "required": [ + "name" + ], + "title": "features", + "type": "object" + }, + "type": "array" + }, "id": { "description": "An identifier will be randomly generated by Stripe. You can optionally override this ID, but the ID must be unique across all products in your Stripe account.", "maxLength": 5000, @@ -124471,6 +124567,10 @@ "explode": true, "style": "deepObject" }, + "features": { + "explode": true, + "style": "deepObject" + }, "images": { "explode": true, "style": "deepObject" @@ -124531,6 +124631,34 @@ }, "type": "array" }, + "features": { + "anyOf": [ + { + "items": { + "properties": { + "name": { + "description": "The feature's name. Up to 80 characters long.", + "maxLength": 5000, + "type": "string" + } + }, + "required": [ + "name" + ], + "title": "features", + "type": "object" + }, + "type": "array" + }, + { + "enum": [ + "" + ], + "type": "string" + } + ], + "description": "A list of up to 15 features for this product. These are displayed in [pricing tables](https://stripe.com/docs/payments/checkout/pricing-table)." + }, "images": { "anyOf": [ { diff --git a/openapi/spec3.beta.sdk.yaml b/openapi/spec3.beta.sdk.yaml index 713a7b9d..b6ccfa9f 100644 --- a/openapi/spec3.beta.sdk.yaml +++ b/openapi/spec3.beta.sdk.yaml @@ -1603,6 +1603,9 @@ components: $ref: '#/components/schemas/account_payout_settings' sepa_debit_payments: $ref: '#/components/schemas/account_sepa_debit_payments_settings' + tax_forms: + $ref: >- + #/components/schemas/tax_reporting_account_settings_resource_tax_form_settings treasury: $ref: '#/components/schemas/account_treasury_settings' required: @@ -1621,6 +1624,7 @@ components: - payments - payouts - sepa_debit_payments + - tax_forms - treasury x-stripeResource: class_name: Settings @@ -36220,6 +36224,14 @@ components: maxLength: 5000 nullable: true type: string + features: + description: >- + A list of up to 15 features for this product. These are displayed in + [pricing + tables](https://stripe.com/docs/payments/checkout/pricing-table). + items: + $ref: '#/components/schemas/product_feature' + type: array id: description: Unique identifier for the object. maxLength: 5000 @@ -36321,6 +36333,7 @@ components: - active - created - description + - features - id - images - livemode @@ -36337,6 +36350,7 @@ components: type: object x-expandableFields: - default_price + - features - package_dimensions - provisioning - tax_code @@ -36377,6 +36391,21 @@ components: has_collection_class: true has_search_result_class: true in_package: '' + product_feature: + description: '' + properties: + name: + description: The feature's name. Up to 80 characters long. + maxLength: 5000 + type: string + required: + - name + title: ProductFeature + type: object + x-expandableFields: [] + x-stripeResource: + class_name: ProductFeature + in_package: '' products_resource_provisioning_api_resource_provisioning_gift_card: description: '' properties: @@ -49064,6 +49093,22 @@ components: class_name: TaxRate has_collection_class: true in_package: '' + tax_reporting_account_settings_resource_tax_form_settings: + description: '' + properties: + consented_to_paperless_delivery: + description: >- + Whether the account opted out of receiving their tax forms by postal + delivery. + type: boolean + required: + - consented_to_paperless_delivery + title: TaxReportingAccountSettingsResourceTaxFormSettings + type: object + x-expandableFields: [] + x-stripeResource: + class_name: SettingsTaxForms + in_package: '' tax_reporting_resource_tax_form_filing_status: description: '' properties: @@ -56761,6 +56806,16 @@ paths: type: string title: payout_settings_specs type: object + tax_forms: + description: Settings specific to the account's tax forms. + properties: + consented_to_paperless_delivery: + description: >- + Whether the account opted out of receiving their tax + forms by postal delivery. + type: boolean + title: tax_form_settings_param + type: object treasury: description: >- Settings specific to the account's Treasury @@ -58708,6 +58763,16 @@ paths: type: string title: payout_settings_specs type: object + tax_forms: + description: Settings specific to the account's tax forms. + properties: + consented_to_paperless_delivery: + description: >- + Whether the account opted out of receiving their tax + forms by postal delivery. + type: boolean + title: tax_form_settings_param + type: object treasury: description: >- Settings specific to the account's Treasury @@ -117225,6 +117290,9 @@ paths: expand: explode: true style: deepObject + features: + explode: true + style: deepObject images: explode: true style: deepObject @@ -117457,6 +117525,22 @@ paths: maxLength: 5000 type: string type: array + features: + description: >- + A list of up to 15 features for this product. These are + displayed in [pricing + tables](https://stripe.com/docs/payments/checkout/pricing-table). + items: + properties: + name: + description: The feature's name. Up to 80 characters long. + maxLength: 5000 + type: string + required: + - name + title: features + type: object + type: array id: description: >- An identifier will be randomly generated by Stripe. You can @@ -117842,6 +117926,9 @@ paths: expand: explode: true style: deepObject + features: + explode: true + style: deepObject images: explode: true style: deepObject @@ -117890,6 +117977,26 @@ paths: maxLength: 5000 type: string type: array + features: + anyOf: + - items: + properties: + name: + description: The feature's name. Up to 80 characters long. + maxLength: 5000 + type: string + required: + - name + title: features + type: object + type: array + - enum: + - '' + type: string + description: >- + A list of up to 15 features for this product. These are + displayed in [pricing + tables](https://stripe.com/docs/payments/checkout/pricing-table). images: anyOf: - items: diff --git a/openapi/spec3.json b/openapi/spec3.json index aa964a69..0aafc4e9 100644 --- a/openapi/spec3.json +++ b/openapi/spec3.json @@ -29385,6 +29385,13 @@ "nullable": true, "type": "string" }, + "features": { + "description": "A list of up to 15 features for this product. These are displayed in [pricing tables](https://stripe.com/docs/payments/checkout/pricing-table).", + "items": { + "$ref": "#/components/schemas/product_feature" + }, + "type": "array" + }, "id": { "description": "Unique identifier for the object.", "maxLength": 5000, @@ -29483,6 +29490,7 @@ "required": [ "active", "created", + "features", "id", "images", "livemode", @@ -29495,11 +29503,28 @@ "type": "object", "x-expandableFields": [ "default_price", + "features", "package_dimensions", "tax_code" ], "x-resourceId": "product" }, + "product_feature": { + "description": "", + "properties": { + "name": { + "description": "The feature's name. Up to 80 characters long.", + "maxLength": 5000, + "type": "string" + } + }, + "required": [ + "name" + ], + "title": "ProductFeature", + "type": "object", + "x-expandableFields": [] + }, "promotion_code": { "description": "A Promotion Code represents a customer-redeemable code for a [coupon](https://stripe.com/docs/api#coupons). It can be used to\ncreate multiple codes for a single coupon.", "properties": { @@ -99546,6 +99571,10 @@ "explode": true, "style": "deepObject" }, + "features": { + "explode": true, + "style": "deepObject" + }, "images": { "explode": true, "style": "deepObject" @@ -99713,6 +99742,23 @@ }, "type": "array" }, + "features": { + "description": "A list of up to 15 features for this product. These are displayed in [pricing tables](https://stripe.com/docs/payments/checkout/pricing-table).", + "items": { + "properties": { + "name": { + "maxLength": 5000, + "type": "string" + } + }, + "required": [ + "name" + ], + "title": "features", + "type": "object" + }, + "type": "array" + }, "id": { "description": "An identifier will be randomly generated by Stripe. You can optionally override this ID, but the ID must be unique across all products in your Stripe account.", "maxLength": 5000, @@ -100096,6 +100142,10 @@ "explode": true, "style": "deepObject" }, + "features": { + "explode": true, + "style": "deepObject" + }, "images": { "explode": true, "style": "deepObject" @@ -100156,6 +100206,33 @@ }, "type": "array" }, + "features": { + "anyOf": [ + { + "items": { + "properties": { + "name": { + "maxLength": 5000, + "type": "string" + } + }, + "required": [ + "name" + ], + "title": "features", + "type": "object" + }, + "type": "array" + }, + { + "enum": [ + "" + ], + "type": "string" + } + ], + "description": "A list of up to 15 features for this product. These are displayed in [pricing tables](https://stripe.com/docs/payments/checkout/pricing-table)." + }, "images": { "anyOf": [ { diff --git a/openapi/spec3.sdk.json b/openapi/spec3.sdk.json index e7581297..7002ecc9 100644 --- a/openapi/spec3.sdk.json +++ b/openapi/spec3.sdk.json @@ -35244,6 +35244,13 @@ "nullable": true, "type": "string" }, + "features": { + "description": "A list of up to 15 features for this product. These are displayed in [pricing tables](https://stripe.com/docs/payments/checkout/pricing-table).", + "items": { + "$ref": "#/components/schemas/product_feature" + }, + "type": "array" + }, "id": { "description": "Unique identifier for the object.", "maxLength": 5000, @@ -35351,6 +35358,7 @@ "active", "created", "description", + "features", "id", "images", "livemode", @@ -35368,6 +35376,7 @@ "type": "object", "x-expandableFields": [ "default_price", + "features", "package_dimensions", "tax_code" ], @@ -35423,6 +35432,26 @@ "in_package": "" } }, + "product_feature": { + "description": "", + "properties": { + "name": { + "description": "The feature's name. Up to 80 characters long.", + "maxLength": 5000, + "type": "string" + } + }, + "required": [ + "name" + ], + "title": "ProductFeature", + "type": "object", + "x-expandableFields": [], + "x-stripeResource": { + "class_name": "ProductFeature", + "in_package": "" + } + }, "promotion_code": { "description": "A Promotion Code represents a customer-redeemable code for a [coupon](https://stripe.com/docs/api#coupons). It can be used to\ncreate multiple codes for a single coupon.", "properties": { @@ -102796,6 +102825,10 @@ "explode": true, "style": "deepObject" }, + "features": { + "explode": true, + "style": "deepObject" + }, "images": { "explode": true, "style": "deepObject" @@ -102985,6 +103018,24 @@ }, "type": "array" }, + "features": { + "description": "A list of up to 15 features for this product. These are displayed in [pricing tables](https://stripe.com/docs/payments/checkout/pricing-table).", + "items": { + "properties": { + "name": { + "description": "The feature's name. Up to 80 characters long.", + "maxLength": 5000, + "type": "string" + } + }, + "required": [ + "name" + ], + "title": "features", + "type": "object" + }, + "type": "array" + }, "id": { "description": "An identifier will be randomly generated by Stripe. You can optionally override this ID, but the ID must be unique across all products in your Stripe account.", "maxLength": 5000, @@ -103381,6 +103432,10 @@ "explode": true, "style": "deepObject" }, + "features": { + "explode": true, + "style": "deepObject" + }, "images": { "explode": true, "style": "deepObject" @@ -103441,6 +103496,34 @@ }, "type": "array" }, + "features": { + "anyOf": [ + { + "items": { + "properties": { + "name": { + "description": "The feature's name. Up to 80 characters long.", + "maxLength": 5000, + "type": "string" + } + }, + "required": [ + "name" + ], + "title": "features", + "type": "object" + }, + "type": "array" + }, + { + "enum": [ + "" + ], + "type": "string" + } + ], + "description": "A list of up to 15 features for this product. These are displayed in [pricing tables](https://stripe.com/docs/payments/checkout/pricing-table)." + }, "images": { "anyOf": [ { diff --git a/openapi/spec3.sdk.yaml b/openapi/spec3.sdk.yaml index e73a45e1..eae41b25 100644 --- a/openapi/spec3.sdk.yaml +++ b/openapi/spec3.sdk.yaml @@ -32624,6 +32624,14 @@ components: maxLength: 5000 nullable: true type: string + features: + description: >- + A list of up to 15 features for this product. These are displayed in + [pricing + tables](https://stripe.com/docs/payments/checkout/pricing-table). + items: + $ref: '#/components/schemas/product_feature' + type: array id: description: Unique identifier for the object. maxLength: 5000 @@ -32720,6 +32728,7 @@ components: - active - created - description + - features - id - images - livemode @@ -32736,6 +32745,7 @@ components: type: object x-expandableFields: - default_price + - features - package_dimensions - tax_code x-resourceId: product @@ -32775,6 +32785,21 @@ components: has_collection_class: true has_search_result_class: true in_package: '' + product_feature: + description: '' + properties: + name: + description: The feature's name. Up to 80 characters long. + maxLength: 5000 + type: string + required: + - name + title: ProductFeature + type: object + x-expandableFields: [] + x-stripeResource: + class_name: ProductFeature + in_package: '' promotion_code: description: >- A Promotion Code represents a customer-redeemable code for a @@ -97299,6 +97324,9 @@ paths: expand: explode: true style: deepObject + features: + explode: true + style: deepObject images: explode: true style: deepObject @@ -97528,6 +97556,22 @@ paths: maxLength: 5000 type: string type: array + features: + description: >- + A list of up to 15 features for this product. These are + displayed in [pricing + tables](https://stripe.com/docs/payments/checkout/pricing-table). + items: + properties: + name: + description: The feature's name. Up to 80 characters long. + maxLength: 5000 + type: string + required: + - name + title: features + type: object + type: array id: description: >- An identifier will be randomly generated by Stripe. You can @@ -97872,6 +97916,9 @@ paths: expand: explode: true style: deepObject + features: + explode: true + style: deepObject images: explode: true style: deepObject @@ -97920,6 +97967,26 @@ paths: maxLength: 5000 type: string type: array + features: + anyOf: + - items: + properties: + name: + description: The feature's name. Up to 80 characters long. + maxLength: 5000 + type: string + required: + - name + title: features + type: object + type: array + - enum: + - '' + type: string + description: >- + A list of up to 15 features for this product. These are + displayed in [pricing + tables](https://stripe.com/docs/payments/checkout/pricing-table). images: anyOf: - items: diff --git a/openapi/spec3.yaml b/openapi/spec3.yaml index 80778a8d..28688c42 100644 --- a/openapi/spec3.yaml +++ b/openapi/spec3.yaml @@ -27865,6 +27865,14 @@ components: maxLength: 5000 nullable: true type: string + features: + description: >- + A list of up to 15 features for this product. These are displayed in + [pricing + tables](https://stripe.com/docs/payments/checkout/pricing-table). + items: + $ref: '#/components/schemas/product_feature' + type: array id: description: Unique identifier for the object. maxLength: 5000 @@ -27951,6 +27959,7 @@ components: required: - active - created + - features - id - images - livemode @@ -27962,9 +27971,22 @@ components: type: object x-expandableFields: - default_price + - features - package_dimensions - tax_code x-resourceId: product + product_feature: + description: '' + properties: + name: + description: The feature's name. Up to 80 characters long. + maxLength: 5000 + type: string + required: + - name + title: ProductFeature + type: object + x-expandableFields: [] promotion_code: description: >- A Promotion Code represents a customer-redeemable code for a @@ -85426,6 +85448,9 @@ paths: expand: explode: true style: deepObject + features: + explode: true + style: deepObject images: explode: true style: deepObject @@ -85551,6 +85576,21 @@ paths: maxLength: 5000 type: string type: array + features: + description: >- + A list of up to 15 features for this product. These are + displayed in [pricing + tables](https://stripe.com/docs/payments/checkout/pricing-table). + items: + properties: + name: + maxLength: 5000 + type: string + required: + - name + title: features + type: object + type: array id: description: >- An identifier will be randomly generated by Stripe. You can @@ -85872,6 +85912,9 @@ paths: expand: explode: true style: deepObject + features: + explode: true + style: deepObject images: explode: true style: deepObject @@ -85920,6 +85963,25 @@ paths: maxLength: 5000 type: string type: array + features: + anyOf: + - items: + properties: + name: + maxLength: 5000 + type: string + required: + - name + title: features + type: object + type: array + - enum: + - '' + type: string + description: >- + A list of up to 15 features for this product. These are + displayed in [pricing + tables](https://stripe.com/docs/payments/checkout/pricing-table). images: anyOf: - items: