diff --git a/embedded/openapi/spec3.beta.sdk.json b/embedded/openapi/spec3.beta.sdk.json index a706dd68..14c9933a 100644 --- a/embedded/openapi/spec3.beta.sdk.json +++ b/embedded/openapi/spec3.beta.sdk.json @@ -13941,6 +13941,16 @@ "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).", "type": "string" }, + "enhanced_eligibility_types": { + "description": "List of eligibility types that are included in `enhanced_evidence`.", + "items": { + "enum": [ + "visa_compelling_evidence_3" + ], + "type": "string" + }, + "type": "array" + }, "evidence": { "$ref": "#/components/schemas/dispute_evidence" }, @@ -14090,6 +14100,111 @@ ] } }, + "dispute_enhanced_eligibility": { + "description": "", + "properties": { + "visa_compelling_evidence_3": { + "$ref": "#/components/schemas/dispute_enhanced_eligibility_visa_compelling_evidence3" + } + }, + "title": "DisputeEnhancedEligibility", + "type": "object", + "x-expandableFields": [ + "visa_compelling_evidence_3" + ] + }, + "dispute_enhanced_eligibility_visa_compelling_evidence3": { + "description": "", + "properties": { + "partner_rejected_details": { + "description": "Rejection reason for evidence submitted as Visa Compelling Evidence 3.0 to Visa and rejected by Visa.", + "enum": [ + "fraudulent_prior_transaction", + "other", + "visa_internal_error" + ], + "nullable": true, + "type": "string" + }, + "required_actions": { + "description": "List of actions required to qualify dispute for Visa Compelling Evidence 3.0 evidence submission.", + "items": { + "enum": [ + "missing_customer_identifiers", + "missing_disputed_transaction_description", + "missing_merchandise_or_services", + "missing_prior_undisputed_transaction_description", + "missing_prior_undisputed_transactions" + ], + "type": "string" + }, + "type": "array" + }, + "status": { + "description": "Visa Compelling Evidence 3.0 eligibility status.", + "enum": [ + "accepted", + "partner_rejected", + "qualified", + "requires_action", + "submitted" + ], + "type": "string" + } + }, + "required": [ + "partner_rejected_details", + "required_actions", + "status" + ], + "title": "DisputeEnhancedEligibilityVisaCompellingEvidence3", + "type": "object", + "x-expandableFields": [] + }, + "dispute_enhanced_evidence": { + "description": "", + "properties": { + "visa_compelling_evidence_3": { + "$ref": "#/components/schemas/dispute_enhanced_evidence_visa_compelling_evidence3" + } + }, + "title": "DisputeEnhancedEvidence", + "type": "object", + "x-expandableFields": [ + "visa_compelling_evidence_3" + ] + }, + "dispute_enhanced_evidence_visa_compelling_evidence3": { + "description": "", + "properties": { + "disputed_transaction": { + "anyOf": [ + { + "$ref": "#/components/schemas/visa_compelling_evidence3_disputed_transaction" + } + ], + "description": "Disputed transaction details for Visa Compelling Evidence 3.0 evidence submission.", + "nullable": true + }, + "prior_undisputed_transactions": { + "description": "List of exactly two prior undisputed transaction objects for Visa Compelling Evidence 3.0 evidence submission.", + "items": { + "$ref": "#/components/schemas/visa_compelling_evidence3_prior_undisputed_transaction" + }, + "type": "array" + } + }, + "required": [ + "disputed_transaction", + "prior_undisputed_transactions" + ], + "title": "DisputeEnhancedEvidenceVisaCompellingEvidence3", + "type": "object", + "x-expandableFields": [ + "disputed_transaction", + "prior_undisputed_transactions" + ] + }, "dispute_evidence": { "description": "", "properties": { @@ -14227,6 +14342,9 @@ "nullable": true, "type": "string" }, + "enhanced_evidence": { + "$ref": "#/components/schemas/dispute_enhanced_evidence" + }, "product_description": { "description": "A description of the product or service that was sold.", "maxLength": 150000, @@ -14418,6 +14536,7 @@ "customer_communication", "customer_signature", "duplicate_charge_documentation", + "enhanced_evidence", "receipt", "refund_policy", "service_documentation", @@ -14434,6 +14553,9 @@ "nullable": true, "type": "integer" }, + "enhanced_eligibility": { + "$ref": "#/components/schemas/dispute_enhanced_eligibility" + }, "has_evidence": { "description": "Whether evidence has been staged for this dispute.", "type": "boolean" @@ -14455,7 +14577,9 @@ ], "title": "DisputeEvidenceDetails", "type": "object", - "x-expandableFields": [] + "x-expandableFields": [ + "enhanced_eligibility" + ] }, "dispute_payment_method_details": { "description": "", @@ -62744,6 +62868,58 @@ "type": "topup.succeeded" } }, + "transaction_shipping_address": { + "description": "", + "properties": { + "city": { + "description": "City, district, suburb, town, or village.", + "maxLength": 5000, + "nullable": true, + "type": "string" + }, + "country": { + "description": "Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).", + "maxLength": 5000, + "nullable": true, + "type": "string" + }, + "line1": { + "description": "Address line 1 (e.g., street, PO Box, or company name).", + "maxLength": 5000, + "nullable": true, + "type": "string" + }, + "line2": { + "description": "Address line 2 (e.g., apartment, suite, unit, or building).", + "maxLength": 5000, + "nullable": true, + "type": "string" + }, + "postal_code": { + "description": "ZIP or postal code.", + "maxLength": 5000, + "nullable": true, + "type": "string" + }, + "state": { + "description": "State, county, province, or region.", + "maxLength": 5000, + "nullable": true, + "type": "string" + } + }, + "required": [ + "city", + "country", + "line1", + "line2", + "postal_code", + "state" + ], + "title": "TransactionShippingAddress", + "type": "object", + "x-expandableFields": [] + }, "transfer": { "description": "A `Transfer` object is created when you move funds between Stripe accounts as\npart of Connect.\n\nBefore April 6, 2017, transfers also represented movement of funds from a\nStripe account to a card or bank account. This behavior has since been split\nout into a [Payout](https://stripe.com/docs/api#payout_object) object, with corresponding payout endpoints. For more\ninformation, read about the\n[transfer/payout split](https://stripe.com/docs/transfer-payout-split).\n\nRelated guide: [Creating separate charges and transfers](https://stripe.com/docs/connect/separate-charges-and-transfers)", "properties": { @@ -67283,6 +67459,150 @@ "type": "object", "x-expandableFields": [] }, + "visa_compelling_evidence3_disputed_transaction": { + "description": "", + "properties": { + "customer_account_id": { + "description": "User Account ID used to log into business platform. Must be recognizable by the user.", + "maxLength": 5000, + "nullable": true, + "type": "string" + }, + "customer_device_fingerprint": { + "description": "Unique identifier of the cardholder’s device derived from a combination of at least two hardware and software attributes. Must be at least 20 characters.", + "maxLength": 5000, + "nullable": true, + "type": "string" + }, + "customer_device_id": { + "description": "Unique identifier of the cardholder’s device such as a device serial number (e.g., International Mobile Equipment Identity [IMEI]). Must be at least 15 characters.", + "maxLength": 5000, + "nullable": true, + "type": "string" + }, + "customer_email_address": { + "description": "The email address of the customer.", + "maxLength": 5000, + "nullable": true, + "type": "string" + }, + "customer_purchase_ip": { + "description": "The IP address that the customer used when making the purchase.", + "maxLength": 5000, + "nullable": true, + "type": "string" + }, + "merchandise_or_services": { + "description": "Categorization of disputed payment.", + "enum": [ + "merchandise", + "services" + ], + "nullable": true, + "type": "string" + }, + "product_description": { + "description": "A description of the product or service that was sold.", + "maxLength": 150000, + "nullable": true, + "type": "string" + }, + "shipping_address": { + "anyOf": [ + { + "$ref": "#/components/schemas/transaction_shipping_address" + } + ], + "description": "The address to which a physical product was shipped. All fields are required for Visa Compelling Evidence 3.0 evidence submission.", + "nullable": true + } + }, + "required": [ + "customer_account_id", + "customer_device_fingerprint", + "customer_device_id", + "customer_email_address", + "customer_purchase_ip", + "merchandise_or_services", + "product_description", + "shipping_address" + ], + "title": "VisaCompellingEvidence3DisputedTransaction", + "type": "object", + "x-expandableFields": [ + "shipping_address" + ] + }, + "visa_compelling_evidence3_prior_undisputed_transaction": { + "description": "", + "properties": { + "charge": { + "description": "Stripe charge ID for the Visa Compelling Evidence 3.0 eligible prior charge.", + "maxLength": 5000, + "type": "string" + }, + "customer_account_id": { + "description": "User Account ID used to log into business platform. Must be recognizable by the user.", + "maxLength": 5000, + "nullable": true, + "type": "string" + }, + "customer_device_fingerprint": { + "description": "Unique identifier of the cardholder’s device derived from a combination of at least two hardware and software attributes. Must be at least 20 characters.", + "maxLength": 5000, + "nullable": true, + "type": "string" + }, + "customer_device_id": { + "description": "Unique identifier of the cardholder’s device such as a device serial number (e.g., International Mobile Equipment Identity [IMEI]). Must be at least 15 characters.", + "maxLength": 5000, + "nullable": true, + "type": "string" + }, + "customer_email_address": { + "description": "The email address of the customer.", + "maxLength": 5000, + "nullable": true, + "type": "string" + }, + "customer_purchase_ip": { + "description": "The IP address that the customer used when making the purchase.", + "maxLength": 5000, + "nullable": true, + "type": "string" + }, + "product_description": { + "description": "A description of the product or service that was sold.", + "maxLength": 150000, + "nullable": true, + "type": "string" + }, + "shipping_address": { + "anyOf": [ + { + "$ref": "#/components/schemas/transaction_shipping_address" + } + ], + "description": "The address to which a physical product was shipped. All fields are required for Visa Compelling Evidence 3.0 evidence submission.", + "nullable": true + } + }, + "required": [ + "charge", + "customer_account_id", + "customer_device_fingerprint", + "customer_device_id", + "customer_email_address", + "customer_purchase_ip", + "product_description", + "shipping_address" + ], + "title": "VisaCompellingEvidence3PriorUndisputedTransaction", + "type": "object", + "x-expandableFields": [ + "shipping_address" + ] + }, "webhook_endpoint": { "description": "You can configure [webhook endpoints](https://stripe.com/docs/webhooks/) via the API to be\nnotified about events that happen in your Stripe account or connected\naccounts.\n\nMost users configure webhooks from [the dashboard](https://dashboard.stripe.com/webhooks), which provides a user interface for registering and testing your webhook endpoints.\n\nRelated guide: [Setting up webhooks](https://stripe.com/docs/webhooks/configure)", "properties": { @@ -91773,6 +92093,437 @@ "maxLength": 5000, "type": "string" }, + "enhanced_evidence": { + "anyOf": [ + { + "properties": { + "visa_compelling_evidence_3": { + "description": "Evidence provided for Visa Compelling Evidence 3.0 evidence submission.", + "properties": { + "disputed_transaction": { + "description": "Disputed transaction details for Visa Compelling Evidence 3.0 evidence submission.", + "properties": { + "customer_account_id": { + "anyOf": [ + { + "maxLength": 5000, + "type": "string" + }, + { + "enum": [ + "" + ], + "type": "string" + } + ], + "description": "User Account ID used to log into business platform. Must be recognizable by the user." + }, + "customer_device_fingerprint": { + "anyOf": [ + { + "maxLength": 5000, + "type": "string" + }, + { + "enum": [ + "" + ], + "type": "string" + } + ], + "description": "Unique identifier of the cardholder’s device derived from a combination of at least two hardware and software attributes. Must be at least 20 characters." + }, + "customer_device_id": { + "anyOf": [ + { + "maxLength": 5000, + "type": "string" + }, + { + "enum": [ + "" + ], + "type": "string" + } + ], + "description": "Unique identifier of the cardholder’s device such as a device serial number (e.g., International Mobile Equipment Identity [IMEI]). Must be at least 15 characters." + }, + "customer_email_address": { + "anyOf": [ + { + "maxLength": 5000, + "type": "string" + }, + { + "enum": [ + "" + ], + "type": "string" + } + ], + "description": "The email address of the customer." + }, + "customer_purchase_ip": { + "anyOf": [ + { + "maxLength": 5000, + "type": "string" + }, + { + "enum": [ + "" + ], + "type": "string" + } + ], + "description": "The IP address that the customer used when making the purchase." + }, + "merchandise_or_services": { + "description": "Categorization of disputed payment.", + "enum": [ + "merchandise", + "services" + ], + "type": "string" + }, + "product_description": { + "anyOf": [ + { + "maxLength": 5000, + "type": "string" + }, + { + "enum": [ + "" + ], + "type": "string" + } + ], + "description": "A description of the product or service that was sold." + }, + "shipping_address": { + "description": "The address to which a physical product was shipped. All fields are required for Visa Compelling Evidence 3.0 evidence submission.", + "properties": { + "city": { + "anyOf": [ + { + "maxLength": 5000, + "type": "string" + }, + { + "enum": [ + "" + ], + "type": "string" + } + ], + "description": "City, district, suburb, town, or village." + }, + "country": { + "anyOf": [ + { + "maxLength": 5000, + "type": "string" + }, + { + "enum": [ + "" + ], + "type": "string" + } + ], + "description": "Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))." + }, + "line1": { + "anyOf": [ + { + "maxLength": 5000, + "type": "string" + }, + { + "enum": [ + "" + ], + "type": "string" + } + ], + "description": "Address line 1 (e.g., street, PO Box, or company name)." + }, + "line2": { + "anyOf": [ + { + "maxLength": 5000, + "type": "string" + }, + { + "enum": [ + "" + ], + "type": "string" + } + ], + "description": "Address line 2 (e.g., apartment, suite, unit, or building)." + }, + "postal_code": { + "anyOf": [ + { + "maxLength": 5000, + "type": "string" + }, + { + "enum": [ + "" + ], + "type": "string" + } + ], + "description": "ZIP or postal code." + }, + "state": { + "anyOf": [ + { + "maxLength": 5000, + "type": "string" + }, + { + "enum": [ + "" + ], + "type": "string" + } + ], + "description": "State, county, province, or region." + } + }, + "title": "shipping_address", + "type": "object" + } + }, + "title": "visa_compelling_evidence3_disputed_transaction", + "type": "object" + }, + "prior_undisputed_transactions": { + "description": "List of exactly two prior undisputed transaction objects for Visa Compelling Evidence 3.0 evidence submission.", + "items": { + "properties": { + "charge": { + "description": "Stripe charge ID for the Visa Compelling Evidence 3.0 eligible prior charge.", + "maxLength": 5000, + "type": "string" + }, + "customer_account_id": { + "anyOf": [ + { + "maxLength": 5000, + "type": "string" + }, + { + "enum": [ + "" + ], + "type": "string" + } + ], + "description": "User Account ID used to log into business platform. Must be recognizable by the user." + }, + "customer_device_fingerprint": { + "anyOf": [ + { + "maxLength": 5000, + "type": "string" + }, + { + "enum": [ + "" + ], + "type": "string" + } + ], + "description": "Unique identifier of the cardholder’s device derived from a combination of at least two hardware and software attributes. Must be at least 20 characters." + }, + "customer_device_id": { + "anyOf": [ + { + "maxLength": 5000, + "type": "string" + }, + { + "enum": [ + "" + ], + "type": "string" + } + ], + "description": "Unique identifier of the cardholder’s device such as a device serial number (e.g., International Mobile Equipment Identity [IMEI]). Must be at least 15 characters." + }, + "customer_email_address": { + "anyOf": [ + { + "maxLength": 5000, + "type": "string" + }, + { + "enum": [ + "" + ], + "type": "string" + } + ], + "description": "The email address of the customer." + }, + "customer_purchase_ip": { + "anyOf": [ + { + "maxLength": 5000, + "type": "string" + }, + { + "enum": [ + "" + ], + "type": "string" + } + ], + "description": "The IP address that the customer used when making the purchase." + }, + "product_description": { + "anyOf": [ + { + "maxLength": 5000, + "type": "string" + }, + { + "enum": [ + "" + ], + "type": "string" + } + ], + "description": "A description of the product or service that was sold." + }, + "shipping_address": { + "description": "The address to which a physical product was shipped. All fields are required for Visa Compelling Evidence 3.0 evidence submission.", + "properties": { + "city": { + "anyOf": [ + { + "maxLength": 5000, + "type": "string" + }, + { + "enum": [ + "" + ], + "type": "string" + } + ], + "description": "City, district, suburb, town, or village." + }, + "country": { + "anyOf": [ + { + "maxLength": 5000, + "type": "string" + }, + { + "enum": [ + "" + ], + "type": "string" + } + ], + "description": "Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))." + }, + "line1": { + "anyOf": [ + { + "maxLength": 5000, + "type": "string" + }, + { + "enum": [ + "" + ], + "type": "string" + } + ], + "description": "Address line 1 (e.g., street, PO Box, or company name)." + }, + "line2": { + "anyOf": [ + { + "maxLength": 5000, + "type": "string" + }, + { + "enum": [ + "" + ], + "type": "string" + } + ], + "description": "Address line 2 (e.g., apartment, suite, unit, or building)." + }, + "postal_code": { + "anyOf": [ + { + "maxLength": 5000, + "type": "string" + }, + { + "enum": [ + "" + ], + "type": "string" + } + ], + "description": "ZIP or postal code." + }, + "state": { + "anyOf": [ + { + "maxLength": 5000, + "type": "string" + }, + { + "enum": [ + "" + ], + "type": "string" + } + ], + "description": "State, county, province, or region." + } + }, + "title": "shipping_address", + "type": "object" + } + }, + "required": [ + "charge" + ], + "title": "visa_compelling_evidence3_prior_undisputed_transaction", + "type": "object" + }, + "type": "array" + } + }, + "title": "visa_compelling_evidence3", + "type": "object" + } + }, + "title": "enhanced_evidence", + "type": "object" + }, + { + "enum": [ + "" + ], + "type": "string" + } + ], + "description": "Additional evidence for qualifying evidence programs." + }, "product_description": { "description": "A description of the product or service that was sold. Has a maximum character count of 20,000.", "maxLength": 20000,