Skip to content

Commit e97a957

Browse files
OpenAPI Update (#720)
Update OpenAPI for 138c8d24b790748bdcff373270c946463eb104f4 Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
1 parent 0e5b5a0 commit e97a957

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

embedded/openapi/spec3.beta.sdk.json

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15470,6 +15470,10 @@
1547015470
"entitlements.feature": {
1547115471
"description": "A feature represents a monetizable ability or functionality in your system.\nFeatures can be assigned to products, and when those products are purchased, Stripe will create an entitlement to the feature for the purchasing customer.",
1547215472
"properties": {
15473+
"active": {
15474+
"description": "Inactive features cannot be attached to new products and will not be returned from the features list endpoint.",
15475+
"type": "boolean"
15476+
},
1547315477
"id": {
1547415478
"description": "Unique identifier for the object.",
1547515479
"maxLength": 5000,
@@ -15498,6 +15502,7 @@
1549815502
}
1549915503
},
1550015504
"required": [
15505+
"active",
1550115506
"id",
1550215507
"livemode",
1550315508
"lookup_key",
@@ -103594,7 +103599,7 @@
103594103599
"type": "object"
103595103600
},
103596103601
"coupon": {
103597-
"description": "The code of the coupon to apply. If `subscription` or `subscription_items` is provided, the invoice returned will preview updating or creating a subscription with that coupon. Otherwise, it will preview applying that coupon to the customer for the next upcoming invoice from among the customer's subscriptions. The invoice can be previewed without a coupon by passing this value as an empty string.",
103602+
"description": "The identifier of the coupon to apply to this phase of the subscription schedule. This field has been deprecated and will be removed in a future API version. Use `discounts` instead.",
103598103603
"maxLength": 5000,
103599103604
"type": "string"
103600103605
},
@@ -103934,7 +103939,7 @@
103934103939
"type": "string"
103935103940
}
103936103941
],
103937-
"description": "The coupons to redeem into discounts for the invoice preview. If not specified, inherits the discount from the customer or subscription. This only works for coupons directly applied to the invoice. To apply a coupon to a subscription, you must use the `coupon` parameter instead. Pass an empty string to avoid inheriting any discounts. To preview the upcoming invoice for a subscription that hasn't been created, use `coupon` instead."
103942+
"description": "The coupons to redeem into discounts for the invoice preview. If not specified, inherits the discount from the customer or subscription. This works for both coupons directly applied to an invoice and coupons applied to a subscription. Pass an empty string to avoid inheriting any discounts."
103938103943
},
103939103944
"expand": {
103940103945
"description": "Specifies which fields in the response should be expanded.",
@@ -106805,7 +106810,7 @@
106805106810
"style": "deepObject"
106806106811
},
106807106812
{
106808-
"description": "The code of the coupon to apply. If `subscription` or `subscription_items` is provided, the invoice returned will preview updating or creating a subscription with that coupon. Otherwise, it will preview applying that coupon to the customer for the next upcoming invoice from among the customer's subscriptions. The invoice can be previewed without a coupon by passing this value as an empty string.",
106813+
"description": "The identifier of the coupon to apply to this phase of the subscription schedule. This field has been deprecated and will be removed in a future API version. Use `discounts` instead.",
106809106814
"in": "query",
106810106815
"name": "coupon",
106811106816
"required": false,
@@ -107090,7 +107095,7 @@
107090107095
"style": "deepObject"
107091107096
},
107092107097
{
107093-
"description": "The coupons to redeem into discounts for the invoice preview. If not specified, inherits the discount from the customer or subscription. This only works for coupons directly applied to the invoice. To apply a coupon to a subscription, you must use the `coupon` parameter instead. Pass an empty string to avoid inheriting any discounts. To preview the upcoming invoice for a subscription that hasn't been created, use `coupon` instead.",
107098+
"description": "The coupons to redeem into discounts for the invoice preview. If not specified, inherits the discount from the customer or subscription. This works for both coupons directly applied to an invoice and coupons applied to a subscription. Pass an empty string to avoid inheriting any discounts.",
107094107099
"explode": true,
107095107100
"in": "query",
107096107101
"name": "discounts",
@@ -110060,7 +110065,7 @@
110060110065
"style": "deepObject"
110061110066
},
110062110067
{
110063-
"description": "The code of the coupon to apply. If `subscription` or `subscription_items` is provided, the invoice returned will preview updating or creating a subscription with that coupon. Otherwise, it will preview applying that coupon to the customer for the next upcoming invoice from among the customer's subscriptions. The invoice can be previewed without a coupon by passing this value as an empty string.",
110068+
"description": "The identifier of the coupon to apply to this phase of the subscription schedule. This field has been deprecated and will be removed in a future API version. Use `discounts` instead.",
110064110069
"in": "query",
110065110070
"name": "coupon",
110066110071
"required": false,
@@ -110345,7 +110350,7 @@
110345110350
"style": "deepObject"
110346110351
},
110347110352
{
110348-
"description": "The coupons to redeem into discounts for the invoice preview. If not specified, inherits the discount from the customer or subscription. This only works for coupons directly applied to the invoice. To apply a coupon to a subscription, you must use the `coupon` parameter instead. Pass an empty string to avoid inheriting any discounts. To preview the upcoming invoice for a subscription that hasn't been created, use `coupon` instead.",
110353+
"description": "The coupons to redeem into discounts for the invoice preview. If not specified, inherits the discount from the customer or subscription. This works for both coupons directly applied to an invoice and coupons applied to a subscription. Pass an empty string to avoid inheriting any discounts.",
110349110354
"explode": true,
110350110355
"in": "query",
110351110356
"name": "discounts",

0 commit comments

Comments
 (0)