Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenAPI Update #614

Merged
merged 1 commit into from
Jan 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading