Skip to content

Commit

Permalink
OpenAPI Update (#720)
Browse files Browse the repository at this point in the history
Update OpenAPI for 138c8d24b790748bdcff373270c946463eb104f4

Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
  • Loading branch information
stripe-openapi[bot] committed Mar 20, 2024
1 parent 0e5b5a0 commit e97a957
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions embedded/openapi/spec3.beta.sdk.json
Original file line number Diff line number Diff line change
Expand Up @@ -15470,6 +15470,10 @@
"entitlements.feature": {
"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.",
"properties": {
"active": {
"description": "Inactive features cannot be attached to new products and will not be returned from the features list endpoint.",
"type": "boolean"
},
"id": {
"description": "Unique identifier for the object.",
"maxLength": 5000,
Expand Down Expand Up @@ -15498,6 +15502,7 @@
}
},
"required": [
"active",
"id",
"livemode",
"lookup_key",
Expand Down Expand Up @@ -103594,7 +103599,7 @@
"type": "object"
},
"coupon": {
"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.",
"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.",
"maxLength": 5000,
"type": "string"
},
Expand Down Expand Up @@ -103934,7 +103939,7 @@
"type": "string"
}
],
"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."
"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."
},
"expand": {
"description": "Specifies which fields in the response should be expanded.",
Expand Down Expand Up @@ -106805,7 +106810,7 @@
"style": "deepObject"
},
{
"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.",
"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.",
"in": "query",
"name": "coupon",
"required": false,
Expand Down Expand Up @@ -107090,7 +107095,7 @@
"style": "deepObject"
},
{
"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.",
"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.",
"explode": true,
"in": "query",
"name": "discounts",
Expand Down Expand Up @@ -110060,7 +110065,7 @@
"style": "deepObject"
},
{
"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.",
"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.",
"in": "query",
"name": "coupon",
"required": false,
Expand Down Expand Up @@ -110345,7 +110350,7 @@
"style": "deepObject"
},
{
"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.",
"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.",
"explode": true,
"in": "query",
"name": "discounts",
Expand Down

0 comments on commit e97a957

Please sign in to comment.