From 0feeeb17c47403c9b9a60034acc31f34ebd5f9e6 Mon Sep 17 00:00:00 2001 From: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> Date: Fri, 15 Dec 2023 06:23:39 +0000 Subject: [PATCH] Update OpenAPI for ccd544a25be20f2739d2a237f298eb041b27e8bb --- embedded/openapi/spec3.beta.sdk.json | 211 +++++++++++++++++++++++++++ embedded/openapi/spec3.json | 191 ++++++++++++++++++++++++ 2 files changed, 402 insertions(+) diff --git a/embedded/openapi/spec3.beta.sdk.json b/embedded/openapi/spec3.beta.sdk.json index e513fd93..2922600f 100644 --- a/embedded/openapi/spec3.beta.sdk.json +++ b/embedded/openapi/spec3.beta.sdk.json @@ -13955,6 +13955,17 @@ "in_package": "" } }, + "destination_details_unimplemented": { + "description": "", + "properties": {}, + "title": "destination_details_unimplemented", + "type": "object", + "x-expandableFields": [], + "x-stripeResource": { + "class_name": "UnimplementedDetails", + "in_package": "" + } + }, "discount": { "description": "A discount represents the actual application of a [coupon](https://stripe.com/docs/api#coupons) or [promotion code](https://stripe.com/docs/api#promotion_codes).\nIt contains information about when the discount began, when it will end, and what it is applied to.\n\nRelated guide: [Applying discounts to subscriptions](https://stripe.com/docs/billing/subscriptions/discounts)", "properties": { @@ -52354,6 +52365,9 @@ "maxLength": 5000, "type": "string" }, + "destination_details": { + "$ref": "#/components/schemas/refund_destination_details" + }, "failure_balance_transaction": { "anyOf": [ { @@ -52513,6 +52527,7 @@ "x-expandableFields": [ "balance_transaction", "charge", + "destination_details", "failure_balance_transaction", "next_action", "payment_intent", @@ -52619,6 +52634,202 @@ "type": "refund.updated" } }, + "refund_destination_details": { + "description": "", + "properties": { + "affirm": { + "$ref": "#/components/schemas/destination_details_unimplemented" + }, + "afterpay_clearpay": { + "$ref": "#/components/schemas/destination_details_unimplemented" + }, + "alipay": { + "$ref": "#/components/schemas/destination_details_unimplemented" + }, + "au_bank_transfer": { + "$ref": "#/components/schemas/destination_details_unimplemented" + }, + "blik": { + "$ref": "#/components/schemas/refund_destination_details_generic" + }, + "br_bank_transfer": { + "$ref": "#/components/schemas/refund_destination_details_generic" + }, + "card": { + "$ref": "#/components/schemas/refund_destination_details_card" + }, + "cashapp": { + "$ref": "#/components/schemas/destination_details_unimplemented" + }, + "customer_cash_balance": { + "$ref": "#/components/schemas/destination_details_unimplemented" + }, + "eps": { + "$ref": "#/components/schemas/destination_details_unimplemented" + }, + "eu_bank_transfer": { + "$ref": "#/components/schemas/refund_destination_details_generic" + }, + "gb_bank_transfer": { + "$ref": "#/components/schemas/refund_destination_details_generic" + }, + "giropay": { + "$ref": "#/components/schemas/destination_details_unimplemented" + }, + "grabpay": { + "$ref": "#/components/schemas/destination_details_unimplemented" + }, + "jp_bank_transfer": { + "$ref": "#/components/schemas/refund_destination_details_generic" + }, + "klarna": { + "$ref": "#/components/schemas/destination_details_unimplemented" + }, + "mx_bank_transfer": { + "$ref": "#/components/schemas/refund_destination_details_generic" + }, + "p24": { + "$ref": "#/components/schemas/refund_destination_details_generic" + }, + "paynow": { + "$ref": "#/components/schemas/destination_details_unimplemented" + }, + "paypal": { + "$ref": "#/components/schemas/destination_details_unimplemented" + }, + "pix": { + "$ref": "#/components/schemas/destination_details_unimplemented" + }, + "revolut": { + "$ref": "#/components/schemas/destination_details_unimplemented" + }, + "sofort": { + "$ref": "#/components/schemas/destination_details_unimplemented" + }, + "th_bank_transfer": { + "$ref": "#/components/schemas/refund_destination_details_generic" + }, + "type": { + "description": "The type of transaction-specific details of the payment method used in the refund (e.g., `card`). An additional hash is included on `destination_details` with a name matching this value. It contains information specific to the refund transaction.", + "maxLength": 5000, + "type": "string" + }, + "us_bank_transfer": { + "$ref": "#/components/schemas/refund_destination_details_generic" + }, + "wechat_pay": { + "$ref": "#/components/schemas/destination_details_unimplemented" + }, + "zip": { + "$ref": "#/components/schemas/destination_details_unimplemented" + } + }, + "required": [ + "type" + ], + "title": "refund_destination_details", + "type": "object", + "x-expandableFields": [ + "affirm", + "afterpay_clearpay", + "alipay", + "au_bank_transfer", + "blik", + "br_bank_transfer", + "card", + "cashapp", + "customer_cash_balance", + "eps", + "eu_bank_transfer", + "gb_bank_transfer", + "giropay", + "grabpay", + "jp_bank_transfer", + "klarna", + "mx_bank_transfer", + "p24", + "paynow", + "paypal", + "pix", + "revolut", + "sofort", + "th_bank_transfer", + "us_bank_transfer", + "wechat_pay", + "zip" + ], + "x-stripeResource": { + "class_name": "DestinationDetails", + "in_package": "" + } + }, + "refund_destination_details_card": { + "description": "", + "properties": { + "reference": { + "description": "Value of the reference number assigned to the refund.", + "maxLength": 5000, + "type": "string" + }, + "reference_status": { + "description": "Status of the reference number on the refund. This can be `pending`, `available` or `unavailable`.", + "maxLength": 5000, + "type": "string" + }, + "reference_type": { + "description": "Type of the reference number assigned to the refund.", + "maxLength": 5000, + "type": "string" + }, + "type": { + "description": "The type of refund. This can be `refund`, `reversal`, or `pending`.", + "enum": [ + "pending", + "refund", + "reversal" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "title": "refund_destination_details_card", + "type": "object", + "x-expandableFields": [], + "x-stripeResource": { + "class_name": "Card", + "in_package": "" + } + }, + "refund_destination_details_generic": { + "description": "", + "properties": { + "reference": { + "description": "The reference assigned to the refund.", + "maxLength": 5000, + "nullable": true, + "type": "string" + }, + "reference_status": { + "description": "Status of the reference on the refund. This can be `pending`, `available` or `unavailable`.", + "maxLength": 5000, + "nullable": true, + "type": "string" + } + }, + "required": [ + "reference", + "reference_status" + ], + "title": "refund_destination_details_generic", + "type": "object", + "x-expandableFields": [], + "x-stripeResource": { + "class_name": "GenericDetails", + "in_package": "" + } + }, "refund_next_action": { "description": "", "properties": { diff --git a/embedded/openapi/spec3.json b/embedded/openapi/spec3.json index 5b0dd4a0..7a9a2d1a 100644 --- a/embedded/openapi/spec3.json +++ b/embedded/openapi/spec3.json @@ -8948,6 +8948,13 @@ "x-expandableFields": [], "x-resourceId": "deleted_webhook_endpoint" }, + "destination_details_unimplemented": { + "description": "", + "properties": {}, + "title": "destination_details_unimplemented", + "type": "object", + "x-expandableFields": [] + }, "discount": { "description": "A discount represents the actual application of a [coupon](https://stripe.com/docs/api#coupons) or [promotion code](https://stripe.com/docs/api#promotion_codes).\nIt contains information about when the discount began, when it will end, and what it is applied to.\n\nRelated guide: [Applying discounts to subscriptions](https://stripe.com/docs/billing/subscriptions/discounts)", "properties": { @@ -33186,6 +33193,9 @@ "maxLength": 5000, "type": "string" }, + "destination_details": { + "$ref": "#/components/schemas/refund_destination_details" + }, "failure_balance_transaction": { "anyOf": [ { @@ -33336,6 +33346,7 @@ "x-expandableFields": [ "balance_transaction", "charge", + "destination_details", "failure_balance_transaction", "next_action", "payment_intent", @@ -33344,6 +33355,186 @@ ], "x-resourceId": "refund" }, + "refund_destination_details": { + "description": "", + "properties": { + "affirm": { + "$ref": "#/components/schemas/destination_details_unimplemented" + }, + "afterpay_clearpay": { + "$ref": "#/components/schemas/destination_details_unimplemented" + }, + "alipay": { + "$ref": "#/components/schemas/destination_details_unimplemented" + }, + "au_bank_transfer": { + "$ref": "#/components/schemas/destination_details_unimplemented" + }, + "blik": { + "$ref": "#/components/schemas/refund_destination_details_generic" + }, + "br_bank_transfer": { + "$ref": "#/components/schemas/refund_destination_details_generic" + }, + "card": { + "$ref": "#/components/schemas/refund_destination_details_card" + }, + "cashapp": { + "$ref": "#/components/schemas/destination_details_unimplemented" + }, + "customer_cash_balance": { + "$ref": "#/components/schemas/destination_details_unimplemented" + }, + "eps": { + "$ref": "#/components/schemas/destination_details_unimplemented" + }, + "eu_bank_transfer": { + "$ref": "#/components/schemas/refund_destination_details_generic" + }, + "gb_bank_transfer": { + "$ref": "#/components/schemas/refund_destination_details_generic" + }, + "giropay": { + "$ref": "#/components/schemas/destination_details_unimplemented" + }, + "grabpay": { + "$ref": "#/components/schemas/destination_details_unimplemented" + }, + "jp_bank_transfer": { + "$ref": "#/components/schemas/refund_destination_details_generic" + }, + "klarna": { + "$ref": "#/components/schemas/destination_details_unimplemented" + }, + "mx_bank_transfer": { + "$ref": "#/components/schemas/refund_destination_details_generic" + }, + "p24": { + "$ref": "#/components/schemas/refund_destination_details_generic" + }, + "paynow": { + "$ref": "#/components/schemas/destination_details_unimplemented" + }, + "paypal": { + "$ref": "#/components/schemas/destination_details_unimplemented" + }, + "pix": { + "$ref": "#/components/schemas/destination_details_unimplemented" + }, + "revolut": { + "$ref": "#/components/schemas/destination_details_unimplemented" + }, + "sofort": { + "$ref": "#/components/schemas/destination_details_unimplemented" + }, + "th_bank_transfer": { + "$ref": "#/components/schemas/refund_destination_details_generic" + }, + "type": { + "description": "The type of transaction-specific details of the payment method used in the refund (e.g., `card`). An additional hash is included on `destination_details` with a name matching this value. It contains information specific to the refund transaction.", + "maxLength": 5000, + "type": "string" + }, + "us_bank_transfer": { + "$ref": "#/components/schemas/refund_destination_details_generic" + }, + "wechat_pay": { + "$ref": "#/components/schemas/destination_details_unimplemented" + }, + "zip": { + "$ref": "#/components/schemas/destination_details_unimplemented" + } + }, + "required": [ + "type" + ], + "title": "refund_destination_details", + "type": "object", + "x-expandableFields": [ + "affirm", + "afterpay_clearpay", + "alipay", + "au_bank_transfer", + "blik", + "br_bank_transfer", + "card", + "cashapp", + "customer_cash_balance", + "eps", + "eu_bank_transfer", + "gb_bank_transfer", + "giropay", + "grabpay", + "jp_bank_transfer", + "klarna", + "mx_bank_transfer", + "p24", + "paynow", + "paypal", + "pix", + "revolut", + "sofort", + "th_bank_transfer", + "us_bank_transfer", + "wechat_pay", + "zip" + ] + }, + "refund_destination_details_card": { + "description": "", + "properties": { + "reference": { + "description": "Value of the reference number assigned to the refund.", + "maxLength": 5000, + "type": "string" + }, + "reference_status": { + "description": "Status of the reference number on the refund. This can be `pending`, `available` or `unavailable`.", + "maxLength": 5000, + "type": "string" + }, + "reference_type": { + "description": "Type of the reference number assigned to the refund.", + "maxLength": 5000, + "type": "string" + }, + "type": { + "description": "The type of refund. This can be `refund`, `reversal`, or `pending`.", + "enum": [ + "pending", + "refund", + "reversal" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "title": "refund_destination_details_card", + "type": "object", + "x-expandableFields": [] + }, + "refund_destination_details_generic": { + "description": "", + "properties": { + "reference": { + "description": "The reference assigned to the refund.", + "maxLength": 5000, + "nullable": true, + "type": "string" + }, + "reference_status": { + "description": "Status of the reference on the refund. This can be `pending`, `available` or `unavailable`.", + "maxLength": 5000, + "nullable": true, + "type": "string" + } + }, + "title": "refund_destination_details_generic", + "type": "object", + "x-expandableFields": [] + }, "refund_next_action": { "description": "", "properties": {