Skip to content

Commit

Permalink
Update OpenAPI for f156467cb3647839c0df70a078e30cce915f3f40
Browse files Browse the repository at this point in the history
  • Loading branch information
stripe-openapi[bot] committed Jan 18, 2024
1 parent 9a2fdca commit df1f3cc
Show file tree
Hide file tree
Showing 2 changed files with 210 additions and 2 deletions.
3 changes: 2 additions & 1 deletion embedded/openapi/spec3.beta.sdk.json
Original file line number Diff line number Diff line change
Expand Up @@ -56066,7 +56066,8 @@
}
},
"required": [
"enabled"
"enabled",
"liability"
],
"title": "SubscriptionAutomaticTax",
"type": "object",
Expand Down
209 changes: 208 additions & 1 deletion embedded/openapi/spec3.json
Original file line number Diff line number Diff line change
Expand Up @@ -38372,14 +38372,25 @@
"enabled": {
"description": "Whether Stripe automatically computes tax on this subscription.",
"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": "SubscriptionAutomaticTax",
"type": "object",
"x-expandableFields": []
"x-expandableFields": [
"liability"
]
},
"subscription_billing_thresholds": {
"description": "",
Expand Down Expand Up @@ -70918,6 +70929,10 @@
"explode": true,
"style": "deepObject"
},
"invoice_settings": {
"explode": true,
"style": "deepObject"
},
"items": {
"explode": true,
"style": "deepObject"
Expand Down Expand Up @@ -71025,6 +71040,25 @@
"properties": {
"enabled": {
"type": "boolean"
},
"liability": {
"properties": {
"account": {
"type": "string"
},
"type": {
"enum": [
"account",
"self"
],
"type": "string"
}
},
"required": [
"type"
],
"title": "param",
"type": "object"
}
},
"required": [
Expand Down Expand Up @@ -71133,6 +71167,32 @@
},
"type": "array"
},
"invoice_settings": {
"description": "All invoices will be billed using the specified settings.",
"properties": {
"issuer": {
"properties": {
"account": {
"type": "string"
},
"type": {
"enum": [
"account",
"self"
],
"type": "string"
}
},
"required": [
"type"
],
"title": "param",
"type": "object"
}
},
"title": "invoice_settings_param",
"type": "object"
},
"items": {
"description": "A list of up to 20 subscription items, each with an attached price.",
"items": {
Expand Down Expand Up @@ -71945,6 +72005,10 @@
"explode": true,
"style": "deepObject"
},
"invoice_settings": {
"explode": true,
"style": "deepObject"
},
"items": {
"explode": true,
"style": "deepObject"
Expand Down Expand Up @@ -72056,6 +72120,25 @@
"properties": {
"enabled": {
"type": "boolean"
},
"liability": {
"properties": {
"account": {
"type": "string"
},
"type": {
"enum": [
"account",
"self"
],
"type": "string"
}
},
"required": [
"type"
],
"title": "param",
"type": "object"
}
},
"required": [
Expand Down Expand Up @@ -72214,6 +72297,32 @@
},
"type": "array"
},
"invoice_settings": {
"description": "All invoices will be billed using the specified settings.",
"properties": {
"issuer": {
"properties": {
"account": {
"type": "string"
},
"type": {
"enum": [
"account",
"self"
],
"type": "string"
}
},
"required": [
"type"
],
"title": "param",
"type": "object"
}
},
"title": "invoice_settings_param",
"type": "object"
},
"items": {
"description": "A list of up to 20 subscription items, each with an attached price.",
"items": {
Expand Down Expand Up @@ -125005,6 +125114,10 @@
"explode": true,
"style": "deepObject"
},
"invoice_settings": {
"explode": true,
"style": "deepObject"
},
"items": {
"explode": true,
"style": "deepObject"
Expand Down Expand Up @@ -125116,6 +125229,25 @@
"properties": {
"enabled": {
"type": "boolean"
},
"liability": {
"properties": {
"account": {
"type": "string"
},
"type": {
"enum": [
"account",
"self"
],
"type": "string"
}
},
"required": [
"type"
],
"title": "param",
"type": "object"
}
},
"required": [
Expand Down Expand Up @@ -125259,6 +125391,32 @@
},
"type": "array"
},
"invoice_settings": {
"description": "All invoices will be billed using the specified settings.",
"properties": {
"issuer": {
"properties": {
"account": {
"type": "string"
},
"type": {
"enum": [
"account",
"self"
],
"type": "string"
}
},
"required": [
"type"
],
"title": "param",
"type": "object"
}
},
"title": "invoice_settings_param",
"type": "object"
},
"items": {
"description": "A list of up to 20 subscription items, each with an attached price.",
"items": {
Expand Down Expand Up @@ -126233,6 +126391,10 @@
"explode": true,
"style": "deepObject"
},
"invoice_settings": {
"explode": true,
"style": "deepObject"
},
"items": {
"explode": true,
"style": "deepObject"
Expand Down Expand Up @@ -126348,6 +126510,25 @@
"properties": {
"enabled": {
"type": "boolean"
},
"liability": {
"properties": {
"account": {
"type": "string"
},
"type": {
"enum": [
"account",
"self"
],
"type": "string"
}
},
"required": [
"type"
],
"title": "param",
"type": "object"
}
},
"required": [
Expand Down Expand Up @@ -126521,6 +126702,32 @@
},
"type": "array"
},
"invoice_settings": {
"description": "All invoices will be billed using the specified settings.",
"properties": {
"issuer": {
"properties": {
"account": {
"type": "string"
},
"type": {
"enum": [
"account",
"self"
],
"type": "string"
}
},
"required": [
"type"
],
"title": "param",
"type": "object"
}
},
"title": "invoice_settings_param",
"type": "object"
},
"items": {
"description": "A list of up to 20 subscription items, each with an attached price.",
"items": {
Expand Down

0 comments on commit df1f3cc

Please sign in to comment.