From b68f063c3383489159b01c91008065f728438bad Mon Sep 17 00:00:00 2001
From: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
Date: Fri, 2 Aug 2024 12:40:42 +0000
Subject: [PATCH] Update OpenAPI specification
---
openapi/spec3.beta.sdk.json | 75 +++++++++++++++++++++++++++++++++++++
openapi/spec3.beta.sdk.yaml | 52 +++++++++++++++++++++++++
openapi/spec3.json | 68 +++++++++++++++++++++++++++++++++
openapi/spec3.sdk.json | 75 +++++++++++++++++++++++++++++++++++++
openapi/spec3.sdk.yaml | 52 +++++++++++++++++++++++++
openapi/spec3.yaml | 47 +++++++++++++++++++++++
6 files changed, 369 insertions(+)
diff --git a/openapi/spec3.beta.sdk.json b/openapi/spec3.beta.sdk.json
index 2339825e..4391b459 100644
--- a/openapi/spec3.beta.sdk.json
+++ b/openapi/spec3.beta.sdk.json
@@ -63644,6 +63644,13 @@
],
"x-resourceId": "tax.calculation",
"x-stripeOperations": [
+ {
+ "method_name": "retrieve",
+ "method_on": "service",
+ "method_type": "retrieve",
+ "operation": "get",
+ "path": "/v1/tax/calculations/{calculation}"
+ },
{
"method_name": "list_line_items",
"method_on": "service",
@@ -190010,6 +190017,74 @@
}
}
},
+ "/v1/tax/calculations/{calculation}": {
+ "get": {
+ "description": "
Retrieves a Tax Calculation
object, if the calculation hasn’t expired.
",
+ "operationId": "GetTaxCalculationsCalculation",
+ "parameters": [
+ {
+ "in": "path",
+ "name": "calculation",
+ "required": true,
+ "schema": {
+ "maxLength": 5000,
+ "type": "string"
+ },
+ "style": "simple"
+ },
+ {
+ "description": "Specifies which fields in the response should be expanded.",
+ "explode": true,
+ "in": "query",
+ "name": "expand",
+ "required": false,
+ "schema": {
+ "items": {
+ "maxLength": 5000,
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "style": "deepObject"
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application/x-www-form-urlencoded": {
+ "encoding": {},
+ "schema": {
+ "additionalProperties": false,
+ "properties": {},
+ "type": "object"
+ }
+ }
+ },
+ "required": false
+ },
+ "responses": {
+ "200": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/tax.calculation"
+ }
+ }
+ },
+ "description": "Successful response."
+ },
+ "default": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/error"
+ }
+ }
+ },
+ "description": "Error response."
+ }
+ }
+ }
+ },
"/v1/tax/calculations/{calculation}/line_items": {
"get": {
"description": "Retrieves the line items of a tax calculation as a collection, if the calculation hasn’t expired.
",
diff --git a/openapi/spec3.beta.sdk.yaml b/openapi/spec3.beta.sdk.yaml
index f8c230b9..b3c53e56 100644
--- a/openapi/spec3.beta.sdk.yaml
+++ b/openapi/spec3.beta.sdk.yaml
@@ -58292,6 +58292,11 @@ components:
- tax_breakdown
x-resourceId: tax.calculation
x-stripeOperations:
+ - method_name: retrieve
+ method_on: service
+ method_type: retrieve
+ operation: get
+ path: '/v1/tax/calculations/{calculation}'
- method_name: list_line_items
method_on: service
method_type: custom
@@ -182288,6 +182293,53 @@ paths:
schema:
$ref: '#/components/schemas/error'
description: Error response.
+ '/v1/tax/calculations/{calculation}':
+ get:
+ description: >-
+ Retrieves a Tax Calculation
object, if the calculation
+ hasn’t expired.
+ operationId: GetTaxCalculationsCalculation
+ parameters:
+ - in: path
+ name: calculation
+ required: true
+ schema:
+ maxLength: 5000
+ type: string
+ style: simple
+ - description: Specifies which fields in the response should be expanded.
+ explode: true
+ in: query
+ name: expand
+ required: false
+ schema:
+ items:
+ maxLength: 5000
+ type: string
+ type: array
+ style: deepObject
+ requestBody:
+ content:
+ application/x-www-form-urlencoded:
+ encoding: {}
+ schema:
+ additionalProperties: false
+ properties: {}
+ type: object
+ required: false
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/tax.calculation'
+ description: Successful response.
+ default:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/error'
+ description: Error response.
'/v1/tax/calculations/{calculation}/line_items':
get:
description: >-
diff --git a/openapi/spec3.json b/openapi/spec3.json
index 1f6bf59d..7f059661 100644
--- a/openapi/spec3.json
+++ b/openapi/spec3.json
@@ -143562,6 +143562,74 @@
}
}
},
+ "/v1/tax/calculations/{calculation}": {
+ "get": {
+ "description": "Retrieves a Tax Calculation
object, if the calculation hasn’t expired.
",
+ "operationId": "GetTaxCalculationsCalculation",
+ "parameters": [
+ {
+ "in": "path",
+ "name": "calculation",
+ "required": true,
+ "schema": {
+ "maxLength": 5000,
+ "type": "string"
+ },
+ "style": "simple"
+ },
+ {
+ "description": "Specifies which fields in the response should be expanded.",
+ "explode": true,
+ "in": "query",
+ "name": "expand",
+ "required": false,
+ "schema": {
+ "items": {
+ "maxLength": 5000,
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "style": "deepObject"
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application/x-www-form-urlencoded": {
+ "encoding": {},
+ "schema": {
+ "additionalProperties": false,
+ "properties": {},
+ "type": "object"
+ }
+ }
+ },
+ "required": false
+ },
+ "responses": {
+ "200": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/tax.calculation"
+ }
+ }
+ },
+ "description": "Successful response."
+ },
+ "default": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/error"
+ }
+ }
+ },
+ "description": "Error response."
+ }
+ }
+ }
+ },
"/v1/tax/calculations/{calculation}/line_items": {
"get": {
"description": "Retrieves the line items of a tax calculation as a collection, if the calculation hasn’t expired.
",
diff --git a/openapi/spec3.sdk.json b/openapi/spec3.sdk.json
index f1dc28d1..c41c59cb 100644
--- a/openapi/spec3.sdk.json
+++ b/openapi/spec3.sdk.json
@@ -53959,6 +53959,13 @@
],
"x-resourceId": "tax.calculation",
"x-stripeOperations": [
+ {
+ "method_name": "retrieve",
+ "method_on": "service",
+ "method_type": "retrieve",
+ "operation": "get",
+ "path": "/v1/tax/calculations/{calculation}"
+ },
{
"method_name": "list_line_items",
"method_on": "service",
@@ -151802,6 +151809,74 @@
}
}
},
+ "/v1/tax/calculations/{calculation}": {
+ "get": {
+ "description": "Retrieves a Tax Calculation
object, if the calculation hasn’t expired.
",
+ "operationId": "GetTaxCalculationsCalculation",
+ "parameters": [
+ {
+ "in": "path",
+ "name": "calculation",
+ "required": true,
+ "schema": {
+ "maxLength": 5000,
+ "type": "string"
+ },
+ "style": "simple"
+ },
+ {
+ "description": "Specifies which fields in the response should be expanded.",
+ "explode": true,
+ "in": "query",
+ "name": "expand",
+ "required": false,
+ "schema": {
+ "items": {
+ "maxLength": 5000,
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "style": "deepObject"
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application/x-www-form-urlencoded": {
+ "encoding": {},
+ "schema": {
+ "additionalProperties": false,
+ "properties": {},
+ "type": "object"
+ }
+ }
+ },
+ "required": false
+ },
+ "responses": {
+ "200": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/tax.calculation"
+ }
+ }
+ },
+ "description": "Successful response."
+ },
+ "default": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/error"
+ }
+ }
+ },
+ "description": "Error response."
+ }
+ }
+ }
+ },
"/v1/tax/calculations/{calculation}/line_items": {
"get": {
"description": "Retrieves the line items of a tax calculation as a collection, if the calculation hasn’t expired.
",
diff --git a/openapi/spec3.sdk.yaml b/openapi/spec3.sdk.yaml
index 87ab5f24..9d89f892 100644
--- a/openapi/spec3.sdk.yaml
+++ b/openapi/spec3.sdk.yaml
@@ -49695,6 +49695,11 @@ components:
- tax_breakdown
x-resourceId: tax.calculation
x-stripeOperations:
+ - method_name: retrieve
+ method_on: service
+ method_type: retrieve
+ operation: get
+ path: '/v1/tax/calculations/{calculation}'
- method_name: list_line_items
method_on: service
method_type: custom
@@ -145761,6 +145766,53 @@ paths:
schema:
$ref: '#/components/schemas/error'
description: Error response.
+ '/v1/tax/calculations/{calculation}':
+ get:
+ description: >-
+ Retrieves a Tax Calculation
object, if the calculation
+ hasn’t expired.
+ operationId: GetTaxCalculationsCalculation
+ parameters:
+ - in: path
+ name: calculation
+ required: true
+ schema:
+ maxLength: 5000
+ type: string
+ style: simple
+ - description: Specifies which fields in the response should be expanded.
+ explode: true
+ in: query
+ name: expand
+ required: false
+ schema:
+ items:
+ maxLength: 5000
+ type: string
+ type: array
+ style: deepObject
+ requestBody:
+ content:
+ application/x-www-form-urlencoded:
+ encoding: {}
+ schema:
+ additionalProperties: false
+ properties: {}
+ type: object
+ required: false
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/tax.calculation'
+ description: Successful response.
+ default:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/error'
+ description: Error response.
'/v1/tax/calculations/{calculation}/line_items':
get:
description: >-
diff --git a/openapi/spec3.yaml b/openapi/spec3.yaml
index 801777c8..d51cd69c 100644
--- a/openapi/spec3.yaml
+++ b/openapi/spec3.yaml
@@ -121830,6 +121830,53 @@ paths:
schema:
$ref: '#/components/schemas/error'
description: Error response.
+ '/v1/tax/calculations/{calculation}':
+ get:
+ description: >-
+ Retrieves a Tax Calculation
object, if the calculation
+ hasn’t expired.
+ operationId: GetTaxCalculationsCalculation
+ parameters:
+ - in: path
+ name: calculation
+ required: true
+ schema:
+ maxLength: 5000
+ type: string
+ style: simple
+ - description: Specifies which fields in the response should be expanded.
+ explode: true
+ in: query
+ name: expand
+ required: false
+ schema:
+ items:
+ maxLength: 5000
+ type: string
+ type: array
+ style: deepObject
+ requestBody:
+ content:
+ application/x-www-form-urlencoded:
+ encoding: {}
+ schema:
+ additionalProperties: false
+ properties: {}
+ type: object
+ required: false
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/tax.calculation'
+ description: Successful response.
+ default:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/error'
+ description: Error response.
'/v1/tax/calculations/{calculation}/line_items':
get:
description: >-