Skip to content

Commit 387b886

Browse files
Update OpenAPI specification for beta
1 parent c738189 commit 387b886

2 files changed

Lines changed: 31 additions & 38 deletions

File tree

openapi/spec3.beta.sdk.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -130487,12 +130487,12 @@
130487130487
]
130488130488
},
130489130489
"price": {
130490-
"description": "The ID of the price object. One of `price` or `price_data` is required.",
130490+
"description": "The ID of the price object.",
130491130491
"maxLength": 5000,
130492130492
"type": "string"
130493130493
},
130494130494
"price_data": {
130495-
"description": "Data used to generate a new [Price](https://stripe.com/docs/api/prices) object inline. One of `price` or `price_data` is required.",
130495+
"description": "Data used to generate a new [Price](https://stripe.com/docs/api/prices) object inline.",
130496130496
"properties": {
130497130497
"currency": {
130498130498
"description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
@@ -130580,7 +130580,7 @@
130580130580
"type": "integer"
130581130581
},
130582130582
"unit_amount_decimal": {
130583-
"description": "Same as `unit_amount`, but accepts a decimal value in cents (or local equivalent) with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set.",
130583+
"description": "The decimal unit amount in cents (or local equivalent) of the charge to be applied to the upcoming invoice. This `unit_amount_decimal` will be multiplied by the quantity to get the full amount. Passing in a negative `unit_amount_decimal` will reduce the `amount_due` on the invoice. Accepts at most 12 decimal places.",
130584130584
"format": "decimal",
130585130585
"type": "string"
130586130586
}
@@ -130980,12 +130980,12 @@
130980130980
]
130981130981
},
130982130982
"price": {
130983-
"description": "The ID of the price object. One of `price` or `price_data` is required.",
130983+
"description": "The ID of the price object.",
130984130984
"maxLength": 5000,
130985130985
"type": "string"
130986130986
},
130987130987
"price_data": {
130988-
"description": "Data used to generate a new [Price](https://stripe.com/docs/api/prices) object inline. One of `price` or `price_data` is required.",
130988+
"description": "Data used to generate a new [Price](https://stripe.com/docs/api/prices) object inline.",
130989130989
"properties": {
130990130990
"currency": {
130991130991
"description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
@@ -131078,7 +131078,7 @@
131078131078
"type": "integer"
131079131079
},
131080131080
"unit_amount_decimal": {
131081-
"description": "Same as `unit_amount`, but accepts a decimal value in cents (or local equivalent) with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set.",
131081+
"description": "The decimal unit amount in cents (or local equivalent) of the charge to be applied to the upcoming invoice. This `unit_amount_decimal` will be multiplied by the quantity to get the full amount. Passing in a negative `unit_amount_decimal` will reduce the `amount_due` on the invoice. Accepts at most 12 decimal places.",
131082131082
"format": "decimal",
131083131083
"type": "string"
131084131084
}
@@ -145651,12 +145651,12 @@
145651145651
]
145652145652
},
145653145653
"price": {
145654-
"description": "The ID of the price object. One of `price` or `price_data` is required.",
145654+
"description": "The ID of the price object.",
145655145655
"maxLength": 5000,
145656145656
"type": "string"
145657145657
},
145658145658
"price_data": {
145659-
"description": "Data used to generate a new [Price](https://stripe.com/docs/api/prices) object inline. One of `price` or `price_data` is required.",
145659+
"description": "Data used to generate a new [Price](https://stripe.com/docs/api/prices) object inline.",
145660145660
"properties": {
145661145661
"currency": {
145662145662
"description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
@@ -146635,12 +146635,12 @@
146635146635
]
146636146636
},
146637146637
"price": {
146638-
"description": "The ID of the price object. One of `price` or `price_data` is required.",
146638+
"description": "The ID of the price object.",
146639146639
"maxLength": 5000,
146640146640
"type": "string"
146641146641
},
146642146642
"price_data": {
146643-
"description": "Data used to generate a new [Price](https://stripe.com/docs/api/prices) object inline. One of `price` or `price_data` is required.",
146643+
"description": "Data used to generate a new [Price](https://stripe.com/docs/api/prices) object inline.",
146644146644
"properties": {
146645146645
"currency": {
146646146646
"description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
@@ -147743,12 +147743,12 @@
147743147743
]
147744147744
},
147745147745
"price": {
147746-
"description": "The ID of the price object. One of `price` or `price_data` is required.",
147746+
"description": "The ID of the price object.",
147747147747
"maxLength": 5000,
147748147748
"type": "string"
147749147749
},
147750147750
"price_data": {
147751-
"description": "Data used to generate a new [Price](https://stripe.com/docs/api/prices) object inline. One of `price` or `price_data` is required.",
147751+
"description": "Data used to generate a new [Price](https://stripe.com/docs/api/prices) object inline.",
147752147752
"properties": {
147753147753
"currency": {
147754147754
"description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",

openapi/spec3.beta.sdk.yaml

Lines changed: 19 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -118204,16 +118204,13 @@ paths:
118204118204
- end
118205118205
- start
118206118206
price:
118207-
description: >-
118208-
The ID of the price object. One of `price` or `price_data`
118209-
is required.
118207+
description: The ID of the price object.
118210118208
maxLength: 5000
118211118209
type: string
118212118210
price_data:
118213118211
description: >-
118214118212
Data used to generate a new
118215118213
[Price](https://stripe.com/docs/api/prices) object inline.
118216-
One of `price` or `price_data` is required.
118217118214
properties:
118218118215
currency:
118219118216
description: >-
@@ -118319,9 +118316,12 @@ paths:
118319118316
type: integer
118320118317
unit_amount_decimal:
118321118318
description: >-
118322-
Same as `unit_amount`, but accepts a decimal value in cents
118323-
(or local equivalent) with at most 12 decimal places. Only
118324-
one of `unit_amount` and `unit_amount_decimal` can be set.
118319+
The decimal unit amount in cents (or local equivalent) of
118320+
the charge to be applied to the upcoming invoice. This
118321+
`unit_amount_decimal` will be multiplied by the quantity to
118322+
get the full amount. Passing in a negative
118323+
`unit_amount_decimal` will reduce the `amount_due` on the
118324+
invoice. Accepts at most 12 decimal places.
118325118325
format: decimal
118326118326
type: string
118327118327
required:
@@ -118652,16 +118652,13 @@ paths:
118652118652
- end
118653118653
- start
118654118654
price:
118655-
description: >-
118656-
The ID of the price object. One of `price` or `price_data`
118657-
is required.
118655+
description: The ID of the price object.
118658118656
maxLength: 5000
118659118657
type: string
118660118658
price_data:
118661118659
description: >-
118662118660
Data used to generate a new
118663118661
[Price](https://stripe.com/docs/api/prices) object inline.
118664-
One of `price` or `price_data` is required.
118665118662
properties:
118666118663
currency:
118667118664
description: >-
@@ -118761,9 +118758,12 @@ paths:
118761118758
type: integer
118762118759
unit_amount_decimal:
118763118760
description: >-
118764-
Same as `unit_amount`, but accepts a decimal value in cents
118765-
(or local equivalent) with at most 12 decimal places. Only
118766-
one of `unit_amount` and `unit_amount_decimal` can be set.
118761+
The decimal unit amount in cents (or local equivalent) of
118762+
the charge to be applied to the upcoming invoice. This
118763+
`unit_amount_decimal` will be multiplied by the quantity to
118764+
get the full amount. Passing in a negative
118765+
`unit_amount_decimal` will reduce the `amount_due` on the
118766+
invoice. Accepts at most 12 decimal places.
118767118767
format: decimal
118768118768
type: string
118769118769
type: object
@@ -133249,16 +133249,14 @@ paths:
133249133249
- end
133250133250
- start
133251133251
price:
133252-
description: >-
133253-
The ID of the price object. One of `price` or
133254-
`price_data` is required.
133252+
description: The ID of the price object.
133255133253
maxLength: 5000
133256133254
type: string
133257133255
price_data:
133258133256
description: >-
133259133257
Data used to generate a new
133260133258
[Price](https://stripe.com/docs/api/prices) object
133261-
inline. One of `price` or `price_data` is required.
133259+
inline.
133262133260
properties:
133263133261
currency:
133264133262
description: >-
@@ -134215,16 +134213,13 @@ paths:
134215134213
- end
134216134214
- start
134217134215
price:
134218-
description: >-
134219-
The ID of the price object. One of `price` or `price_data`
134220-
is required.
134216+
description: The ID of the price object.
134221134217
maxLength: 5000
134222134218
type: string
134223134219
price_data:
134224134220
description: >-
134225134221
Data used to generate a new
134226134222
[Price](https://stripe.com/docs/api/prices) object inline.
134227-
One of `price` or `price_data` is required.
134228134223
properties:
134229134224
currency:
134230134225
description: >-
@@ -135243,16 +135238,14 @@ paths:
135243135238
- end
135244135239
- start
135245135240
price:
135246-
description: >-
135247-
The ID of the price object. One of `price` or
135248-
`price_data` is required.
135241+
description: The ID of the price object.
135249135242
maxLength: 5000
135250135243
type: string
135251135244
price_data:
135252135245
description: >-
135253135246
Data used to generate a new
135254135247
[Price](https://stripe.com/docs/api/prices) object
135255-
inline. One of `price` or `price_data` is required.
135248+
inline.
135256135249
properties:
135257135250
currency:
135258135251
description: >-

0 commit comments

Comments
 (0)