Skip to content

Commit

Permalink
Update OpenAPI for 4e157622395a89f74e24ab79bd0de253f8c28ecf
Browse files Browse the repository at this point in the history
  • Loading branch information
stripe-openapi[bot] committed Jan 14, 2025
1 parent baf9fd6 commit 8196403
Showing 1 changed file with 68 additions and 0 deletions.
68 changes: 68 additions & 0 deletions embedded/openapi/spec3.beta.sdk.json
Original file line number Diff line number Diff line change
Expand Up @@ -9909,6 +9909,14 @@
"nullable": true,
"type": "string"
},
"discounts": {
"description": "List of coupons and promotion codes attached to the Checkout Session.",
"items": {
"$ref": "#/components/schemas/payment_pages_checkout_session_discount"
},
"nullable": true,
"type": "array"
},
"expires_at": {
"description": "The timestamp at which the Checkout Session will expire.",
"format": "unix-time",
Expand Down Expand Up @@ -10395,6 +10403,7 @@
"custom_text",
"customer",
"customer_details",
"discounts",
"invoice",
"invoice_creation",
"line_items",
Expand Down Expand Up @@ -56615,6 +56624,65 @@
"tax_ids"
]
},
"payment_pages_checkout_session_discount": {
"description": "",
"properties": {
"coupon": {
"anyOf": [
{
"maxLength": 5000,
"type": "string"
},
{
"$ref": "#/components/schemas/coupon"
}
],
"description": "Coupon attached to the Checkout Session.",
"nullable": true,
"x-expansionResources": {
"oneOf": [
{
"$ref": "#/components/schemas/coupon"
}
]
}
},
"promotion_code": {
"anyOf": [
{
"maxLength": 5000,
"type": "string"
},
{
"$ref": "#/components/schemas/promotion_code"
}
],
"description": "Promotion code attached to the Checkout Session.",
"nullable": true,
"x-expansionResources": {
"oneOf": [
{
"$ref": "#/components/schemas/promotion_code"
}
]
}
}
},
"required": [
"coupon",
"promotion_code"
],
"title": "PaymentPagesCheckoutSessionDiscount",
"type": "object",
"x-expandableFields": [
"coupon",
"promotion_code"
],
"x-stripeMostCommon": [
"coupon",
"promotion_code"
]
},
"payment_pages_checkout_session_invoice_creation": {
"description": "",
"properties": {
Expand Down

0 comments on commit 8196403

Please sign in to comment.