Skip to content

Commit

Permalink
Update OpenAPI for d63a42dc20e613934decf4f288b67deeec85d657
Browse files Browse the repository at this point in the history
  • Loading branch information
stripe-openapi[bot] committed Jan 16, 2024
1 parent 0b96c9c commit 19db81b
Show file tree
Hide file tree
Showing 2 changed files with 184 additions and 1 deletion.
3 changes: 3 additions & 0 deletions embedded/openapi/spec3.beta.sdk.json
Original file line number Diff line number Diff line change
Expand Up @@ -2869,6 +2869,7 @@
},
"required": [
"enabled",
"liability",
"status"
],
"title": "AutomaticTax",
Expand Down Expand Up @@ -19346,6 +19347,7 @@
"ending_balance",
"footer",
"from_invoice",
"issuer",
"last_finalization_error",
"latest_revision",
"lines",
Expand Down Expand Up @@ -47592,6 +47594,7 @@
"footer",
"from_invoice",
"id",
"issuer",
"last_finalization_error",
"latest_revision",
"lines",
Expand Down
182 changes: 181 additions & 1 deletion embedded/openapi/spec3.json
Original file line number Diff line number Diff line change
Expand Up @@ -2010,6 +2010,15 @@
"description": "Whether Stripe automatically computes tax on this invoice. Note that incompatible invoice items (invoice items with manually specified [tax rates](https://stripe.com/docs/api/tax_rates), negative amounts, or `tax_behavior=unspecified`) cannot be added to automatic tax invoices.",
"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
},
"status": {
"description": "The status of the most recent automated tax calculation for this invoice.",
"enum": [
Expand All @@ -2026,7 +2035,9 @@
],
"title": "AutomaticTax",
"type": "object",
"x-expandableFields": []
"x-expandableFields": [
"liability"
]
},
"balance": {
"description": "This is an object representing your Stripe balance. You can retrieve it to see\nthe balance currently on your Stripe account.\n\nYou can also retrieve the balance history, which contains a list of\n[transactions](https://stripe.com/docs/reporting/balance-transaction-types) that contributed to the balance\n(charges, payouts, and so forth).\n\nThe available and pending amounts for each currency are broken down further by\npayment source types.\n\nRelated guide: [Understanding Connect account balances](https://stripe.com/docs/connect/account-balances)",
Expand Down Expand Up @@ -6007,6 +6018,46 @@
"type": "object",
"x-expandableFields": []
},
"connect_account_reference": {
"description": "",
"properties": {
"account": {
"anyOf": [
{
"maxLength": 5000,
"type": "string"
},
{
"$ref": "#/components/schemas/account"
}
],
"description": "The connected account being referenced when `type` is `account`.",
"x-expansionResources": {
"oneOf": [
{
"$ref": "#/components/schemas/account"
}
]
}
},
"type": {
"description": "Type of the account referenced.",
"enum": [
"account",
"self"
],
"type": "string"
}
},
"required": [
"type"
],
"title": "ConnectAccountReference",
"type": "object",
"x-expandableFields": [
"account"
]
},
"connect_collection_transfer": {
"description": "",
"properties": {
Expand Down Expand Up @@ -12694,6 +12745,9 @@
"nullable": true,
"type": "string"
},
"issuer": {
"$ref": "#/components/schemas/connect_account_reference"
},
"last_finalization_error": {
"anyOf": [
{
Expand Down Expand Up @@ -13064,6 +13118,7 @@
"created",
"currency",
"default_tax_rates",
"issuer",
"lines",
"livemode",
"object",
Expand Down Expand Up @@ -13098,6 +13153,7 @@
"discount",
"discounts",
"from_invoice",
"issuer",
"last_finalization_error",
"latest_revision",
"lines",
Expand Down Expand Up @@ -78448,6 +78504,10 @@
"explode": true,
"style": "deepObject"
},
"issuer": {
"explode": true,
"style": "deepObject"
},
"metadata": {
"explode": true,
"style": "deepObject"
Expand Down Expand Up @@ -78507,6 +78567,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 @@ -78664,6 +78743,26 @@
"title": "from_invoice",
"type": "object"
},
"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": {
"type": "string"
},
"type": {
"enum": [
"account",
"self"
],
"type": "string"
}
},
"required": [
"type"
],
"title": "param",
"type": "object"
},
"metadata": {
"anyOf": [
{
Expand Down Expand Up @@ -79438,6 +79537,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 @@ -80331,6 +80449,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 @@ -81446,6 +81583,10 @@
"explode": true,
"style": "deepObject"
},
"issuer": {
"explode": true,
"style": "deepObject"
},
"metadata": {
"explode": true,
"style": "deepObject"
Expand Down Expand Up @@ -81509,6 +81650,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 @@ -81665,6 +81825,26 @@
"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": {
"type": "string"
},
"type": {
"enum": [
"account",
"self"
],
"type": "string"
}
},
"required": [
"type"
],
"title": "param",
"type": "object"
},
"metadata": {
"anyOf": [
{
Expand Down

0 comments on commit 19db81b

Please sign in to comment.