diff --git a/openapi/spec3.beta.sdk.json b/openapi/spec3.beta.sdk.json index 4e38af12..ffe85e1d 100644 --- a/openapi/spec3.beta.sdk.json +++ b/openapi/spec3.beta.sdk.json @@ -11189,6 +11189,9 @@ ] } }, + "payment_method_details": { + "$ref": "#/components/schemas/dispute_payment_method_details" + }, "reason": { "description": "Reason given by cardholder for dispute. Possible values are `bank_cannot_process`, `check_returned`, `credit_not_processed`, `customer_initiated`, `debit_not_authorized`, `duplicate`, `fraudulent`, `general`, `incorrect_account_details`, `insufficient_funds`, `product_not_received`, `product_unacceptable`, `subscription_canceled`, or `unrecognized`. Read more about [dispute reasons](https://stripe.com/docs/disputes/categories).", "maxLength": 5000, @@ -11232,7 +11235,8 @@ "charge", "evidence", "evidence_details", - "payment_intent" + "payment_intent", + "payment_method_details" ], "x-resourceId": "dispute", "x-stripeOperations": [ @@ -11649,6 +11653,67 @@ "in_package": "" } }, + "dispute_payment_method_details": { + "description": "", + "properties": { + "card": { + "anyOf": [ + { + "$ref": "#/components/schemas/dispute_payment_method_details_card" + } + ], + "description": "Card specific dispute details.", + "nullable": true + }, + "type": { + "description": "Payment method type.", + "enum": [ + "card" + ], + "type": "string" + } + }, + "required": [ + "card", + "type" + ], + "title": "DisputePaymentMethodDetails", + "type": "object", + "x-expandableFields": [ + "card" + ], + "x-stripeResource": { + "class_name": "DisputePaymentMethodDetails", + "in_package": "" + } + }, + "dispute_payment_method_details_card": { + "description": "", + "properties": { + "brand": { + "description": "Card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `mastercard`, `unionpay`, `visa`, or `unknown`.", + "maxLength": 5000, + "type": "string" + }, + "network_reason_code": { + "description": "The card network's specific dispute reason code, which maps to one of Stripe's primary dispute categories to simplify response guidance. The [Network code map](https://stripe.com/docs/disputes/categories#network-code-map) lists all available dispute reason codes by network.", + "maxLength": 5000, + "nullable": true, + "type": "string" + } + }, + "required": [ + "brand", + "network_reason_code" + ], + "title": "DisputePaymentMethodDetailsCard", + "type": "object", + "x-expandableFields": [], + "x-stripeResource": { + "class_name": "DisputePaymentMethodDetailsCard", + "in_package": "" + } + }, "email_sent": { "description": "", "properties": { diff --git a/openapi/spec3.beta.sdk.yaml b/openapi/spec3.beta.sdk.yaml index 36c1ac1b..154f0515 100644 --- a/openapi/spec3.beta.sdk.yaml +++ b/openapi/spec3.beta.sdk.yaml @@ -10545,6 +10545,8 @@ components: x-expansionResources: oneOf: - $ref: '#/components/schemas/payment_intent' + payment_method_details: + $ref: '#/components/schemas/dispute_payment_method_details' reason: description: >- Reason given by cardholder for dispute. Possible values are @@ -10595,6 +10597,7 @@ components: - evidence - evidence_details - payment_intent + - payment_method_details x-resourceId: dispute x-stripeOperations: - method_name: list @@ -10941,6 +10944,57 @@ components: x-stripeResource: class_name: EvidenceDetails in_package: '' + dispute_payment_method_details: + description: '' + properties: + card: + anyOf: + - $ref: '#/components/schemas/dispute_payment_method_details_card' + description: Card specific dispute details. + nullable: true + type: + description: Payment method type. + enum: + - card + type: string + required: + - card + - type + title: DisputePaymentMethodDetails + type: object + x-expandableFields: + - card + x-stripeResource: + class_name: DisputePaymentMethodDetails + in_package: '' + dispute_payment_method_details_card: + description: '' + properties: + brand: + description: >- + Card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, + `mastercard`, `unionpay`, `visa`, or `unknown`. + maxLength: 5000 + type: string + network_reason_code: + description: >- + The card network's specific dispute reason code, which maps to one + of Stripe's primary dispute categories to simplify response + guidance. The [Network code + map](https://stripe.com/docs/disputes/categories#network-code-map) + lists all available dispute reason codes by network. + maxLength: 5000 + nullable: true + type: string + required: + - brand + - network_reason_code + title: DisputePaymentMethodDetailsCard + type: object + x-expandableFields: [] + x-stripeResource: + class_name: DisputePaymentMethodDetailsCard + in_package: '' email_sent: description: '' properties: diff --git a/openapi/spec3.json b/openapi/spec3.json index 2fc49d1f..da43539e 100644 --- a/openapi/spec3.json +++ b/openapi/spec3.json @@ -8380,6 +8380,9 @@ ] } }, + "payment_method_details": { + "$ref": "#/components/schemas/dispute_payment_method_details" + }, "reason": { "description": "Reason given by cardholder for dispute. Possible values are `bank_cannot_process`, `check_returned`, `credit_not_processed`, `customer_initiated`, `debit_not_authorized`, `duplicate`, `fraudulent`, `general`, `incorrect_account_details`, `insufficient_funds`, `product_not_received`, `product_unacceptable`, `subscription_canceled`, or `unrecognized`. Read more about [dispute reasons](https://stripe.com/docs/disputes/categories).", "maxLength": 5000, @@ -8422,7 +8425,8 @@ "charge", "evidence", "evidence_details", - "payment_intent" + "payment_intent", + "payment_method_details" ], "x-resourceId": "dispute" }, @@ -8763,6 +8767,57 @@ "type": "object", "x-expandableFields": [] }, + "dispute_payment_method_details": { + "description": "", + "properties": { + "card": { + "anyOf": [ + { + "$ref": "#/components/schemas/dispute_payment_method_details_card" + } + ], + "description": "Card specific dispute details.", + "nullable": true + }, + "type": { + "description": "Payment method type.", + "enum": [ + "card" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "title": "DisputePaymentMethodDetails", + "type": "object", + "x-expandableFields": [ + "card" + ] + }, + "dispute_payment_method_details_card": { + "description": "", + "properties": { + "brand": { + "description": "Card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `mastercard`, `unionpay`, `visa`, or `unknown`.", + "maxLength": 5000, + "type": "string" + }, + "network_reason_code": { + "description": "The card network's specific dispute reason code, which maps to one of Stripe's primary dispute categories to simplify response guidance. The [Network code map](https://stripe.com/docs/disputes/categories#network-code-map) lists all available dispute reason codes by network.", + "maxLength": 5000, + "nullable": true, + "type": "string" + } + }, + "required": [ + "brand" + ], + "title": "DisputePaymentMethodDetailsCard", + "type": "object", + "x-expandableFields": [] + }, "email_sent": { "description": "", "properties": { diff --git a/openapi/spec3.sdk.json b/openapi/spec3.sdk.json index fefe83c8..37f35e96 100644 --- a/openapi/spec3.sdk.json +++ b/openapi/spec3.sdk.json @@ -10099,6 +10099,9 @@ ] } }, + "payment_method_details": { + "$ref": "#/components/schemas/dispute_payment_method_details" + }, "reason": { "description": "Reason given by cardholder for dispute. Possible values are `bank_cannot_process`, `check_returned`, `credit_not_processed`, `customer_initiated`, `debit_not_authorized`, `duplicate`, `fraudulent`, `general`, `incorrect_account_details`, `insufficient_funds`, `product_not_received`, `product_unacceptable`, `subscription_canceled`, or `unrecognized`. Read more about [dispute reasons](https://stripe.com/docs/disputes/categories).", "maxLength": 5000, @@ -10142,7 +10145,8 @@ "charge", "evidence", "evidence_details", - "payment_intent" + "payment_intent", + "payment_method_details" ], "x-resourceId": "dispute", "x-stripeOperations": [ @@ -10559,6 +10563,67 @@ "in_package": "" } }, + "dispute_payment_method_details": { + "description": "", + "properties": { + "card": { + "anyOf": [ + { + "$ref": "#/components/schemas/dispute_payment_method_details_card" + } + ], + "description": "Card specific dispute details.", + "nullable": true + }, + "type": { + "description": "Payment method type.", + "enum": [ + "card" + ], + "type": "string" + } + }, + "required": [ + "card", + "type" + ], + "title": "DisputePaymentMethodDetails", + "type": "object", + "x-expandableFields": [ + "card" + ], + "x-stripeResource": { + "class_name": "DisputePaymentMethodDetails", + "in_package": "" + } + }, + "dispute_payment_method_details_card": { + "description": "", + "properties": { + "brand": { + "description": "Card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `mastercard`, `unionpay`, `visa`, or `unknown`.", + "maxLength": 5000, + "type": "string" + }, + "network_reason_code": { + "description": "The card network's specific dispute reason code, which maps to one of Stripe's primary dispute categories to simplify response guidance. The [Network code map](https://stripe.com/docs/disputes/categories#network-code-map) lists all available dispute reason codes by network.", + "maxLength": 5000, + "nullable": true, + "type": "string" + } + }, + "required": [ + "brand", + "network_reason_code" + ], + "title": "DisputePaymentMethodDetailsCard", + "type": "object", + "x-expandableFields": [], + "x-stripeResource": { + "class_name": "DisputePaymentMethodDetailsCard", + "in_package": "" + } + }, "email_sent": { "description": "", "properties": { diff --git a/openapi/spec3.sdk.yaml b/openapi/spec3.sdk.yaml index c4d208f5..b164f57b 100644 --- a/openapi/spec3.sdk.yaml +++ b/openapi/spec3.sdk.yaml @@ -9533,6 +9533,8 @@ components: x-expansionResources: oneOf: - $ref: '#/components/schemas/payment_intent' + payment_method_details: + $ref: '#/components/schemas/dispute_payment_method_details' reason: description: >- Reason given by cardholder for dispute. Possible values are @@ -9583,6 +9585,7 @@ components: - evidence - evidence_details - payment_intent + - payment_method_details x-resourceId: dispute x-stripeOperations: - method_name: list @@ -9929,6 +9932,57 @@ components: x-stripeResource: class_name: EvidenceDetails in_package: '' + dispute_payment_method_details: + description: '' + properties: + card: + anyOf: + - $ref: '#/components/schemas/dispute_payment_method_details_card' + description: Card specific dispute details. + nullable: true + type: + description: Payment method type. + enum: + - card + type: string + required: + - card + - type + title: DisputePaymentMethodDetails + type: object + x-expandableFields: + - card + x-stripeResource: + class_name: DisputePaymentMethodDetails + in_package: '' + dispute_payment_method_details_card: + description: '' + properties: + brand: + description: >- + Card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, + `mastercard`, `unionpay`, `visa`, or `unknown`. + maxLength: 5000 + type: string + network_reason_code: + description: >- + The card network's specific dispute reason code, which maps to one + of Stripe's primary dispute categories to simplify response + guidance. The [Network code + map](https://stripe.com/docs/disputes/categories#network-code-map) + lists all available dispute reason codes by network. + maxLength: 5000 + nullable: true + type: string + required: + - brand + - network_reason_code + title: DisputePaymentMethodDetailsCard + type: object + x-expandableFields: [] + x-stripeResource: + class_name: DisputePaymentMethodDetailsCard + in_package: '' email_sent: description: '' properties: diff --git a/openapi/spec3.yaml b/openapi/spec3.yaml index 53872288..11681256 100644 --- a/openapi/spec3.yaml +++ b/openapi/spec3.yaml @@ -8148,6 +8148,8 @@ components: x-expansionResources: oneOf: - $ref: '#/components/schemas/payment_intent' + payment_method_details: + $ref: '#/components/schemas/dispute_payment_method_details' reason: description: >- Reason given by cardholder for dispute. Possible values are @@ -8197,6 +8199,7 @@ components: - evidence - evidence_details - payment_intent + - payment_method_details x-resourceId: dispute dispute_evidence: description: '' @@ -8481,6 +8484,49 @@ components: title: DisputeEvidenceDetails type: object x-expandableFields: [] + dispute_payment_method_details: + description: '' + properties: + card: + anyOf: + - $ref: '#/components/schemas/dispute_payment_method_details_card' + description: Card specific dispute details. + nullable: true + type: + description: Payment method type. + enum: + - card + type: string + required: + - type + title: DisputePaymentMethodDetails + type: object + x-expandableFields: + - card + dispute_payment_method_details_card: + description: '' + properties: + brand: + description: >- + Card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, + `mastercard`, `unionpay`, `visa`, or `unknown`. + maxLength: 5000 + type: string + network_reason_code: + description: >- + The card network's specific dispute reason code, which maps to one + of Stripe's primary dispute categories to simplify response + guidance. The [Network code + map](https://stripe.com/docs/disputes/categories#network-code-map) + lists all available dispute reason codes by network. + maxLength: 5000 + nullable: true + type: string + required: + - brand + title: DisputePaymentMethodDetailsCard + type: object + x-expandableFields: [] email_sent: description: '' properties: