Skip to content

Commit

Permalink
OpenAPI Update (#629)
Browse files Browse the repository at this point in the history
Update OpenAPI for 46cf1657c0d28b706339ea4b138d11c0168041f1

Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
  • Loading branch information
stripe-openapi[bot] authored Jan 23, 2024
1 parent 9874b99 commit ccabe90
Show file tree
Hide file tree
Showing 2 changed files with 87 additions and 1 deletion.
2 changes: 2 additions & 0 deletions embedded/openapi/spec3.beta.sdk.json
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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

0 comments on commit ccabe90

Please sign in to comment.