From 273cfabfaad5b89d3073014ae0d308a76e68f594 Mon Sep 17 00:00:00 2001 From: "stripe-openapi[bot]" <105521251+stripe-openapi[bot]@users.noreply.github.com> Date: Fri, 26 Jan 2024 11:52:03 +0000 Subject: [PATCH] OpenAPI Update (#634) Update OpenAPI for aa25c9bbae379d1b522ec1b6912284b68c10552f Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> --- embedded/openapi/spec3.beta.sdk.json | 38 ++++++++++++++-------------- embedded/openapi/spec3.json | 26 +++++++++---------- 2 files changed, 32 insertions(+), 32 deletions(-) diff --git a/embedded/openapi/spec3.beta.sdk.json b/embedded/openapi/spec3.beta.sdk.json index 14c9933a..541b54a2 100644 --- a/embedded/openapi/spec3.beta.sdk.json +++ b/embedded/openapi/spec3.beta.sdk.json @@ -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": { @@ -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": { @@ -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": { @@ -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" } }, @@ -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": { @@ -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" } }, @@ -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": { @@ -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": { @@ -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": { @@ -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": { @@ -177744,7 +177744,7 @@ "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": { @@ -177752,11 +177752,11 @@ "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": { @@ -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" } }, diff --git a/embedded/openapi/spec3.json b/embedded/openapi/spec3.json index b6906233..111d745a 100644 --- a/embedded/openapi/spec3.json +++ b/embedded/openapi/spec3.json @@ -39894,11 +39894,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": { @@ -40246,11 +40246,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": { @@ -41193,7 +41193,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": { @@ -41238,7 +41238,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" } }, @@ -41347,7 +41347,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": { @@ -41379,7 +41379,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" } }, @@ -41400,11 +41400,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": { @@ -41607,11 +41607,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": { @@ -130727,7 +130727,7 @@ "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": {