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 #629

Merged
merged 1 commit into from Jan 23, 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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 2 additions & 0 deletions embedded/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
86 changes: 85 additions & 1 deletion embedded/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