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 26, 2024
1 parent 71da8a9 commit aa25c9b
Show file tree
Hide file tree
Showing 6 changed files with 239 additions and 143 deletions.
38 changes: 19 additions & 19 deletions openapi/spec3.beta.sdk.json
Original file line number Diff line number Diff line change
Expand Up @@ -58301,11 +58301,11 @@
"description": "",
"properties": {
"amount": {
"description": "The line item amount in integer cents. If `tax_behavior=inclusive`, then this amount includes taxes. Otherwise, taxes were calculated on top of this amount.",
"description": "The line item amount in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). If `tax_behavior=inclusive`, then this amount includes taxes. Otherwise, taxes were calculated on top of this amount.",
"type": "integer"
},
"amount_tax": {
"description": "The amount of tax calculated for this line item, in integer cents.",
"description": "The amount of tax calculated for this line item, in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal).",
"type": "integer"
},
"id": {
Expand Down Expand Up @@ -58922,11 +58922,11 @@
"description": "",
"properties": {
"amount": {
"description": "The line item amount in integer cents. If `tax_behavior=inclusive`, then this amount includes taxes. Otherwise, taxes were calculated on top of this amount.",
"description": "The line item amount in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). If `tax_behavior=inclusive`, then this amount includes taxes. Otherwise, taxes were calculated on top of this amount.",
"type": "integer"
},
"amount_tax": {
"description": "The amount of tax calculated for this line item, in integer cents.",
"description": "The amount of tax calculated for this line item, in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal).",
"type": "integer"
},
"id": {
Expand Down Expand Up @@ -59970,7 +59970,7 @@
"description": "",
"properties": {
"amount": {
"description": "The amount of tax, in integer cents.",
"description": "The amount of tax, in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal).",
"type": "integer"
},
"jurisdiction": {
Expand Down Expand Up @@ -60015,7 +60015,7 @@
"type": "string"
},
"taxable_amount": {
"description": "The amount on which tax is calculated, in integer cents.",
"description": "The amount on which tax is calculated, in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal).",
"type": "integer"
}
},
Expand Down Expand Up @@ -60146,7 +60146,7 @@
"description": "",
"properties": {
"amount": {
"description": "The amount of tax, in integer cents.",
"description": "The amount of tax, in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal).",
"type": "integer"
},
"inclusive": {
Expand Down Expand Up @@ -60178,7 +60178,7 @@
"type": "string"
},
"taxable_amount": {
"description": "The amount on which tax is calculated, in integer cents.",
"description": "The amount on which tax is calculated, in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal).",
"type": "integer"
}
},
Expand All @@ -60199,11 +60199,11 @@
"description": "",
"properties": {
"amount": {
"description": "The shipping amount in integer cents. If `tax_behavior=inclusive`, then this amount includes taxes. Otherwise, taxes were calculated on top of this amount.",
"description": "The shipping amount in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). If `tax_behavior=inclusive`, then this amount includes taxes. Otherwise, taxes were calculated on top of this amount.",
"type": "integer"
},
"amount_tax": {
"description": "The amount of tax calculated for shipping, in integer cents.",
"description": "The amount of tax calculated for shipping, in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal).",
"type": "integer"
},
"shipping_rate": {
Expand Down Expand Up @@ -60419,11 +60419,11 @@
"description": "",
"properties": {
"amount": {
"description": "The shipping amount in integer cents. If `tax_behavior=inclusive`, then this amount includes taxes. Otherwise, taxes were calculated on top of this amount.",
"description": "The shipping amount in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). If `tax_behavior=inclusive`, then this amount includes taxes. Otherwise, taxes were calculated on top of this amount.",
"type": "integer"
},
"amount_tax": {
"description": "The amount of tax calculated for shipping, in integer cents.",
"description": "The amount of tax calculated for shipping, in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal).",
"type": "integer"
},
"shipping_rate": {
Expand Down Expand Up @@ -174914,7 +174914,7 @@
"items": {
"properties": {
"amount": {
"description": "A positive integer in cents representing the line item's total price. If `tax_behavior=inclusive`, then this amount includes taxes. Otherwise, taxes are calculated on top of this amount.",
"description": "A positive integer in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal) representing the line item's total price. If `tax_behavior=inclusive`, then this amount includes taxes. Otherwise, taxes are calculated on top of this amount.",
"type": "integer"
},
"product": {
Expand Down Expand Up @@ -175056,7 +175056,7 @@
"description": "Shipping cost details to be used for the calculation.",
"properties": {
"amount": {
"description": "A positive integer in cents representing the shipping charge. If `tax_behavior=inclusive`, then this amount includes taxes. Otherwise, taxes are calculated on top of this amount.",
"description": "A positive integer in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal) representing the shipping charge. If `tax_behavior=inclusive`, then this amount includes taxes. Otherwise, taxes are calculated on top of this amount.",
"type": "integer"
},
"shipping_rate": {
Expand Down Expand Up @@ -177744,19 +177744,19 @@
"type": "array"
},
"flat_amount": {
"description": "A flat amount to reverse across the entire transaction, in negative integer cents. This value represents the total amount to refund from the transaction, including taxes.",
"description": "A flat amount to reverse across the entire transaction, in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal) in negative. This value represents the total amount to refund from the transaction, including taxes.",
"type": "integer"
},
"line_items": {
"description": "The line item amounts to reverse.",
"items": {
"properties": {
"amount": {
"description": "The amount to reverse, in negative integer cents.",
"description": "The amount to reverse, in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal) in negative.",
"type": "integer"
},
"amount_tax": {
"description": "The amount of tax to reverse, in negative integer cents.",
"description": "The amount of tax to reverse, in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal) in negative.",
"type": "integer"
},
"metadata": {
Expand Down Expand Up @@ -177821,11 +177821,11 @@
"description": "The shipping cost to reverse.",
"properties": {
"amount": {
"description": "The amount to reverse, in negative integer cents.",
"description": "The amount to reverse, in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal) in negative.",
"type": "integer"
},
"amount_tax": {
"description": "The amount of tax to reverse, in negative integer cents.",
"description": "The amount of tax to reverse, in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal) in negative.",
"type": "integer"
}
},
Expand Down
107 changes: 72 additions & 35 deletions openapi/spec3.beta.sdk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52734,12 +52734,15 @@ components:
properties:
amount:
description: >-
The line item amount in integer cents. If `tax_behavior=inclusive`,
then this amount includes taxes. Otherwise, taxes were calculated on
top of this amount.
The line item amount in the [smallest currency
unit](https://stripe.com/docs/currencies#zero-decimal). If
`tax_behavior=inclusive`, then this amount includes taxes.
Otherwise, taxes were calculated on top of this amount.
type: integer
amount_tax:
description: 'The amount of tax calculated for this line item, in integer cents.'
description: >-
The amount of tax calculated for this line item, in the [smallest
currency unit](https://stripe.com/docs/currencies#zero-decimal).
type: integer
id:
description: Unique identifier for the object.
Expand Down Expand Up @@ -53302,12 +53305,15 @@ components:
properties:
amount:
description: >-
The line item amount in integer cents. If `tax_behavior=inclusive`,
then this amount includes taxes. Otherwise, taxes were calculated on
top of this amount.
The line item amount in the [smallest currency
unit](https://stripe.com/docs/currencies#zero-decimal). If
`tax_behavior=inclusive`, then this amount includes taxes.
Otherwise, taxes were calculated on top of this amount.
type: integer
amount_tax:
description: 'The amount of tax calculated for this line item, in integer cents.'
description: >-
The amount of tax calculated for this line item, in the [smallest
currency unit](https://stripe.com/docs/currencies#zero-decimal).
type: integer
id:
description: Unique identifier for the object.
Expand Down Expand Up @@ -54263,7 +54269,9 @@ components:
description: ''
properties:
amount:
description: 'The amount of tax, in integer cents.'
description: >-
The amount of tax, in the [smallest currency
unit](https://stripe.com/docs/currencies#zero-decimal).
type: integer
jurisdiction:
$ref: '#/components/schemas/tax_product_resource_jurisdiction'
Expand Down Expand Up @@ -54307,7 +54315,9 @@ components:
- zero_rated
type: string
taxable_amount:
description: 'The amount on which tax is calculated, in integer cents.'
description: >-
The amount on which tax is calculated, in the [smallest currency
unit](https://stripe.com/docs/currencies#zero-decimal).
type: integer
required:
- amount
Expand Down Expand Up @@ -54422,7 +54432,9 @@ components:
description: ''
properties:
amount:
description: 'The amount of tax, in integer cents.'
description: >-
The amount of tax, in the [smallest currency
unit](https://stripe.com/docs/currencies#zero-decimal).
type: integer
inclusive:
description: >-
Expand Down Expand Up @@ -54454,7 +54466,9 @@ components:
- zero_rated
type: string
taxable_amount:
description: 'The amount on which tax is calculated, in integer cents.'
description: >-
The amount on which tax is calculated, in the [smallest currency
unit](https://stripe.com/docs/currencies#zero-decimal).
type: integer
required:
- amount
Expand All @@ -54471,12 +54485,15 @@ components:
properties:
amount:
description: >-
The shipping amount in integer cents. If `tax_behavior=inclusive`,
then this amount includes taxes. Otherwise, taxes were calculated on
top of this amount.
The shipping amount in the [smallest currency
unit](https://stripe.com/docs/currencies#zero-decimal). If
`tax_behavior=inclusive`, then this amount includes taxes.
Otherwise, taxes were calculated on top of this amount.
type: integer
amount_tax:
description: 'The amount of tax calculated for shipping, in integer cents.'
description: >-
The amount of tax calculated for shipping, in the [smallest currency
unit](https://stripe.com/docs/currencies#zero-decimal).
type: integer
shipping_rate:
description: >-
Expand Down Expand Up @@ -54668,12 +54685,15 @@ components:
properties:
amount:
description: >-
The shipping amount in integer cents. If `tax_behavior=inclusive`,
then this amount includes taxes. Otherwise, taxes were calculated on
top of this amount.
The shipping amount in the [smallest currency
unit](https://stripe.com/docs/currencies#zero-decimal). If
`tax_behavior=inclusive`, then this amount includes taxes.
Otherwise, taxes were calculated on top of this amount.
type: integer
amount_tax:
description: 'The amount of tax calculated for shipping, in integer cents.'
description: >-
The amount of tax calculated for shipping, in the [smallest currency
unit](https://stripe.com/docs/currencies#zero-decimal).
type: integer
shipping_rate:
description: >-
Expand Down Expand Up @@ -165597,10 +165617,12 @@ paths:
properties:
amount:
description: >-
A positive integer in cents representing the line
item's total price. If `tax_behavior=inclusive`, then
this amount includes taxes. Otherwise, taxes are
calculated on top of this amount.
A positive integer in the [smallest currency
unit](https://stripe.com/docs/currencies#zero-decimal)
representing the line item's total price. If
`tax_behavior=inclusive`, then this amount includes
taxes. Otherwise, taxes are calculated on top of this
amount.
type: integer
product:
description: >-
Expand Down Expand Up @@ -165720,10 +165742,12 @@ paths:
properties:
amount:
description: >-
A positive integer in cents representing the shipping
charge. If `tax_behavior=inclusive`, then this amount
includes taxes. Otherwise, taxes are calculated on top
of this amount.
A positive integer in the [smallest currency
unit](https://stripe.com/docs/currencies#zero-decimal)
representing the shipping charge. If
`tax_behavior=inclusive`, then this amount includes
taxes. Otherwise, taxes are calculated on top of this
amount.
type: integer
shipping_rate:
description: >-
Expand Down Expand Up @@ -167830,20 +167854,27 @@ paths:
flat_amount:
description: >-
A flat amount to reverse across the entire transaction, in
negative integer cents. This value represents the total
amount to refund from the transaction, including taxes.
the [smallest currency
unit](https://stripe.com/docs/currencies#zero-decimal) in
negative. This value represents the total amount to refund
from the transaction, including taxes.
type: integer
line_items:
description: The line item amounts to reverse.
items:
properties:
amount:
description: 'The amount to reverse, in negative integer cents.'
description: >-
The amount to reverse, in the [smallest currency
unit](https://stripe.com/docs/currencies#zero-decimal)
in negative.
type: integer
amount_tax:
description: >-
The amount of tax to reverse, in negative integer
cents.
The amount of tax to reverse, in the [smallest
currency
unit](https://stripe.com/docs/currencies#zero-decimal)
in negative.
type: integer
metadata:
additionalProperties:
Expand Down Expand Up @@ -167919,10 +167950,16 @@ paths:
description: The shipping cost to reverse.
properties:
amount:
description: 'The amount to reverse, in negative integer cents.'
description: >-
The amount to reverse, in the [smallest currency
unit](https://stripe.com/docs/currencies#zero-decimal)
in negative.
type: integer
amount_tax:
description: 'The amount of tax to reverse, in negative integer cents.'
description: >-
The amount of tax to reverse, in the [smallest currency
unit](https://stripe.com/docs/currencies#zero-decimal)
in negative.
type: integer
required:
- amount
Expand Down
Loading

0 comments on commit aa25c9b

Please sign in to comment.