Skip to content

Commit

Permalink
OpenAPI Update (#527)
Browse files Browse the repository at this point in the history
Update OpenAPI for 3b1fdf1b13c22bf993971533612ff498a93674d6

Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
  • Loading branch information
stripe-openapi[bot] committed Nov 15, 2023
1 parent d956016 commit 604fde7
Showing 1 changed file with 187 additions and 0 deletions.
187 changes: 187 additions & 0 deletions embedded/openapi/spec3.beta.sdk.json
Original file line number Diff line number Diff line change
Expand Up @@ -11956,6 +11956,9 @@
"maxLength": 5000,
"type": "string"
},
"components": {
"$ref": "#/components/schemas/customer_session_resource_components"
},
"customer": {
"anyOf": [
{
Expand Down Expand Up @@ -12002,6 +12005,7 @@
"title": "CustomerSessionResourceCustomerSession",
"type": "object",
"x-expandableFields": [
"components",
"customer"
],
"x-resourceId": "customer_session",
Expand All @@ -12019,6 +12023,118 @@
"in_package": ""
}
},
"customer_session_resource_components": {
"description": "Configuration for the components supported by this customer session.",
"properties": {
"payment_element": {
"$ref": "#/components/schemas/customer_session_resource_components_resource_payment_element"
},
"pricing_table": {
"$ref": "#/components/schemas/customer_session_resource_components_resource_pricing_table"
}
},
"title": "CustomerSessionResourceComponents",
"type": "object",
"x-expandableFields": [
"payment_element",
"pricing_table"
],
"x-stripeResource": {
"class_name": "Components",
"in_package": ""
}
},
"customer_session_resource_components_resource_payment_element": {
"description": "This hash contains whether the payment element is enabled and the features it supports.",
"properties": {
"enabled": {
"description": "Whether the payment element is enabled.",
"type": "boolean"
},
"features": {
"anyOf": [
{
"$ref": "#/components/schemas/customer_session_resource_components_resource_payment_element_resource_features"
}
],
"description": "This hash contains the features the Payment Element supports.",
"nullable": true
}
},
"required": [
"enabled",
"features"
],
"title": "CustomerSessionResourceComponentsResourcePaymentElement",
"type": "object",
"x-expandableFields": [
"features"
],
"x-stripeResource": {
"class_name": "PaymentElement",
"in_package": ""
}
},
"customer_session_resource_components_resource_payment_element_resource_features": {
"description": "This hash contains the features the Payment Element supports.",
"properties": {
"payment_method_detach": {
"description": "Whether the payment element supports detaching payment methods.",
"enum": [
"auto",
"never"
],
"type": "string"
},
"payment_method_set_as_customer_default": {
"description": "Whether the payment element supports setting payment methods as the customer's default.",
"enum": [
"auto",
"never"
],
"type": "string"
},
"payment_method_update": {
"description": "Whether the payment element supports updating payment methods.",
"enum": [
"auto",
"never"
],
"type": "string"
}
},
"required": [
"payment_method_detach",
"payment_method_set_as_customer_default",
"payment_method_update"
],
"title": "CustomerSessionResourceComponentsResourcePaymentElementResourceFeatures",
"type": "object",
"x-expandableFields": [],
"x-stripeResource": {
"class_name": "Features",
"in_package": ""
}
},
"customer_session_resource_components_resource_pricing_table": {
"description": "This hash contains whether the pricing table is enabled.",
"properties": {
"enabled": {
"description": "Whether the pricing table is enabled.",
"type": "boolean"
}
},
"required": [
"enabled"
],
"title": "CustomerSessionResourceComponentsResourcePricingTable",
"type": "object",
"x-expandableFields": [],
"x-stripeResource": {
"class_name": "PricingTable",
"in_package": ""
}
},
"customer_tax": {
"description": "",
"properties": {
Expand Down Expand Up @@ -86740,6 +86856,10 @@
"content": {
"application/x-www-form-urlencoded": {
"encoding": {
"components": {
"explode": true,
"style": "deepObject"
},
"expand": {
"explode": true,
"style": "deepObject"
Expand All @@ -86748,6 +86868,72 @@
"schema": {
"additionalProperties": false,
"properties": {
"components": {
"description": "Configuration for each component.",
"properties": {
"payment_element": {
"description": "Configuration for the payment element.",
"properties": {
"enabled": {
"description": "Whether the payment element is enabled.",
"type": "boolean"
},
"features": {
"description": "This hash defines whether the payment element supports certain features.",
"properties": {
"payment_method_detach": {
"description": "Whether the payment element supports detaching a payment method.",
"enum": [
"auto",
"never"
],
"type": "string"
},
"payment_method_set_as_customer_default": {
"description": "Whether the payment element supports setting a payment method as the customer's default.",
"enum": [
"auto",
"never"
],
"type": "string"
},
"payment_method_update": {
"description": "Whether the payment element supports updating a payment method.",
"enum": [
"auto",
"never"
],
"type": "string"
}
},
"title": "features_param",
"type": "object"
}
},
"required": [
"enabled"
],
"title": "payment_element_param",
"type": "object"
},
"pricing_table": {
"description": "Configuration for the pricing table.",
"properties": {
"enabled": {
"description": "Whether pricing table is enabled.",
"type": "boolean"
}
},
"required": [
"enabled"
],
"title": "pricing_table_param",
"type": "object"
}
},
"title": "components",
"type": "object"
},
"customer": {
"description": "The ID of an existing customer for which to create the customer session.",
"maxLength": 5000,
Expand All @@ -86763,6 +86949,7 @@
}
},
"required": [
"components",
"customer"
],
"type": "object"
Expand Down

0 comments on commit 604fde7

Please sign in to comment.