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 Jan 23, 2024
1 parent aa1cb51 commit 46cf165
Show file tree
Hide file tree
Showing 6 changed files with 343 additions and 4 deletions.
2 changes: 2 additions & 0 deletions openapi/spec3.beta.sdk.json
Expand Up @@ -41369,6 +41369,7 @@
},
"required": [
"enabled",
"liability",
"status"
],
"title": "PaymentPagesCheckoutSessionAutomaticTax",
Expand Down Expand Up @@ -41915,6 +41916,7 @@
"custom_fields",
"description",
"footer",
"issuer",
"metadata",
"rendering_options"
],
Expand Down
2 changes: 2 additions & 0 deletions openapi/spec3.beta.sdk.yaml
Expand Up @@ -37973,6 +37973,7 @@ components:
type: string
required:
- enabled
- liability
- status
title: PaymentPagesCheckoutSessionAutomaticTax
type: object
Expand Down Expand Up @@ -38451,6 +38452,7 @@ components:
- custom_fields
- description
- footer
- issuer
- metadata
- rendering_options
title: PaymentPagesCheckoutSessionInvoiceSettings
Expand Down
86 changes: 85 additions & 1 deletion openapi/spec3.json
Expand Up @@ -29150,6 +29150,15 @@
"description": "Indicates whether automatic tax is enabled for the session",
"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 session.",
"enum": [
Expand All @@ -29166,7 +29175,9 @@
],
"title": "PaymentPagesCheckoutSessionAutomaticTax",
"type": "object",
"x-expandableFields": []
"x-expandableFields": [
"liability"
]
},
"payment_pages_checkout_session_consent": {
"description": "",
Expand Down Expand Up @@ -29626,6 +29637,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 All @@ -29650,6 +29670,7 @@
"x-expandableFields": [
"account_tax_ids",
"custom_fields",
"issuer",
"rendering_options"
]
},
Expand Down Expand Up @@ -59685,6 +59706,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 @@ -60098,6 +60138,25 @@
"maxLength": 5000,
"type": "string"
},
"issuer": {
"properties": {
"account": {
"type": "string"
},
"type": {
"enum": [
"account",
"self"
],
"type": "string"
}
},
"required": [
"type"
],
"title": "param",
"type": "object"
},
"metadata": {
"additionalProperties": {
"type": "string"
Expand Down Expand Up @@ -61606,6 +61665,31 @@
"maxLength": 500,
"type": "string"
},
"invoice_settings": {
"properties": {
"issuer": {
"properties": {
"account": {
"type": "string"
},
"type": {
"enum": [
"account",
"self"
],
"type": "string"
}
},
"required": [
"type"
],
"title": "param",
"type": "object"
}
},
"title": "invoice_settings_params",
"type": "object"
},
"metadata": {
"additionalProperties": {
"type": "string"
Expand Down
98 changes: 97 additions & 1 deletion openapi/spec3.sdk.json
Expand Up @@ -35416,6 +35416,15 @@
"description": "Indicates whether automatic tax is enabled for the session",
"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 session.",
"enum": [
Expand All @@ -35429,11 +35438,14 @@
},
"required": [
"enabled",
"liability",
"status"
],
"title": "PaymentPagesCheckoutSessionAutomaticTax",
"type": "object",
"x-expandableFields": []
"x-expandableFields": [
"liability"
]
},
"payment_pages_checkout_session_consent": {
"description": "",
Expand Down Expand Up @@ -35940,6 +35952,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 All @@ -35964,6 +35985,7 @@
"custom_fields",
"description",
"footer",
"issuer",
"metadata",
"rendering_options"
],
Expand All @@ -35972,6 +35994,7 @@
"x-expandableFields": [
"account_tax_ids",
"custom_fields",
"issuer",
"rendering_options"
]
},
Expand Down Expand Up @@ -68110,6 +68133,28 @@
"enabled": {
"description": "Set to true to enable automatic taxes.",
"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 @@ -68564,6 +68609,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": {
"additionalProperties": {
"type": "string"
Expand Down Expand Up @@ -70242,6 +70309,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": "invoice_settings_params",
"type": "object"
},
"metadata": {
"additionalProperties": {
"type": "string"
Expand Down

0 comments on commit 46cf165

Please sign in to comment.