changedOutput schema / properties / dispute / anyOf
Previous value: -[
- {
- "properties": {
- "amountCents": {
- "type": "string"
- },
- "cardId": {
- "anyOf": [
- {
- "description": "UUID value wrapper.",
- "properties": {
- "value": {
- "format": "uuid",
- "type": "string"
- }
- },
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "companyId": {
- "anyOf": [
- {
- "description": "UUID value wrapper.",
- "properties": {
- "value": {
- "format": "uuid",
- "type": "string"
- }
- },
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "createdAt": {
- "anyOf": [
- {
- "format": "date-time",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "currency": {
- "type": "string"
- },
- "description": {
- "anyOf": [
- {
- "description": "Free-form description (max 5000 chars).",
- "properties": {
- "value": {
- "maxLength": 5000,
- "type": "string"
- }
- },
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "filedAt": {
- "anyOf": [
- {
- "format": "date-time",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "id": {
- "anyOf": [
- {
- "description": "UUID value wrapper.",
- "properties": {
- "value": {
- "format": "uuid",
- "type": "string"
- }
- },
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "providerDisputeId": {
- "type": "string"
- },
- "reason": {
- "enum": [
- "CARD_DISPUTE_REASON_UNSPECIFIED",
- "CARD_DISPUTE_REASON_FRAUD",
- "CARD_DISPUTE_REASON_DUPLICATE",
- "CARD_DISPUTE_REASON_PRODUCT_NOT_RECEIVED",
- "CARD_DISPUTE_REASON_PRODUCT_UNACCEPTABLE",
- "CARD_DISPUTE_REASON_INCORRECT_AMOUNT",
- "CARD_DISPUTE_REASON_SUBSCRIPTION_CANCELED",
- "CARD_DISPUTE_REASON_OTHER"
- ],
- "type": "string"
- },
- "resolvedAt": {
- "anyOf": [
- {
- "format": "date-time",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "status": {
- "enum": [
- "CARD_DISPUTE_STATUS_UNSPECIFIED",
- "CARD_DISPUTE_STATUS_FILED",
- "CARD_DISPUTE_STATUS_PENDING_REVIEW",
- "CARD_DISPUTE_STATUS_ACCEPTED",
- "CARD_DISPUTE_STATUS_WON",
- "CARD_DISPUTE_STATUS_LOST",
- "CARD_DISPUTE_STATUS_REJECTED",
- "CARD_DISPUTE_STATUS_WITHDRAWN"
- ],
- "type": "string"
- },
- "transactionId": {
- "anyOf": [
- {
- "description": "UUID value wrapper.",
- "properties": {
- "value": {
- "format": "uuid",
- "type": "string"
- }
- },
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "updatedAt": {
- "anyOf": [
- {
- "format": "date-time",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "userId": {
- "anyOf": [
- {
- "description": "UUID value wrapper.",
- "properties": {
- "value": {
- "format": "uuid",
- "type": "string"
- }
- },
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "required": [
- "id",
- "cardId",
- "companyId",
- "transactionId"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
-]New value: +[
+ {
+ "properties": {
+ "amountCents": {
+ "type": "string"
+ },
+ "cardId": {
+ "anyOf": [
+ {
+ "description": "UUID value wrapper.",
+ "properties": {
+ "value": {
+ "format": "uuid",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "companyId": {
+ "anyOf": [
+ {
+ "description": "UUID value wrapper.",
+ "properties": {
+ "value": {
+ "format": "uuid",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "createdAt": {
+ "anyOf": [
+ {
+ "format": "date-time",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "currency": {
+ "type": "string"
+ },
+ "description": {
+ "anyOf": [
+ {
+ "description": "Free-form description (max 5000 chars).",
+ "properties": {
+ "value": {
+ "maxLength": 5000,
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "events": {
+ "items": {
+ "properties": {
+ "category": {
+ "enum": [
+ "CARD_DISPUTE_EVENT_CATEGORY_UNSPECIFIED",
+ "CARD_DISPUTE_EVENT_CATEGORY_CHARGEBACK_SUBMITTED",
+ "CARD_DISPUTE_EVENT_CATEGORY_CHARGEBACK_ACCEPTED",
+ "CARD_DISPUTE_EVENT_CATEGORY_CHARGEBACK_TIMED_OUT",
+ "CARD_DISPUTE_EVENT_CATEGORY_REPRESENTED",
+ "CARD_DISPUTE_EVENT_CATEGORY_REPRESENTMENT_TIMED_OUT",
+ "CARD_DISPUTE_EVENT_CATEGORY_MERCHANT_PREARBITRATION_RECEIVED",
+ "CARD_DISPUTE_EVENT_CATEGORY_MERCHANT_PREARBITRATION_DECLINE_SUBMITTED",
+ "CARD_DISPUTE_EVENT_CATEGORY_MERCHANT_PREARBITRATION_TIMED_OUT",
+ "CARD_DISPUTE_EVENT_CATEGORY_USER_PREARBITRATION_SUBMITTED",
+ "CARD_DISPUTE_EVENT_CATEGORY_USER_PREARBITRATION_ACCEPTED",
+ "CARD_DISPUTE_EVENT_CATEGORY_USER_PREARBITRATION_DECLINED",
+ "CARD_DISPUTE_EVENT_CATEGORY_USER_PREARBITRATION_TIMED_OUT",
+ "CARD_DISPUTE_EVENT_CATEGORY_USER_WITHDRAWAL_SUBMITTED"
+ ],
+ "type": "string"
+ },
+ "detail": {
+ "anyOf": [
+ {
+ "description": "Free-form description (max 5000 chars).",
+ "properties": {
+ "value": {
+ "maxLength": 5000,
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "occurredAt": {
+ "anyOf": [
+ {
+ "format": "date-time",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "filedAt": {
+ "anyOf": [
+ {
+ "format": "date-time",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "id": {
+ "anyOf": [
+ {
+ "description": "UUID value wrapper.",
+ "properties": {
+ "value": {
+ "format": "uuid",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "providerDisputeId": {
+ "type": "string"
+ },
+ "reason": {
+ "enum": [
+ "CARD_DISPUTE_REASON_UNSPECIFIED",
+ "CARD_DISPUTE_REASON_FRAUD",
+ "CARD_DISPUTE_REASON_DUPLICATE",
+ "CARD_DISPUTE_REASON_PRODUCT_NOT_RECEIVED",
+ "CARD_DISPUTE_REASON_PRODUCT_UNACCEPTABLE",
+ "CARD_DISPUTE_REASON_INCORRECT_AMOUNT",
+ "CARD_DISPUTE_REASON_SUBSCRIPTION_CANCELED",
+ "CARD_DISPUTE_REASON_OTHER",
+ "CARD_DISPUTE_REASON_SERVICES_NOT_RECEIVED",
+ "CARD_DISPUTE_REASON_SERVICES_UNACCEPTABLE",
+ "CARD_DISPUTE_REASON_COUNTERFEIT_MERCHANDISE"
+ ],
+ "type": "string"
+ },
+ "resolvedAt": {
+ "anyOf": [
+ {
+ "format": "date-time",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "status": {
+ "enum": [
+ "CARD_DISPUTE_STATUS_UNSPECIFIED",
+ "CARD_DISPUTE_STATUS_FILED",
+ "CARD_DISPUTE_STATUS_PENDING_REVIEW",
+ "CARD_DISPUTE_STATUS_ACCEPTED",
+ "CARD_DISPUTE_STATUS_WON",
+ "CARD_DISPUTE_STATUS_LOST",
+ "CARD_DISPUTE_STATUS_REJECTED",
+ "CARD_DISPUTE_STATUS_WITHDRAWN"
+ ],
+ "type": "string"
+ },
+ "transactionId": {
+ "anyOf": [
+ {
+ "description": "UUID value wrapper.",
+ "properties": {
+ "value": {
+ "format": "uuid",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "updatedAt": {
+ "anyOf": [
+ {
+ "format": "date-time",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "userId": {
+ "anyOf": [
+ {
+ "description": "UUID value wrapper.",
+ "properties": {
+ "value": {
+ "format": "uuid",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "visa": {
+ "anyOf": [
+ {
+ "properties": {
+ "authorization": {
+ "anyOf": [
+ {
+ "properties": {
+ "accountStatus": {
+ "enum": [
+ "VISA_AUTHORIZATION_ACCOUNT_STATUS_UNSPECIFIED",
+ "VISA_AUTHORIZATION_ACCOUNT_STATUS_ACCOUNT_CLOSED",
+ "VISA_AUTHORIZATION_ACCOUNT_STATUS_CREDIT_PROBLEM",
+ "VISA_AUTHORIZATION_ACCOUNT_STATUS_FRAUD"
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "canceledRecurringTransaction": {
+ "anyOf": [
+ {
+ "properties": {
+ "canceledAt": {
+ "type": "string"
+ },
+ "cancellationTarget": {
+ "enum": [
+ "VISA_CANCELLATION_TARGET_UNSPECIFIED",
+ "VISA_CANCELLATION_TARGET_ACCOUNT",
+ "VISA_CANCELLATION_TARGET_TRANSACTION"
+ ],
+ "type": "string"
+ },
+ "merchantContactApplication": {
+ "anyOf": [
+ {
+ "description": "Free-form description (max 5000 chars).",
+ "properties": {
+ "value": {
+ "maxLength": 5000,
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "merchantContactEmail": {
+ "anyOf": [
+ {
+ "description": "Free-form description (max 5000 chars).",
+ "properties": {
+ "value": {
+ "maxLength": 5000,
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "merchantContactPhone": {
+ "anyOf": [
+ {
+ "description": "Free-form description (max 5000 chars).",
+ "properties": {
+ "value": {
+ "maxLength": 5000,
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "canceledServices": {
+ "anyOf": [
+ {
+ "properties": {
+ "cardholderCancellation": {
+ "anyOf": [
+ {
+ "properties": {
+ "acceptedByMerchant": {
+ "enum": [
+ "VISA_MERCHANT_CANCELLATION_ACCEPTANCE_UNSPECIFIED",
+ "VISA_MERCHANT_CANCELLATION_ACCEPTANCE_ACCEPTED",
+ "VISA_MERCHANT_CANCELLATION_ACCEPTANCE_NOT_ACCEPTED"
+ ],
+ "type": "string"
+ },
+ "canceledAt": {
+ "type": "string"
+ },
+ "cancellationPolicyProvided": {
+ "enum": [
+ "VISA_CANCELLATION_POLICY_PROVIDED_UNSPECIFIED",
+ "VISA_CANCELLATION_POLICY_PROVIDED_PROVIDED",
+ "VISA_CANCELLATION_POLICY_PROVIDED_NOT_PROVIDED"
+ ],
+ "type": "string"
+ },
+ "reason": {
+ "anyOf": [
+ {
+ "description": "Free-form description (max 5000 chars).",
+ "properties": {
+ "value": {
+ "maxLength": 5000,
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "contractedAt": {
+ "type": "string"
+ },
+ "guaranteedReservationExplanation": {
+ "enum": [
+ "VISA_GUARANTEED_RESERVATION_EXPLANATION_UNSPECIFIED",
+ "VISA_GUARANTEED_RESERVATION_EXPLANATION_CARDHOLDER_CANCELED_PRIOR_TO_SERVICE",
+ "VISA_GUARANTEED_RESERVATION_EXPLANATION_CARDHOLDER_CANCELLATION_ATTEMPT_WITHIN_24_HOURS_OF_CONFIRMATION",
+ "VISA_GUARANTEED_RESERVATION_EXPLANATION_MERCHANT_BILLED_NO_SHOW"
+ ],
+ "type": "string"
+ },
+ "merchantResolution": {
+ "enum": [
+ "VISA_MERCHANT_RESOLUTION_UNSPECIFIED",
+ "VISA_MERCHANT_RESOLUTION_ATTEMPTED",
+ "VISA_MERCHANT_RESOLUTION_PROHIBITED_BY_LOCAL_LAW"
+ ],
+ "type": "string"
+ },
+ "purchaseExplanation": {
+ "anyOf": [
+ {
+ "description": "Free-form description (max 5000 chars).",
+ "properties": {
+ "value": {
+ "maxLength": 5000,
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "serviceType": {
+ "enum": [
+ "VISA_SERVICE_TYPE_UNSPECIFIED",
+ "VISA_SERVICE_TYPE_GUARANTEED_RESERVATION",
+ "VISA_SERVICE_TYPE_OTHER",
+ "VISA_SERVICE_TYPE_TIMESHARE"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "cardholderCancellation",
+ "purchaseExplanation"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "counterfeitMerchandise": {
+ "anyOf": [
+ {
+ "properties": {
+ "counterfeitExplanation": {
+ "anyOf": [
+ {
+ "description": "Free-form description (max 5000 chars).",
+ "properties": {
+ "value": {
+ "maxLength": 5000,
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "dispositionExplanation": {
+ "anyOf": [
+ {
+ "description": "Free-form description (max 5000 chars).",
+ "properties": {
+ "value": {
+ "maxLength": 5000,
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "orderExplanation": {
+ "anyOf": [
+ {
+ "description": "Free-form description (max 5000 chars).",
+ "properties": {
+ "value": {
+ "maxLength": 5000,
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "receivedAt": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "counterfeitExplanation",
+ "dispositionExplanation",
+ "orderExplanation"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "creditNotProcessed": {
+ "anyOf": [
+ {
+ "properties": {
+ "canceledOrReturnedAt": {
+ "type": "string"
+ },
+ "creditExpectedAt": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "fraud": {
+ "anyOf": [
+ {
+ "properties": {
+ "fraudType": {
+ "enum": [
+ "VISA_FRAUD_TYPE_UNSPECIFIED",
+ "VISA_FRAUD_TYPE_ACCOUNT_OR_CREDENTIALS_TAKEOVER",
+ "VISA_FRAUD_TYPE_CARD_NOT_RECEIVED_AS_ISSUED",
+ "VISA_FRAUD_TYPE_FRAUDULENT_APPLICATION",
+ "VISA_FRAUD_TYPE_FRAUDULENT_USE_OF_ACCOUNT_NUMBER",
+ "VISA_FRAUD_TYPE_INCORRECT_PROCESSING",
+ "VISA_FRAUD_TYPE_ISSUER_REPORTED_COUNTERFEIT",
+ "VISA_FRAUD_TYPE_LOST",
+ "VISA_FRAUD_TYPE_MANIPULATION_OF_ACCOUNT_HOLDER",
+ "VISA_FRAUD_TYPE_MERCHANT_MISREPRESENTATION",
+ "VISA_FRAUD_TYPE_MISCELLANEOUS",
+ "VISA_FRAUD_TYPE_STOLEN"
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "merchandiseClaim": {
+ "anyOf": [
+ {
+ "properties": {
+ "claim": {
+ "enum": [
+ "VISA_MERCHANDISE_CLAIM_UNSPECIFIED",
+ "VISA_MERCHANDISE_CLAIM_CANCELED",
+ "VISA_MERCHANDISE_CLAIM_DAMAGED_OR_DEFECTIVE",
+ "VISA_MERCHANDISE_CLAIM_MISREPRESENTATION",
+ "VISA_MERCHANDISE_CLAIM_QUALITY"
+ ],
+ "type": "string"
+ },
+ "expectedAt": {
+ "type": "string"
+ },
+ "issueExplanation": {
+ "anyOf": [
+ {
+ "description": "Free-form description (max 5000 chars).",
+ "properties": {
+ "value": {
+ "maxLength": 5000,
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "merchandiseDisposition": {
+ "anyOf": [
+ {
+ "description": "Free-form description (max 5000 chars).",
+ "properties": {
+ "value": {
+ "maxLength": 5000,
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "merchantResolution": {
+ "enum": [
+ "VISA_MERCHANT_RESOLUTION_UNSPECIFIED",
+ "VISA_MERCHANT_RESOLUTION_ATTEMPTED",
+ "VISA_MERCHANT_RESOLUTION_PROHIBITED_BY_LOCAL_LAW"
+ ],
+ "type": "string"
+ },
+ "purchaseExplanation": {
+ "anyOf": [
+ {
+ "description": "Free-form description (max 5000 chars).",
+ "properties": {
+ "value": {
+ "maxLength": 5000,
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "receivedAt": {
+ "type": "string"
+ },
+ "returnAttemptExplanation": {
+ "anyOf": [
+ {
+ "description": "Free-form description (max 5000 chars).",
+ "properties": {
+ "value": {
+ "maxLength": 5000,
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "returnAttemptReason": {
+ "enum": [
+ "VISA_RETURN_ATTEMPT_REASON_UNSPECIFIED",
+ "VISA_RETURN_ATTEMPT_REASON_MERCHANT_NOT_RESPONDING",
+ "VISA_RETURN_ATTEMPT_REASON_NO_RETURN_AUTHORIZATION_PROVIDED",
+ "VISA_RETURN_ATTEMPT_REASON_NO_RETURN_INSTRUCTIONS",
+ "VISA_RETURN_ATTEMPT_REASON_REQUESTED_NOT_TO_RETURN",
+ "VISA_RETURN_ATTEMPT_REASON_RETURN_NOT_ACCEPTED"
+ ],
+ "type": "string"
+ },
+ "returnMethod": {
+ "enum": [
+ "VISA_RETURN_METHOD_UNSPECIFIED",
+ "VISA_RETURN_METHOD_DHL",
+ "VISA_RETURN_METHOD_FACE_TO_FACE",
+ "VISA_RETURN_METHOD_FEDEX",
+ "VISA_RETURN_METHOD_OTHER",
+ "VISA_RETURN_METHOD_POSTAL_SERVICE",
+ "VISA_RETURN_METHOD_UPS"
+ ],
+ "type": "string"
+ },
+ "returnOutcome": {
+ "enum": [
+ "VISA_RETURN_OUTCOME_UNSPECIFIED",
+ "VISA_RETURN_OUTCOME_RETURN_ATTEMPTED",
+ "VISA_RETURN_OUTCOME_RETURNED",
+ "VISA_RETURN_OUTCOME_NOT_RETURNED"
+ ],
+ "type": "string"
+ },
+ "returnedAt": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "merchandiseNotAsDescribed": {
+ "anyOf": [
+ {
+ "properties": {
+ "merchandiseDisposition": {
+ "anyOf": [
+ {
+ "description": "Free-form description (max 5000 chars).",
+ "properties": {
+ "value": {
+ "maxLength": 5000,
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "merchantResolution": {
+ "enum": [
+ "VISA_MERCHANT_RESOLUTION_UNSPECIFIED",
+ "VISA_MERCHANT_RESOLUTION_ATTEMPTED",
+ "VISA_MERCHANT_RESOLUTION_PROHIBITED_BY_LOCAL_LAW"
+ ],
+ "type": "string"
+ },
+ "receivedAt": {
+ "type": "string"
+ },
+ "returnAttemptExplanation": {
+ "anyOf": [
+ {
+ "description": "Free-form description (max 5000 chars).",
+ "properties": {
+ "value": {
+ "maxLength": 5000,
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "returnAttemptReason": {
+ "enum": [
+ "VISA_RETURN_ATTEMPT_REASON_UNSPECIFIED",
+ "VISA_RETURN_ATTEMPT_REASON_MERCHANT_NOT_RESPONDING",
+ "VISA_RETURN_ATTEMPT_REASON_NO_RETURN_AUTHORIZATION_PROVIDED",
+ "VISA_RETURN_ATTEMPT_REASON_NO_RETURN_INSTRUCTIONS",
+ "VISA_RETURN_ATTEMPT_REASON_REQUESTED_NOT_TO_RETURN",
+ "VISA_RETURN_ATTEMPT_REASON_RETURN_NOT_ACCEPTED"
+ ],
+ "type": "string"
+ },
+ "returnMethod": {
+ "enum": [
+ "VISA_RETURN_METHOD_UNSPECIFIED",
+ "VISA_RETURN_METHOD_DHL",
+ "VISA_RETURN_METHOD_FACE_TO_FACE",
+ "VISA_RETURN_METHOD_FEDEX",
+ "VISA_RETURN_METHOD_OTHER",
+ "VISA_RETURN_METHOD_POSTAL_SERVICE",
+ "VISA_RETURN_METHOD_UPS"
+ ],
+ "type": "string"
+ },
+ "returnOutcome": {
+ "enum": [
+ "VISA_RETURN_OUTCOME_UNSPECIFIED",
+ "VISA_RETURN_OUTCOME_RETURN_ATTEMPTED",
+ "VISA_RETURN_OUTCOME_RETURNED",
+ "VISA_RETURN_OUTCOME_NOT_RETURNED"
+ ],
+ "type": "string"
+ },
+ "returnedAt": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "merchandiseNotReceived": {
+ "anyOf": [
+ {
+ "properties": {
+ "agreedLocation": {
+ "anyOf": [
+ {
+ "description": "Free-form description (max 5000 chars).",
+ "properties": {
+ "value": {
+ "maxLength": 5000,
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "canceledAt": {
+ "type": "string"
+ },
+ "cancellationOutcome": {
+ "enum": [
+ "VISA_CANCELLATION_OUTCOME_UNSPECIFIED",
+ "VISA_CANCELLATION_OUTCOME_CARDHOLDER_CANCELLATION_PRIOR_TO_EXPECTED_RECEIPT",
+ "VISA_CANCELLATION_OUTCOME_MERCHANT_CANCELLATION",
+ "VISA_CANCELLATION_OUTCOME_NO_CANCELLATION"
+ ],
+ "type": "string"
+ },
+ "delayExplanation": {
+ "anyOf": [
+ {
+ "description": "Free-form description (max 5000 chars).",
+ "properties": {
+ "value": {
+ "maxLength": 5000,
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "deliveryIssue": {
+ "enum": [
+ "VISA_DELIVERY_ISSUE_UNSPECIFIED",
+ "VISA_DELIVERY_ISSUE_DELAYED",
+ "VISA_DELIVERY_ISSUE_DELIVERED_TO_WRONG_LOCATION"
+ ],
+ "type": "string"
+ },
+ "lastExpectedReceiptAt": {
+ "type": "string"
+ },
+ "merchantResolution": {
+ "enum": [
+ "VISA_MERCHANT_RESOLUTION_UNSPECIFIED",
+ "VISA_MERCHANT_RESOLUTION_ATTEMPTED",
+ "VISA_MERCHANT_RESOLUTION_PROHIBITED_BY_LOCAL_LAW"
+ ],
+ "type": "string"
+ },
+ "purchaseInfoAndExplanation": {
+ "anyOf": [
+ {
+ "description": "Free-form description (max 5000 chars).",
+ "properties": {
+ "value": {
+ "maxLength": 5000,
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "purchaseInfoAndExplanation"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "nonReceiptOfCash": {
+ "anyOf": [
+ {
+ "properties": {},
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "octNotAccepted": {
+ "anyOf": [
+ {
+ "properties": {
+ "explanation": {
+ "anyOf": [
+ {
+ "description": "Free-form description (max 5000 chars).",
+ "properties": {
+ "value": {
+ "maxLength": 5000,
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "reason": {
+ "enum": [
+ "VISA_OCT_NOT_ACCEPTED_REASON_UNSPECIFIED",
+ "VISA_OCT_NOT_ACCEPTED_REASON_PROHIBITED_BY_LOCAL_LAWS_OR_REGULATION"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "explanation"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "processingError": {
+ "anyOf": [
+ {
+ "properties": {
+ "errorReason": {
+ "enum": [
+ "VISA_PROCESSING_ERROR_REASON_UNSPECIFIED",
+ "VISA_PROCESSING_ERROR_REASON_DUPLICATE_TRANSACTION",
+ "VISA_PROCESSING_ERROR_REASON_INCORRECT_AMOUNT",
+ "VISA_PROCESSING_ERROR_REASON_PAID_BY_OTHER_MEANS"
+ ],
+ "type": "string"
+ },
+ "expectedAmountCents": {
+ "type": "string"
+ },
+ "merchantResolution": {
+ "enum": [
+ "VISA_MERCHANT_RESOLUTION_UNSPECIFIED",
+ "VISA_MERCHANT_RESOLUTION_ATTEMPTED",
+ "VISA_MERCHANT_RESOLUTION_PROHIBITED_BY_LOCAL_LAW"
+ ],
+ "type": "string"
+ },
+ "otherFormOfPaymentEvidence": {
+ "anyOf": [
+ {
+ "description": "Free-form description (max 5000 chars).",
+ "properties": {
+ "value": {
+ "maxLength": 5000,
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "otherTransactionId": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "servicesClaim": {
+ "anyOf": [
+ {
+ "properties": {
+ "cardholderCancellation": {
+ "anyOf": [
+ {
+ "properties": {
+ "acceptedByMerchant": {
+ "enum": [
+ "VISA_MERCHANT_CANCELLATION_ACCEPTANCE_UNSPECIFIED",
+ "VISA_MERCHANT_CANCELLATION_ACCEPTANCE_ACCEPTED",
+ "VISA_MERCHANT_CANCELLATION_ACCEPTANCE_NOT_ACCEPTED"
+ ],
+ "type": "string"
+ },
+ "canceledAt": {
+ "type": "string"
+ },
+ "cancellationPolicyProvided": {
+ "enum": [
+ "VISA_CANCELLATION_POLICY_PROVIDED_UNSPECIFIED",
+ "VISA_CANCELLATION_POLICY_PROVIDED_PROVIDED",
+ "VISA_CANCELLATION_POLICY_PROVIDED_NOT_PROVIDED"
+ ],
+ "type": "string"
+ },
+ "reason": {
+ "anyOf": [
+ {
+ "description": "Free-form description (max 5000 chars).",
+ "properties": {
+ "value": {
+ "maxLength": 5000,
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "cardholderPaidToHaveWorkRedone": {
+ "enum": [
+ "VISA_YES_NO_UNSPECIFIED",
+ "VISA_YES_NO_YES",
+ "VISA_YES_NO_NO"
+ ],
+ "type": "string"
+ },
+ "claim": {
+ "enum": [
+ "VISA_SERVICES_CLAIM_UNSPECIFIED",
+ "VISA_SERVICES_CLAIM_NOT_AS_DESCRIBED",
+ "VISA_SERVICES_CLAIM_MISREPRESENTATION",
+ "VISA_SERVICES_CLAIM_QUALITY"
+ ],
+ "type": "string"
+ },
+ "issueExplanation": {
+ "anyOf": [
+ {
+ "description": "Free-form description (max 5000 chars).",
+ "properties": {
+ "value": {
+ "maxLength": 5000,
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "merchantResolution": {
+ "enum": [
+ "VISA_MERCHANT_RESOLUTION_UNSPECIFIED",
+ "VISA_MERCHANT_RESOLUTION_ATTEMPTED",
+ "VISA_MERCHANT_RESOLUTION_PROHIBITED_BY_LOCAL_LAW"
+ ],
+ "type": "string"
+ },
+ "nonFiatOrNftRelated": {
+ "enum": [
+ "VISA_YES_NO_UNSPECIFIED",
+ "VISA_YES_NO_YES",
+ "VISA_YES_NO_NO"
+ ],
+ "type": "string"
+ },
+ "ongoingNegotiations": {
+ "anyOf": [
+ {
+ "properties": {
+ "explanation": {
+ "anyOf": [
+ {
+ "description": "Free-form description (max 5000 chars).",
+ "properties": {
+ "value": {
+ "maxLength": 5000,
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "issuerFirstNotifiedAt": {
+ "type": "string"
+ },
+ "startedAt": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "explanation"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "purchaseExplanation": {
+ "anyOf": [
+ {
+ "description": "Free-form description (max 5000 chars).",
+ "properties": {
+ "value": {
+ "maxLength": 5000,
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "receivedAt": {
+ "type": "string"
+ },
+ "restaurantFoodRelated": {
+ "enum": [
+ "VISA_YES_NO_UNSPECIFIED",
+ "VISA_YES_NO_YES",
+ "VISA_YES_NO_NO"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "cardholderCancellation"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "servicesNotReceived": {
+ "anyOf": [
+ {
+ "properties": {
+ "canceledAt": {
+ "type": "string"
+ },
+ "cancellationOutcome": {
+ "enum": [
+ "VISA_CANCELLATION_OUTCOME_UNSPECIFIED",
+ "VISA_CANCELLATION_OUTCOME_CARDHOLDER_CANCELLATION_PRIOR_TO_EXPECTED_RECEIPT",
+ "VISA_CANCELLATION_OUTCOME_MERCHANT_CANCELLATION",
+ "VISA_CANCELLATION_OUTCOME_NO_CANCELLATION"
+ ],
+ "type": "string"
+ },
+ "cancellationReason": {
+ "anyOf": [
+ {
+ "description": "Free-form description (max 5000 chars).",
+ "properties": {
+ "value": {
+ "maxLength": 5000,
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "lastExpectedReceiptAt": {
+ "type": "string"
+ },
+ "merchantResolution": {
+ "enum": [
+ "VISA_MERCHANT_RESOLUTION_UNSPECIFIED",
+ "VISA_MERCHANT_RESOLUTION_ATTEMPTED",
+ "VISA_MERCHANT_RESOLUTION_PROHIBITED_BY_LOCAL_LAW"
+ ],
+ "type": "string"
+ },
+ "purchaseInfoAndExplanation": {
+ "anyOf": [
+ {
+ "description": "Free-form description (max 5000 chars).",
+ "properties": {
+ "value": {
+ "maxLength": 5000,
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "purchaseInfoAndExplanation"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "id",
+ "cardId",
+ "companyId",
+ "transactionId"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+]