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 Mar 30, 2023
1 parent f70bd81 commit c86f8a7
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 459 deletions.
87 changes: 0 additions & 87 deletions openapi/spec3.beta.sdk.json
Original file line number Diff line number Diff line change
Expand Up @@ -49193,13 +49193,6 @@
"operation": "post",
"path": "/v1/tax/transactions/create_reversal"
},
{
"method_name": "create",
"method_on": "service",
"method_type": "create",
"operation": "post",
"path": "/v1/tax/transactions"
},
{
"method_name": "create_from_calculation",
"method_on": "service",
Expand Down Expand Up @@ -138429,86 +138422,6 @@
}
}
},
"/v1/tax/transactions": {
"post": {
"description": "<p>Creates a Tax <code>Transaction</code> from a calculation.</p>",
"operationId": "PostTaxTransactions",
"requestBody": {
"content": {
"application/x-www-form-urlencoded": {
"encoding": {
"expand": {
"explode": true,
"style": "deepObject"
},
"metadata": {
"explode": true,
"style": "deepObject"
}
},
"schema": {
"additionalProperties": false,
"properties": {
"expand": {
"description": "Specifies which fields in the response should be expanded.",
"items": {
"maxLength": 5000,
"type": "string"
},
"type": "array"
},
"from_calculation": {
"description": "Tax Calculation ID to be used as input when creating the transaction.",
"maxLength": 5000,
"type": "string"
},
"metadata": {
"additionalProperties": {
"type": "string"
},
"description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.",
"type": "object"
},
"reference": {
"description": "A custom order or sale identifier, such as 'myOrder_123'. Must be unique across all transactions including reversals.",
"maxLength": 500,
"type": "string"
}
},
"required": [
"from_calculation",
"reference"
],
"type": "object"
}
}
},
"required": true
},
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/tax.transaction"
}
}
},
"description": "Successful response."
},
"default": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error"
}
}
},
"description": "Error response."
}
}
}
},
"/v1/tax/transactions/create_from_calculation": {
"post": {
"description": "<p>Creates a Tax <code>Transaction</code> from a calculation.</p>",
Expand Down
70 changes: 0 additions & 70 deletions openapi/spec3.beta.sdk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44487,11 +44487,6 @@ components:
method_type: custom
operation: post
path: /v1/tax/transactions/create_reversal
- method_name: create
method_on: service
method_type: create
operation: post
path: /v1/tax/transactions
- method_name: create_from_calculation
method_on: service
method_type: custom
Expand Down Expand Up @@ -130842,71 +130837,6 @@ paths:
schema:
$ref: '#/components/schemas/error'
description: Error response.
/v1/tax/transactions:
post:
description: <p>Creates a Tax <code>Transaction</code> from a calculation.</p>
operationId: PostTaxTransactions
requestBody:
content:
application/x-www-form-urlencoded:
encoding:
expand:
explode: true
style: deepObject
metadata:
explode: true
style: deepObject
schema:
additionalProperties: false
properties:
expand:
description: Specifies which fields in the response should be expanded.
items:
maxLength: 5000
type: string
type: array
from_calculation:
description: >-
Tax Calculation ID to be used as input when creating the
transaction.
maxLength: 5000
type: string
metadata:
additionalProperties:
type: string
description: >-
Set of [key-value
pairs](https://stripe.com/docs/api/metadata) that you can
attach to an object. This can be useful for storing
additional information about the object in a structured
format. Individual keys can be unset by posting an empty
value to them. All keys can be unset by posting an empty
value to `metadata`.
type: object
reference:
description: >-
A custom order or sale identifier, such as 'myOrder_123'.
Must be unique across all transactions including reversals.
maxLength: 500
type: string
required:
- from_calculation
- reference
type: object
required: true
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/tax.transaction'
description: Successful response.
default:
content:
application/json:
schema:
$ref: '#/components/schemas/error'
description: Error response.
/v1/tax/transactions/create_from_calculation:
post:
description: <p>Creates a Tax <code>Transaction</code> from a calculation.</p>
Expand Down
80 changes: 0 additions & 80 deletions openapi/spec3.json
Original file line number Diff line number Diff line change
Expand Up @@ -112887,86 +112887,6 @@
}
}
},
"/v1/tax/transactions": {
"post": {
"description": "<p>Creates a Tax <code>Transaction</code> from a calculation.</p>",
"operationId": "PostTaxTransactions",
"requestBody": {
"content": {
"application/x-www-form-urlencoded": {
"encoding": {
"expand": {
"explode": true,
"style": "deepObject"
},
"metadata": {
"explode": true,
"style": "deepObject"
}
},
"schema": {
"additionalProperties": false,
"properties": {
"expand": {
"description": "Specifies which fields in the response should be expanded.",
"items": {
"maxLength": 5000,
"type": "string"
},
"type": "array"
},
"from_calculation": {
"description": "Tax Calculation ID to be used as input when creating the transaction.",
"maxLength": 5000,
"type": "string"
},
"metadata": {
"additionalProperties": {
"type": "string"
},
"description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.",
"type": "object"
},
"reference": {
"description": "A custom order or sale identifier, such as 'myOrder_123'. Must be unique across all transactions including reversals.",
"maxLength": 500,
"type": "string"
}
},
"required": [
"from_calculation",
"reference"
],
"type": "object"
}
}
},
"required": true
},
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/tax.transaction"
}
}
},
"description": "Successful response."
},
"default": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error"
}
}
},
"description": "Error response."
}
}
}
},
"/v1/tax/transactions/create_from_calculation": {
"post": {
"description": "<p>Creates a Tax <code>Transaction</code> from a calculation.</p>",
Expand Down
87 changes: 0 additions & 87 deletions openapi/spec3.sdk.json
Original file line number Diff line number Diff line change
Expand Up @@ -43338,13 +43338,6 @@
"operation": "post",
"path": "/v1/tax/transactions/create_reversal"
},
{
"method_name": "create",
"method_on": "service",
"method_type": "create",
"operation": "post",
"path": "/v1/tax/transactions"
},
{
"method_name": "create_from_calculation",
"method_on": "service",
Expand Down Expand Up @@ -117569,86 +117562,6 @@
}
}
},
"/v1/tax/transactions": {
"post": {
"description": "<p>Creates a Tax <code>Transaction</code> from a calculation.</p>",
"operationId": "PostTaxTransactions",
"requestBody": {
"content": {
"application/x-www-form-urlencoded": {
"encoding": {
"expand": {
"explode": true,
"style": "deepObject"
},
"metadata": {
"explode": true,
"style": "deepObject"
}
},
"schema": {
"additionalProperties": false,
"properties": {
"expand": {
"description": "Specifies which fields in the response should be expanded.",
"items": {
"maxLength": 5000,
"type": "string"
},
"type": "array"
},
"from_calculation": {
"description": "Tax Calculation ID to be used as input when creating the transaction.",
"maxLength": 5000,
"type": "string"
},
"metadata": {
"additionalProperties": {
"type": "string"
},
"description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.",
"type": "object"
},
"reference": {
"description": "A custom order or sale identifier, such as 'myOrder_123'. Must be unique across all transactions including reversals.",
"maxLength": 500,
"type": "string"
}
},
"required": [
"from_calculation",
"reference"
],
"type": "object"
}
}
},
"required": true
},
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/tax.transaction"
}
}
},
"description": "Successful response."
},
"default": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error"
}
}
},
"description": "Error response."
}
}
}
},
"/v1/tax/transactions/create_from_calculation": {
"post": {
"description": "<p>Creates a Tax <code>Transaction</code> from a calculation.</p>",
Expand Down
Loading

0 comments on commit c86f8a7

Please sign in to comment.