From 9518451cb8709ab17ea23b815b28dae5d7c3e11a Mon Sep 17 00:00:00 2001 From: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> Date: Mon, 28 Aug 2023 19:56:55 +0000 Subject: [PATCH] Update OpenAPI specification --- openapi/spec3.beta.sdk.json | 28 ++++++++++++++++++++++++++++ openapi/spec3.beta.sdk.yaml | 14 ++++++++++++++ openapi/spec3.json | 27 +++++++++++++++++++++++++++ openapi/spec3.sdk.json | 28 ++++++++++++++++++++++++++++ openapi/spec3.sdk.yaml | 14 ++++++++++++++ openapi/spec3.yaml | 13 +++++++++++++ 6 files changed, 124 insertions(+) diff --git a/openapi/spec3.beta.sdk.json b/openapi/spec3.beta.sdk.json index 65e308df..a26f05dd 100644 --- a/openapi/spec3.beta.sdk.json +++ b/openapi/spec3.beta.sdk.json @@ -28798,6 +28798,32 @@ "description": "Whether user redeemable promotion codes are enabled.", "type": "boolean" }, + "application": { + "anyOf": [ + { + "maxLength": 5000, + "type": "string" + }, + { + "$ref": "#/components/schemas/application" + }, + { + "$ref": "#/components/schemas/deleted_application" + } + ], + "description": "The ID of the Connect application that created the Payment Link.", + "nullable": true, + "x-expansionResources": { + "oneOf": [ + { + "$ref": "#/components/schemas/application" + }, + { + "$ref": "#/components/schemas/deleted_application" + } + ] + } + }, "application_fee_amount": { "description": "The amount of the application fee (if any) that will be requested to be applied to the payment and transferred to the application owner's Stripe account.", "nullable": true, @@ -29058,6 +29084,7 @@ "active", "after_completion", "allow_promotion_codes", + "application", "application_fee_amount", "application_fee_percent", "automatic_tax", @@ -29089,6 +29116,7 @@ "type": "object", "x-expandableFields": [ "after_completion", + "application", "automatic_tax", "consent_collection", "custom_fields", diff --git a/openapi/spec3.beta.sdk.yaml b/openapi/spec3.beta.sdk.yaml index 1ffc469a..21da288b 100644 --- a/openapi/spec3.beta.sdk.yaml +++ b/openapi/spec3.beta.sdk.yaml @@ -26422,6 +26422,18 @@ components: allow_promotion_codes: description: Whether user redeemable promotion codes are enabled. type: boolean + application: + anyOf: + - maxLength: 5000 + type: string + - $ref: '#/components/schemas/application' + - $ref: '#/components/schemas/deleted_application' + description: The ID of the Connect application that created the Payment Link. + nullable: true + x-expansionResources: + oneOf: + - $ref: '#/components/schemas/application' + - $ref: '#/components/schemas/deleted_application' application_fee_amount: description: >- The amount of the application fee (if any) that will be requested to @@ -26649,6 +26661,7 @@ components: - active - after_completion - allow_promotion_codes + - application - application_fee_amount - application_fee_percent - automatic_tax @@ -26679,6 +26692,7 @@ components: type: object x-expandableFields: - after_completion + - application - automatic_tax - consent_collection - custom_fields diff --git a/openapi/spec3.json b/openapi/spec3.json index 82b58dc1..fafa3757 100644 --- a/openapi/spec3.json +++ b/openapi/spec3.json @@ -21125,6 +21125,32 @@ "description": "Whether user redeemable promotion codes are enabled.", "type": "boolean" }, + "application": { + "anyOf": [ + { + "maxLength": 5000, + "type": "string" + }, + { + "$ref": "#/components/schemas/application" + }, + { + "$ref": "#/components/schemas/deleted_application" + } + ], + "description": "The ID of the Connect application that created the Payment Link.", + "nullable": true, + "x-expansionResources": { + "oneOf": [ + { + "$ref": "#/components/schemas/application" + }, + { + "$ref": "#/components/schemas/deleted_application" + } + ] + } + }, "application_fee_amount": { "description": "The amount of the application fee (if any) that will be requested to be applied to the payment and transferred to the application owner's Stripe account.", "nullable": true, @@ -21406,6 +21432,7 @@ "type": "object", "x-expandableFields": [ "after_completion", + "application", "automatic_tax", "consent_collection", "custom_fields", diff --git a/openapi/spec3.sdk.json b/openapi/spec3.sdk.json index 18f0693d..a7eff404 100644 --- a/openapi/spec3.sdk.json +++ b/openapi/spec3.sdk.json @@ -25154,6 +25154,32 @@ "description": "Whether user redeemable promotion codes are enabled.", "type": "boolean" }, + "application": { + "anyOf": [ + { + "maxLength": 5000, + "type": "string" + }, + { + "$ref": "#/components/schemas/application" + }, + { + "$ref": "#/components/schemas/deleted_application" + } + ], + "description": "The ID of the Connect application that created the Payment Link.", + "nullable": true, + "x-expansionResources": { + "oneOf": [ + { + "$ref": "#/components/schemas/application" + }, + { + "$ref": "#/components/schemas/deleted_application" + } + ] + } + }, "application_fee_amount": { "description": "The amount of the application fee (if any) that will be requested to be applied to the payment and transferred to the application owner's Stripe account.", "nullable": true, @@ -25414,6 +25440,7 @@ "active", "after_completion", "allow_promotion_codes", + "application", "application_fee_amount", "application_fee_percent", "automatic_tax", @@ -25445,6 +25472,7 @@ "type": "object", "x-expandableFields": [ "after_completion", + "application", "automatic_tax", "consent_collection", "custom_fields", diff --git a/openapi/spec3.sdk.yaml b/openapi/spec3.sdk.yaml index d880de18..bd879f53 100644 --- a/openapi/spec3.sdk.yaml +++ b/openapi/spec3.sdk.yaml @@ -23165,6 +23165,18 @@ components: allow_promotion_codes: description: Whether user redeemable promotion codes are enabled. type: boolean + application: + anyOf: + - maxLength: 5000 + type: string + - $ref: '#/components/schemas/application' + - $ref: '#/components/schemas/deleted_application' + description: The ID of the Connect application that created the Payment Link. + nullable: true + x-expansionResources: + oneOf: + - $ref: '#/components/schemas/application' + - $ref: '#/components/schemas/deleted_application' application_fee_amount: description: >- The amount of the application fee (if any) that will be requested to @@ -23392,6 +23404,7 @@ components: - active - after_completion - allow_promotion_codes + - application - application_fee_amount - application_fee_percent - automatic_tax @@ -23422,6 +23435,7 @@ components: type: object x-expandableFields: - after_completion + - application - automatic_tax - consent_collection - custom_fields diff --git a/openapi/spec3.yaml b/openapi/spec3.yaml index 282a9aa3..e85535c3 100644 --- a/openapi/spec3.yaml +++ b/openapi/spec3.yaml @@ -19895,6 +19895,18 @@ components: allow_promotion_codes: description: Whether user redeemable promotion codes are enabled. type: boolean + application: + anyOf: + - maxLength: 5000 + type: string + - $ref: '#/components/schemas/application' + - $ref: '#/components/schemas/deleted_application' + description: The ID of the Connect application that created the Payment Link. + nullable: true + x-expansionResources: + oneOf: + - $ref: '#/components/schemas/application' + - $ref: '#/components/schemas/deleted_application' application_fee_amount: description: >- The amount of the application fee (if any) that will be requested to @@ -20142,6 +20154,7 @@ components: type: object x-expandableFields: - after_completion + - application - automatic_tax - consent_collection - custom_fields