Skip to content

Commit

Permalink
OpenAPI Update (#849)
Browse files Browse the repository at this point in the history
Update OpenAPI for 8de9a0b48e268906ce34441b36ab751b1e43b298

Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
  • Loading branch information
stripe-openapi[bot] authored Jun 4, 2024
1 parent 374e4e9 commit ce9aa16
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 106 deletions.
58 changes: 3 additions & 55 deletions embedded/openapi/spec3.beta.sdk.json
Original file line number Diff line number Diff line change
Expand Up @@ -3600,9 +3600,6 @@
{
"$ref": "#/components/schemas/payout"
},
{
"$ref": "#/components/schemas/platform_tax_fee"
},
{
"$ref": "#/components/schemas/refund"
},
Expand Down Expand Up @@ -7655,7 +7652,7 @@
"$ref": "#/components/schemas/payment_intent"
}
],
"description": "The ID of the PaymentIntent for Checkout Sessions in `payment` mode.",
"description": "The ID of the PaymentIntent for Checkout Sessions in `payment` mode. You can't confirm or cancel the PaymentIntent for a Checkout Session. To cancel, [expire the Checkout Session](https://stripe.com/docs/api/checkout/sessions/expire) instead.",
"nullable": true,
"x-expansionResources": {
"oneOf": [
Expand Down Expand Up @@ -7771,7 +7768,7 @@
"$ref": "#/components/schemas/setup_intent"
}
],
"description": "The ID of the SetupIntent for Checkout Sessions in `setup` mode.",
"description": "The ID of the SetupIntent for Checkout Sessions in `setup` mode. You can't confirm or cancel the SetupIntent for a Checkout Session. To cancel, [expire the Checkout Session](https://stripe.com/docs/api/checkout/sessions/expire) instead.",
"nullable": true,
"x-expansionResources": {
"oneOf": [
Expand Down Expand Up @@ -47694,55 +47691,6 @@
"type": "object",
"x-expandableFields": []
},
"platform_tax_fee": {
"description": "",
"properties": {
"account": {
"description": "The Connected account that incurred this charge.",
"maxLength": 5000,
"type": "string"
},
"id": {
"description": "Unique identifier for the object.",
"maxLength": 5000,
"type": "string"
},
"object": {
"description": "String representing the object's type. Objects of the same type share the same value.",
"enum": [
"platform_tax_fee"
],
"type": "string"
},
"source_transaction": {
"description": "The payment object that caused this tax to be inflicted.",
"maxLength": 5000,
"type": "string"
},
"type": {
"description": "The type of tax (VAT).",
"maxLength": 5000,
"type": "string"
}
},
"required": [
"account",
"id",
"object",
"source_transaction",
"type"
],
"title": "PlatformTax",
"type": "object",
"x-expandableFields": [],
"x-stripeResource": {
"class_name": "PlatformTaxFee",
"in_package": "",
"polymorphic_groups": [
"balance_transaction_source"
]
}
},
"portal_business_profile": {
"description": "",
"properties": {
Expand Down Expand Up @@ -173620,7 +173568,7 @@
},
"/v1/setup_intents/{intent}/cancel": {
"post": {
"description": "<p>You can cancel a SetupIntent object when it’s in one of these statuses: <code>requires_payment_method</code>, <code>requires_confirmation</code>, or <code>requires_action</code>. </p>\n\n<p>After you cancel it, setup is abandoned and any operations on the SetupIntent fail with an error.</p>",
"description": "<p>You can cancel a SetupIntent object when it’s in one of these statuses: <code>requires_payment_method</code>, <code>requires_confirmation</code>, or <code>requires_action</code>. </p>\n\n<p>After you cancel it, setup is abandoned and any operations on the SetupIntent fail with an error. You can’t cancel the SetupIntent for a Checkout Session. <a href=\"/docs/api/checkout/sessions/expire\">Expire the Checkout Session</a> instead.</p>",
"operationId": "PostSetupIntentsIntentCancel",
"parameters": [
{
Expand Down
54 changes: 3 additions & 51 deletions embedded/openapi/spec3.json
Original file line number Diff line number Diff line change
Expand Up @@ -2569,9 +2569,6 @@
{
"$ref": "#/components/schemas/payout"
},
{
"$ref": "#/components/schemas/platform_tax_fee"
},
{
"$ref": "#/components/schemas/refund"
},
Expand Down Expand Up @@ -2625,9 +2622,6 @@
{
"$ref": "#/components/schemas/payout"
},
{
"$ref": "#/components/schemas/platform_tax_fee"
},
{
"$ref": "#/components/schemas/refund"
},
Expand Down Expand Up @@ -5199,7 +5193,7 @@
"$ref": "#/components/schemas/payment_intent"
}
],
"description": "The ID of the PaymentIntent for Checkout Sessions in `payment` mode.",
"description": "The ID of the PaymentIntent for Checkout Sessions in `payment` mode. You can't confirm or cancel the PaymentIntent for a Checkout Session. To cancel, [expire the Checkout Session](https://stripe.com/docs/api/checkout/sessions/expire) instead.",
"nullable": true,
"x-expansionResources": {
"oneOf": [
Expand Down Expand Up @@ -5315,7 +5309,7 @@
"$ref": "#/components/schemas/setup_intent"
}
],
"description": "The ID of the SetupIntent for Checkout Sessions in `setup` mode.",
"description": "The ID of the SetupIntent for Checkout Sessions in `setup` mode. You can't confirm or cancel the SetupIntent for a Checkout Session. To cancel, [expire the Checkout Session](https://stripe.com/docs/api/checkout/sessions/expire) instead.",
"nullable": true,
"x-expansionResources": {
"oneOf": [
Expand Down Expand Up @@ -34344,48 +34338,6 @@
"type": "object",
"x-expandableFields": []
},
"platform_tax_fee": {
"description": "",
"properties": {
"account": {
"description": "The Connected account that incurred this charge.",
"maxLength": 5000,
"type": "string"
},
"id": {
"description": "Unique identifier for the object.",
"maxLength": 5000,
"type": "string"
},
"object": {
"description": "String representing the object's type. Objects of the same type share the same value.",
"enum": [
"platform_tax_fee"
],
"type": "string"
},
"source_transaction": {
"description": "The payment object that caused this tax to be inflicted.",
"maxLength": 5000,
"type": "string"
},
"type": {
"description": "The type of tax (VAT).",
"maxLength": 5000,
"type": "string"
}
},
"required": [
"account",
"id",
"object",
"source_transaction",
"type"
],
"title": "PlatformTax",
"type": "object",
"x-expandableFields": []
},
"portal_business_profile": {
"description": "",
"properties": {
Expand Down Expand Up @@ -130725,7 +130677,7 @@
},
"/v1/setup_intents/{intent}/cancel": {
"post": {
"description": "<p>You can cancel a SetupIntent object when it’s in one of these statuses: <code>requires_payment_method</code>, <code>requires_confirmation</code>, or <code>requires_action</code>. </p>\n\n<p>After you cancel it, setup is abandoned and any operations on the SetupIntent fail with an error.</p>",
"description": "<p>You can cancel a SetupIntent object when it’s in one of these statuses: <code>requires_payment_method</code>, <code>requires_confirmation</code>, or <code>requires_action</code>. </p>\n\n<p>After you cancel it, setup is abandoned and any operations on the SetupIntent fail with an error. You can’t cancel the SetupIntent for a Checkout Session. <a href=\"/docs/api/checkout/sessions/expire\">Expire the Checkout Session</a> instead.</p>",
"operationId": "PostSetupIntentsIntentCancel",
"parameters": [
{
Expand Down

0 comments on commit ce9aa16

Please sign in to comment.