Skip to content

Commit

Permalink
Update OpenAPI specification
Browse files Browse the repository at this point in the history
  • Loading branch information
stripe-openapi[bot] committed Aug 31, 2023
1 parent 01f8854 commit b53a7c7
Show file tree
Hide file tree
Showing 6 changed files with 524 additions and 0 deletions.
128 changes: 128 additions & 0 deletions openapi/spec3.beta.sdk.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
Expand All @@ -1619,6 +1622,7 @@
"payments",
"payouts",
"sepa_debit_payments",
"tax_forms",
"treasury"
],
"x-stripeResource": {
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -39381,6 +39392,7 @@
"active",
"created",
"description",
"features",
"id",
"images",
"livemode",
Expand All @@ -39398,6 +39410,7 @@
"type": "object",
"x-expandableFields": [
"default_price",
"features",
"package_dimensions",
"provisioning",
"tax_code"
Expand Down Expand Up @@ -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": {
Expand Down Expand Up @@ -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": {
Expand Down Expand Up @@ -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": {
Expand Down Expand Up @@ -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": {
Expand Down Expand Up @@ -123832,6 +123906,10 @@
"explode": true,
"style": "deepObject"
},
"features": {
"explode": true,
"style": "deepObject"
},
"images": {
"explode": true,
"style": "deepObject"
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -124471,6 +124567,10 @@
"explode": true,
"style": "deepObject"
},
"features": {
"explode": true,
"style": "deepObject"
},
"images": {
"explode": true,
"style": "deepObject"
Expand Down Expand Up @@ -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": [
{
Expand Down
Loading

0 comments on commit b53a7c7

Please sign in to comment.