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 Oct 19, 2023
1 parent 9edbd39 commit 7c0c159
Show file tree
Hide file tree
Showing 2 changed files with 393 additions and 4 deletions.
205 changes: 203 additions & 2 deletions openapi/spec3.beta.sdk.json
Original file line number Diff line number Diff line change
Expand Up @@ -34145,14 +34145,25 @@
"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": [
"enabled"
],
"title": "PaymentLinksResourceAutomaticTax",
"type": "object",
"x-expandableFields": [],
"x-expandableFields": [
"liability"
],
"x-stripeResource": {
"class_name": "AutomaticTax",
"in_package": ""
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -34600,6 +34620,7 @@
"x-expandableFields": [
"account_tax_ids",
"custom_fields",
"issuer",
"rendering_options"
],
"x-stripeResource": {
Expand Down Expand Up @@ -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,
Expand All @@ -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": {
Expand Down Expand Up @@ -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": [
Expand Down Expand Up @@ -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": [
{
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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": [
Expand Down Expand Up @@ -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": [
{
Expand Down Expand Up @@ -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": [
{
Expand Down
Loading

0 comments on commit 7c0c159

Please sign in to comment.