Skip to content

Commit

Permalink
OpenAPI Update (#487)
Browse files Browse the repository at this point in the history
Update OpenAPI for 7c0c159c806e14dca99f01e921d6432c82827a3d

Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
  • Loading branch information
stripe-openapi[bot] committed Oct 19, 2023
1 parent 49fae0d commit 13002ea
Showing 1 changed file with 203 additions and 2 deletions.
205 changes: 203 additions & 2 deletions embedded/openapi/spec3.beta.sdk.json
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

0 comments on commit 13002ea

Please sign in to comment.