All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.braintreegateway.ValidationErrorCode Maven / Gradle / Ivy

package com.braintreegateway;

/**
 * An Enum representing all of the validation errors from the gateway.
 */
public enum ValidationErrorCode {

    ADDRESS_CANNOT_BE_BLANK("81801"),
    ADDRESS_COMPANY_IS_INVALID("91821"),
    ADDRESS_COMPANY_IS_TOO_LONG("81802"),
    ADDRESS_COUNTRY_CODE_ALPHA2_IS_NOT_ACCEPTED("91814"),
    ADDRESS_COUNTRY_CODE_ALPHA3_IS_NOT_ACCEPTED("91816"),
    ADDRESS_COUNTRY_CODE_NUMERIC_IS_NOT_ACCEPTED("91817"),
    ADDRESS_COUNTRY_NAME_IS_NOT_ACCEPTED("91803"),
    ADDRESS_EXTENDED_ADDRESS_IS_INVALID("91823"),
    ADDRESS_EXTENDED_ADDRESS_IS_TOO_LONG("81804"),
    ADDRESS_FIRST_NAME_IS_INVALID("91819"),
    ADDRESS_FIRST_NAME_IS_TOO_LONG("81805"),
    ADDRESS_INCONSISTENT_COUNTRY("91815"),
    ADDRESS_IS_INVALID("91828"),
    ADDRESS_LAST_NAME_IS_INVALID("91820"),
    ADDRESS_LAST_NAME_IS_TOO_LONG("81806"),
    ADDRESS_LOCALITY_IS_INVALID("91824"),
    ADDRESS_LOCALITY_IS_TOO_LONG("81807"),
    ADDRESS_POSTAL_CODE_INVALID_CHARACTERS("81813"),
    ADDRESS_POSTAL_CODE_IS_INVALID("91826"),
    ADDRESS_POSTAL_CODE_IS_REQUIRED("81808"),
    ADDRESS_POSTAL_CODE_IS_REQUIRED_FOR_CARD_BRAND_AND_PROCESSOR("81828"),
    ADDRESS_POSTAL_CODE_IS_TOO_LONG("81809"),
    ADDRESS_REGION_IS_INVALID("91825"),
    ADDRESS_REGION_IS_TOO_LONG("81810"),
    ADDRESS_STATE_IS_INVALID_FOR_SELLER_PROTECTION("81827"),
    ADDRESS_STREET_ADDRESS_IS_INVALID("91822"),
    ADDRESS_STREET_ADDRESS_IS_REQUIRED("81811"),
    ADDRESS_STREET_ADDRESS_IS_TOO_LONG("81812"),
    ADDRESS_TOO_MANY_ADDRESSES_PER_CUSTOMER("91818"),

    ADJUSTMENT_AMOUNT_MUST_BE_GREATER_THAN_ZERO("95605"),

    APPLE_PAY_CARDS_ARE_NOT_ACCEPTED("83501"),
    APPLE_PAY_CUSTOMER_ID_IS_REQUIRED_FOR_VAULTING("83502"),
    APPLE_PAY_TOKEN_IS_IN_USE("93503"),
    APPLE_PAY_PAYMENT_METHOD_NONCE_CONSUMED("93504"),
    APPLE_PAY_PAYMENT_METHOD_NONCE_UNKNOWN("93505"),
    APPLE_PAY_PAYMENT_METHOD_NONCE_LOCKED("93506"),
    APPLE_PAY_PAYMENT_METHOD_NONCE_CARD_TYPE_IS_NOT_ACCEPTED("83518"),
    APPLE_PAY_CANNOT_UPDATE_APPLE_PAY_CARD_USING_PAYMENT_METHOD_NONCE("93507"),
    APPLE_PAY_NUMBER_IS_REQUIRED("93508"),
    APPLE_PAY_EXPIRATION_MONTH_IS_REQUIRED("93509"),
    APPLE_PAY_EXPIRATION_YEAR_IS_REQUIRED("93510"),
    APPLE_PAY_CRYPTOGRAM_IS_REQUIRED("93511"),
    APPLE_PAY_DECRYPTION_FAILED("83512"),
    APPLE_PAY_DISABLED("93513"),
    APPLE_PAY_MERCHANT_NOT_CONFIGURED("93514"),
    APPLE_PAY_MERCHANT_KEYS_ALREADY_CONFIGURED("93515"),
    APPLE_PAY_MERCHANT_KEYS_NOT_CONFIGURED("93516"),
    APPLE_PAY_CERTIFICATE_INVALID("93517"),
    APPLE_PAY_CERTIFICATE_MISMATCH("93519"),
    APPLE_PAY_INVALID_TOKEN("83520"),
    APPLE_PAY_PRIVATE_KEY_MISMATCH("93521"),
    APPLE_PAY_KEY_MISMATCH_STORING_CERTIFICATE("93522"),

    AUTHORIZATION_FINGERPRINT_MISSING_FINGERPRINT("93201"),
    AUTHORIZATION_FINGERPRINT_INVALID_FORMAT("93202"),
    AUTHORIZATION_FINGERPRINT_SIGNATURE_REVOKED("93203"),
    AUTHORIZATION_FINGERPRINT_INVALID_CREATED_AT("93204"),
    AUTHORIZATION_FINGERPRINT_INVALID_PUBLIC_KEY("93205"),
    AUTHORIZATION_FINGERPRINT_INVALID_SIGNATURE("93206"),
    AUTHORIZATION_FINGERPRINT_OPTIONS_NOT_ALLOWED_WITHOUT_CUSTOMER("93207"),

    CLIENT_TOKEN_MAKE_DEFAULT_REQUIRES_CUSTOMER_ID("92801"),
    CLIENT_TOKEN_VERIFY_CARD_REQUIRES_CUSTOMER_ID("92802"),
    CLIENT_TOKEN_FAIL_ON_DUPLICATE_PAYMENT_METHOD_REQUIRES_CUSTOMER_ID("92803"),
    CLIENT_TOKEN_CUSTOMER_DOES_NOT_EXIST("92804"),
    CLIENT_TOKEN_PROXY_MERCHANT_DOES_NOT_EXIST("92805"),
    CLIENT_TOKEN_UNSUPPORTED_VERSION("92806"),
    CLIENT_TOKEN_MERCHANT_ACCOUNT_DOES_NOT_EXIST("92807"),

    CREDIT_CARD_BILLING_ADDRESS_CONFLICT("91701"),
    CREDIT_CARD_BILLING_ADDRESS_FORMAT_IS_INVALID("91744"),
    CREDIT_CARD_BILLING_ADDRESS_ID_IS_INVALID("91702"),
    CREDIT_CARD_CANNOT_UPDATE_CARD_USING_PAYMENT_METHOD_NONCE("91735"),
    CREDIT_CARD_CARDHOLDER_NAME_IS_TOO_LONG("81723"),
    CREDIT_CARD_CREDIT_CARD_TYPE_IS_NOT_ACCEPTED("81703"),
    CREDIT_CARD_CREDIT_CARD_TYPE_IS_NOT_ACCEPTED_BY_SUBSCRIPTION_MERCHANT_ACCOUNT("81718"),
    CREDIT_CARD_CUSTOMER_ID_IS_INVALID("91705"),
    CREDIT_CARD_CUSTOMER_ID_IS_REQUIRED("91704"),
    CREDIT_CARD_CVV_IS_INVALID("81707"),
    CREDIT_CARD_CVV_IS_REQUIRED("81706"),
    CREDIT_CARD_CVV_VERIFICATION_FAILED("81736"),
    CREDIT_CARD_DUPLICATE_CARD_EXISTS("81724"),
    CREDIT_CARD_EXPIRATION_DATE_CONFLICT("91708"),
    CREDIT_CARD_EXPIRATION_DATE_IS_INVALID("81710"),
    CREDIT_CARD_EXPIRATION_DATE_IS_REQUIRED("81709"),
    CREDIT_CARD_EXPIRATION_DATE_YEAR_IS_INVALID("81711"),
    CREDIT_CARD_EXPIRATION_MONTH_IS_INVALID("81712"),
    CREDIT_CARD_EXPIRATION_YEAR_IS_INVALID("81713"),
    CREDIT_CARD_INVALID_PARAMS_FOR_CREDIT_CARD_UPDATE("91745"),
    CREDIT_CARD_INVALID_VENMO_SDK_PAYMENT_METHOD_CODE("91727"),
    CREDIT_CARD_NUMBER_HAS_INVALID_LENGTH("81716"),
    CREDIT_CARD_NUMBER_IS_INVALID("81715"),
    CREDIT_CARD_NUMBER_IS_PROHIBITED("81750"),
    CREDIT_CARD_NUMBER_IS_REQUIRED("81714"),
    CREDIT_CARD_NUMBER_LENGTH_IS_INVALID("81716"),
    CREDIT_CARD_NUMBER_MUST_BE_TEST_NUMBER("81717"),
    CREDIT_CARD_OPTIONS_UPDATE_EXISTING_TOKEN_IS_INVALID("91723"),
    CREDIT_CARD_OPTIONS_UPDATE_EXISTING_TOKEN_NOT_ALLOWED("91729"),
    CREDIT_CARD_OPTIONS_VERIFICATION_AMOUNT_CANNOT_BE_NEGATIVE("91739"),
    CREDIT_CARD_OPTIONS_VERIFICATION_AMOUNT_FORMAT_IS_INVALID("91740"),
    CREDIT_CARD_OPTIONS_VERIFICATION_AMOUNT_IS_TOO_LARGE("91752"),
    CREDIT_CARD_OPTIONS_VERIFICATION_AMOUNT_NOT_SUPPORTED_BY_PROCESSOR("91741"),
    CREDIT_CARD_OPTIONS_VERIFICATION_MERCHANT_ACCOUNT_ID_IS_INVALID("91728"),
    CREDIT_CARD_OPTIONS_VERIFICATION_MERCHANT_ACCOUNT_IS_FORBIDDEN("91743"),
    CREDIT_CARD_OPTIONS_VERIFICATION_MERCHANT_ACCOUNT_IS_SUSPENDED("91742"),
    CREDIT_CARD_OPTIONS_VERIFICATION_MERCHANT_ACCOUNT_CANNOT_BE_SUB_MERCHANT_ACCOUNT("91755"),
    CREDIT_CARD_OPTIONS_VERIFICATION_ACCOUNT_TYPE_IS_INVALID("91757"),
    CREDIT_CARD_OPTIONS_VERIFICATION_ACCOUNT_TYPE_NOT_SUPPORTED("91758"),
    CREDIT_CARD_OPTIONS_VERIFICATION_INVALID_PRESENTMENT_CURRENCY("91760"),
    CREDIT_CARD_PAYMENT_METHOD_CONFLICT("81725"),
    CREDIT_CARD_PAYMENT_METHOD_IS_NOT_A_CREDIT_CARD("91738"),
    CREDIT_CARD_PAYMENT_METHOD_NONCE_CARD_TYPE_IS_NOT_ACCEPTED("91734"),
    CREDIT_CARD_PAYMENT_METHOD_NONCE_CONSUMED("91731"),
    CREDIT_CARD_PAYMENT_METHOD_NONCE_LOCKED("91733"),
    CREDIT_CARD_PAYMENT_METHOD_NONCE_UNKNOWN("91732"),
    CREDIT_CARD_POSTAL_CODE_VERIFICATION_FAILED("81737"),
    CREDIT_CARD_TOKEN_FORMAT_IS_INVALID("91718"),
    CREDIT_CARD_TOKEN_INVALID("91718"),
    CREDIT_CARD_TOKEN_IS_IN_USE("91719"),
    CREDIT_CARD_TOKEN_IS_NOT_ALLOWED("91721"),
    CREDIT_CARD_TOKEN_IS_REQUIRED("91722"),
    CREDIT_CARD_TOKEN_IS_TOO_LONG("91720"),
    CREDIT_CARD_VENMO_SDK_PAYMENT_METHOD_CODE_CARD_TYPE_IS_NOT_ACCEPTED("91726"),
    CREDIT_CARD_VERIFICATION_NOT_SUPPORTED_ON_THIS_MERCHANT_ACCOUNT("91730"),

    CUSTOMER_COMPANY_IS_TOO_LONG("81601"),
    CUSTOMER_CUSTOM_FIELD_IS_INVALID("91602"),
    CUSTOMER_CUSTOM_FIELD_IS_TOO_LONG("81603"),
    CUSTOMER_EMAIL_FORMAT_IS_INVALID("81604"),
    CUSTOMER_EMAIL_IS_INVALID("81604"),
    CUSTOMER_EMAIL_IS_REQUIRED("81606"),
    CUSTOMER_EMAIL_IS_TOO_LONG("81605"),
    CUSTOMER_FAX_IS_TOO_LONG("81607"),
    CUSTOMER_FIRST_NAME_IS_TOO_LONG("81608"),
    CUSTOMER_ID_IS_IN_USE("91609"),
    CUSTOMER_ID_IS_NOT_ALLOWED("91611"),
    CUSTOMER_ID_IS_REQUIRED("91613"),
    CUSTOMER_ID_IS_TOO_LONG("91612"),
    CUSTOMER_LAST_NAME_IS_TOO_LONG("81613"),
    CUSTOMER_PHONE_IS_TOO_LONG("81614"),
    CUSTOMER_VAULTED_PAYMENT_INSTRUMENT_NONCE_BELONGS_TO_DIFFERENT_CUSTOMER("91617"),
    CUSTOMER_WEBSITE_FORMAT_IS_INVALID("81616"),
    CUSTOMER_WEBSITE_IS_INVALID("81616"),
    CUSTOMER_WEBSITE_IS_TOO_LONG("81615"),

    DESCRIPTOR_DYNAMIC_DESCRIPTORS_DISABLED("92203"),
    DESCRIPTOR_INTERNATIONAL_NAME_FORMAT_IS_INVALID("92204"),
    DESCRIPTOR_INTERNATIONAL_PHONE_FORMAT_IS_INVALID("92205"),
    DESCRIPTOR_NAME_FORMAT_IS_INVALID("92201"),
    DESCRIPTOR_PHONE_FORMAT_IS_INVALID("92202"),
    DESCRIPTOR_URL_FORMAT_IS_INVALID("92206"),

    DISPUTE_CAN_ONLY_ADD_EVIDENCE_TO_OPEN_DISPUTE("95701"),
    DISPUTE_CAN_ONLY_REMOVE_EVIDENCE_FROM_OPEN_DISPUTE("95702"),
    DISPUTE_CAN_ONLY_ADD_EVIDENCE_DOCUMENT_TO_DISPUTE("95703"),
    DISPUTE_CAN_ONLY_ACCEPT_OPEN_DISPUTE("95704"),
    DISPUTE_CAN_ONLY_FINALIZE_OPEN_DISPUTE("95705"),
    DISPUTE_CAN_ONLY_CREATE_EVIDENCE_WITH_VALID_CATEGORY("95706"),
    DISPUTE_EVIDENCE_CONTENT_DATE_INVALID("95707"),
    DISPUTE_EVIDENCE_CONTENT_TOO_LONG("95708"),
    DISPUTE_EVIDENCE_CONTENT_ARN_TOO_LONG("95709"),
    DISPUTE_EVIDENCE_CONTENT_PHONE_TOO_LONG("95710"),
    DISPUTE_EVIDENCE_CATEGORY_TEXT_ONLY("95711"),
    DISPUTE_EVIDENCE_CATEGORY_DOCUMENT_ONLY("95712"),
    DISPUTE_EVIDENCE_CATEGORY_NOT_FOR_REASON_CODE("95713"),
    DISPUTE_EVIDENCE_CATEGORY_DUPLICATE("95714"),
    DISPUTE_EVIDENCE_CONTENT_EMAIL_INVALID("95715"),

    DISPUTE_DIGITAL_GOODS_MISSING_EVIDENCE("95720"),
    DISPUTE_DIGITAL_GOODS_MISSING_DOWNLOAD_DATE("95721"),
    DISPUTE_NON_DISPUTED_PRIOR_TRANSACTION_EVIDENCE_MISSING_ARN("95722"),
    DISPUTE_NON_DISPUTED_PRIOR_TRANSACTION_EVIDENCE_MISSING_DATE("95723"),
    DISPUTE_RECURRING_TRANSACTION_EVIDENCE_MISSING_DATE("95724"),
    DISPUTE_RECURRING_TRANSACTION_EVIDENCE_MISSING_ARN("95725"),
    DISPUTE_VALID_EVIDENCE_REQUIRED_TO_FINALIZE("95726"),

    EXCHANGE_RATE_QUOTE_ID_TOO_LONG("915229"),

    FAILED_AUTH_ADJUSTMENT_ALLOW_RETRY("95603"),
    FAILED_AUTH_ADJUSTMENT_HARD_DECLINE("95602"),
    FINAL_AUTH_SUBMIT_FOR_SETTLEMENT_FOR_DIFFERENT_AMOUNT("95601"),

    INDUSTRY_DATA_LEG_TRAVEL_FLIGHT_ARRIVAL_AIRPORT_CODE_IS_TOO_LONG("96301"),
    INDUSTRY_DATA_LEG_TRAVEL_FLIGHT_ARRIVAL_TIME_FORMAT_IS_INVALID("96302"),
    INDUSTRY_DATA_LEG_TRAVEL_FLIGHT_CARRIER_CODE_IS_TOO_LONG("96303"),
    INDUSTRY_DATA_LEG_TRAVEL_FLIGHT_CONJUNCTION_TICKET_IS_TOO_LONG("96304"),
    INDUSTRY_DATA_LEG_TRAVEL_FLIGHT_COUPON_NUMBER_IS_TOO_LONG("96305"),
    INDUSTRY_DATA_LEG_TRAVEL_FLIGHT_DEPARTURE_AIRPORT_CODE_IS_TOO_LONG("96306"),
    INDUSTRY_DATA_LEG_TRAVEL_FLIGHT_DEPARTURE_TIME_FORMAT_IS_INVALID("96307"),
    INDUSTRY_DATA_LEG_TRAVEL_FLIGHT_EXCHANGE_TICKET_IS_TOO_LONG("96308"),
    INDUSTRY_DATA_LEG_TRAVEL_FLIGHT_FARE_AMOUNT_CANNOT_BE_NEGATIVE("96309"),
    INDUSTRY_DATA_LEG_TRAVEL_FLIGHT_FARE_AMOUNT_FORMAT_IS_INVALID("96310"),
    INDUSTRY_DATA_LEG_TRAVEL_FLIGHT_FARE_AMOUNT_IS_TOO_LARGE("96311"),
    INDUSTRY_DATA_LEG_TRAVEL_FLIGHT_FARE_BASIS_CODE_IS_TOO_LONG("96312"),
    INDUSTRY_DATA_LEG_TRAVEL_FLIGHT_FEE_AMOUNT_CANNOT_BE_NEGATIVE("96313"),
    INDUSTRY_DATA_LEG_TRAVEL_FLIGHT_FEE_AMOUNT_FORMAT_IS_INVALID("96314"),
    INDUSTRY_DATA_LEG_TRAVEL_FLIGHT_FEE_AMOUNT_IS_TOO_LARGE("96315"),
    INDUSTRY_DATA_LEG_TRAVEL_FLIGHT_SERVICE_CLASS_IS_TOO_LONG("96316"),
    INDUSTRY_DATA_LEG_TRAVEL_FLIGHT_TAX_AMOUNT_CANNOT_BE_NEGATIVE("96317"),
    INDUSTRY_DATA_LEG_TRAVEL_FLIGHT_TAX_AMOUNT_FORMAT_IS_INVALID("96318"),
    INDUSTRY_DATA_LEG_TRAVEL_FLIGHT_TAX_AMOUNT_IS_TOO_LARGE("96319"),
    INDUSTRY_DATA_LEG_TRAVEL_FLIGHT_TICKET_NUMBER_IS_TOO_LONG("96320"),

    INDUSTRY_DATA_INDUSTRY_TYPE_IS_INVALID("93401"),
    INDUSTRY_DATA_LODGING_EMPTY_DATA("93402"),
    INDUSTRY_DATA_LODGING_FOLIO_NUMBER_IS_INVALID("93403"),
    INDUSTRY_DATA_LODGING_CHECK_IN_DATE_IS_INVALID("93404"),
    INDUSTRY_DATA_LODGING_CHECK_OUT_DATE_IS_INVALID("93405"),
    INDUSTRY_DATA_LODGING_CHECK_OUT_DATE_MUST_FOLLOW_CHECK_IN_DATE("93406"),
    INDUSTRY_DATA_LODGING_UNKNOWN_DATA_FIELD("93407"),
    INDUSTRY_DATA_TRAVEL_CRUISE_EMPTY_DATA("93408"),
    INDUSTRY_DATA_TRAVEL_CRUISE_UNKNOWN_DATA_FIELD("93409"),
    INDUSTRY_DATA_TRAVEL_CRUISE_TRAVEL_PACKAGE_IS_INVALID("93410"),
    INDUSTRY_DATA_TRAVEL_CRUISE_DEPARTURE_DATE_IS_INVALID("93411"),
    INDUSTRY_DATA_TRAVEL_CRUISE_LODGING_CHECK_IN_DATE_IS_INVALID("93412"),
    INDUSTRY_DATA_TRAVEL_CRUISE_LODGING_CHECKOUT_DATE_IS_INVALID("93413"),
    INDUSTRY_DATA_TRAVEL_FLIGHT_EMPTY_DATA("93414"),
    INDUSTRY_DATA_TRAVEL_FLIGHT_UNKNOWN_DATA_FIELD("93415"),
    INDUSTRY_DATA_TRAVEL_FLIGHT_CUSTOMER_CODE_IS_TOO_LONG("93416"),
    INDUSTRY_DATA_TRAVEL_FLIGHT_FARE_AMOUNT_CANNOT_BE_NEGATIVE("93417"),
    INDUSTRY_DATA_TRAVEL_FLIGHT_FARE_AMOUNT_FORMAT_IS_INVALID("93418"),
    INDUSTRY_DATA_TRAVEL_FLIGHT_FARE_AMOUNT_IS_TOO_LARGE("93419"),
    INDUSTRY_DATA_TRAVEL_FLIGHT_FEE_AMOUNT_CANNOT_BE_NEGATIVE("93420"),
    INDUSTRY_DATA_TRAVEL_FLIGHT_FEE_AMOUNT_FORMAT_IS_INVALID("93421"),
    INDUSTRY_DATA_TRAVEL_FLIGHT_FEE_AMOUNT_IS_TOO_LARGE("93422"),
    INDUSTRY_DATA_TRAVEL_FLIGHT_ISSUED_DATE_FORMAT_IS_INVALID("93423"),
    INDUSTRY_DATA_TRAVEL_FLIGHT_ISSUING_CARRIER_CODE_IS_TOO_LONG("93424"),
    INDUSTRY_DATA_TRAVEL_FLIGHT_PASSENGER_MIDDLE_INITIAL_IS_TOO_LONG("93425"),
    INDUSTRY_DATA_TRAVEL_FLIGHT_RESTRICTED_TICKET_IS_REQUIRED("93426"),
    INDUSTRY_DATA_TRAVEL_FLIGHT_TAX_AMOUNT_CANNOT_BE_NEGATIVE("93427"),
    INDUSTRY_DATA_TRAVEL_FLIGHT_TAX_AMOUNT_FORMAT_IS_INVALID("93428"),
    INDUSTRY_DATA_TRAVEL_FLIGHT_TAX_AMOUNT_IS_TOO_LARGE("93429"),
    INDUSTRY_DATA_TRAVEL_FLIGHT_TICKET_NUMBER_IS_TOO_LONG("93430"),
    INDUSTRY_DATA_TRAVEL_FLIGHT_LEGS_EXPECTED("93431"),
    INDUSTRY_DATA_TRAVEL_FLIGHT_TOO_MANY_LEGS("93432"),
    INDUSTRY_DATA_LODGING_ROOM_RATE_MUST_BE_GREATER_THAN_ZERO("93433"),
    INDUSTRY_DATA_LODGING_ROOM_RATE_FORMAT_IS_INVALID("93434"),
    INDUSTRY_DATA_LODGING_ROOM_RATE_IS_TOO_LARGE("93435"),
    INDUSTRY_DATA_LODGING_ROOM_TAX_MUST_BE_GREATER_THAN_ZERO("93436"),
    INDUSTRY_DATA_LODGING_ROOM_TAX_FORMAT_IS_INVALID("93437"),
    INDUSTRY_DATA_LODGING_ROOM_TAX_IS_TOO_LARGE("93438"),
    INDUSTRY_DATA_LODGING_NO_SHOW_INIDICATOR_IS_INVALID("93439"),
    INDUSTRY_DATA_LODGING_ADVANCED_DEPOSIT_INIDICATOR_IS_INVALID("93440"),
    INDUSTRY_DATA_LODGING_FIRE_SAFETY_INIDICATOR_IS_INVALID("93441"),
    INDUSTRY_DATA_LODGING_PROPERTY_PHONE_IS_INVALID("93442"),

    INDUSTRY_DATA_ADDITIONAL_CHARGE_KIND_IS_INVALID("96601"),
    INDUSTRY_DATA_ADDITIONAL_CHARGE_KIND_MUST_BE_UNIQUE("96602"),
    INDUSTRY_DATA_ADDITIONAL_CHARGE_AMOUNT_MUST_BE_GREATER_THAN_ZERO("96603"),
    INDUSTRY_DATA_ADDITIONAL_CHARGE_AMOUNT_FORMAT_IS_INVALID("96604"),
    INDUSTRY_DATA_ADDITIONAL_CHARGE_AMOUNT_IS_TOO_LARGE("96605"),
    INDUSTRY_DATA_ADDITIONAL_CHARGE_AMOUNT_IS_REQUIRED("96606"),

    NO_NET_AMOUNT_TO_PERFORM_AUTH_ADJUSTMENT("95606"),

    TRANSACTION_LINE_ITEM_COMMODITY_CODE_IS_TOO_LONG("95801"),
    TRANSACTION_LINE_ITEM_DESCRIPTION_IS_TOO_LONG("95803"),
    TRANSACTION_LINE_ITEM_DISCOUNT_AMOUNT_FORMAT_IS_INVALID("95804"),
    TRANSACTION_LINE_ITEM_DISCOUNT_AMOUNT_IS_TOO_LARGE("95805"),
    TRANSACTION_LINE_ITEM_DISCOUNT_AMOUNT_CANNOT_BE_NEGATIVE("95806"),
    TRANSACTION_LINE_ITEM_KIND_IS_INVALID("95807"),
    TRANSACTION_LINE_ITEM_KIND_IS_REQUIRED("95808"),
    TRANSACTION_LINE_ITEM_NAME_IS_REQUIRED("95822"),
    TRANSACTION_LINE_ITEM_NAME_IS_TOO_LONG("95823"),
    TRANSACTION_LINE_ITEM_PRODUCT_CODE_IS_TOO_LONG("95809"),
    TRANSACTION_LINE_ITEM_QUANTITY_FORMAT_IS_INVALID("95810"),
    TRANSACTION_LINE_ITEM_QUANTITY_IS_REQUIRED("95811"),
    TRANSACTION_LINE_ITEM_QUANTITY_IS_TOO_LARGE("95812"),
    TRANSACTION_LINE_ITEM_TOTAL_AMOUNT_FORMAT_IS_INVALID("95813"),
    TRANSACTION_LINE_ITEM_TOTAL_AMOUNT_IS_REQUIRED("95814"),
    TRANSACTION_LINE_ITEM_TOTAL_AMOUNT_IS_TOO_LARGE("95815"),
    TRANSACTION_LINE_ITEM_TOTAL_AMOUNT_MUST_BE_GREATER_THAN_ZERO("95816"),
    TRANSACTION_LINE_ITEM_UNIT_AMOUNT_FORMAT_IS_INVALID("95817"),
    TRANSACTION_LINE_ITEM_UNIT_AMOUNT_IS_REQUIRED("95818"),
    TRANSACTION_LINE_ITEM_UNIT_AMOUNT_IS_TOO_LARGE("95819"),
    TRANSACTION_LINE_ITEM_UNIT_AMOUNT_MUST_BE_GREATER_THAN_ZERO("95820"),
    TRANSACTION_LINE_ITEM_UNIT_OF_MEASURE_IS_TOO_LONG("95821"),
    TRANSACTION_LINE_ITEM_UNIT_TAX_AMOUNT_FORMAT_IS_INVALID("95824"),
    TRANSACTION_LINE_ITEM_UNIT_TAX_AMOUNT_IS_TOO_LARGE("95825"),
    TRANSACTION_LINE_ITEM_UNIT_TAX_AMOUNT_CANNOT_BE_NEGATIVE("95826"),
    TRANSACTION_LINE_ITEM_TAX_AMOUNT_FORMAT_IS_INVALID("95827"),
    TRANSACTION_LINE_ITEM_TAX_AMOUNT_IS_TOO_LARGE("95828"),
    TRANSACTION_LINE_ITEM_TAX_AMOUNT_CANNOT_BE_NEGATIVE("95829"),
    TRANSACTION_SCA_EXEMPTION_IS_INVALID("915213"),

    TRANSACTION_PAYMENT_INSTRUMENT_WITH_EXTERNAL_VAULT_IS_INVALID("915176"),
    TRANSACTION_EXTERNAL_VAULT_STATUS_WITH_PREVIOUS_NETWORK_TRANSACTION_ID_IS_INVALID("915177"),
    // NEXT_MAJOR_VERSION remove this validation error as it is no longer returned by the gateway
    TRANSACTION_EXTERNAL_VAULT_CARD_TYPE_IS_INVALID("915178"),
    TRANSACTION_EXTERNAL_VAULT_PREVIOUS_NETWORK_TRANSACTION_ID_IS_INVALID("915179"),

    OAUTH_INVALID_GRANT("93801"),
    OAUTH_INVALID_CREDENTIALS("93802"),
    OAUTH_INVALID_SCOPE("93803"),
    OAUTH_INVALID_REQUEST("93804"),
    OAUTH_UNSUPPORTED_GRANT_TYPE("93805"),

    PAYMENT_METHOD_CUSTOMER_ID_IS_INVALID("93105"),
    PAYMENT_METHOD_CUSTOMER_ID_IS_REQUIRED("93104"),
    PAYMENT_METHOD_NONCE_IS_INVALID("93102"),
    PAYMENT_METHOD_PAYMENT_METHOD_PARAMS_ARE_REQUIRED("93101"),
    PAYMENT_METHOD_PARAMS_ARE_REQUIRED("93101"),
    PAYMENT_METHOD_NONCE_IS_REQUIRED("93103"),
    PAYMENT_METHOD_CANNOT_FORWARD_PAYMENT_METHOD_TYPE("93106"),
    PAYMENT_METHOD_PAYMENT_METHOD_NONCE_CONSUMED("93107"),
    PAYMENT_METHOD_PAYMENT_METHOD_NONCE_UNKNOWN("93108"),
    PAYMENT_METHOD_PAYMENT_METHOD_NONCE_LOCKED("93109"),
    PAYMENT_METHOD_NO_LONGER_SUPPORTED("93117"),
    PAYMENT_METHOD_OPTIONS_US_BANK_ACCOUNT_VERIFICATION_METHOD_IS_INVALID("93121"),

    PAYPAL_ACCOUNT_AUTH_EXPIRED("92911"),
    PAYPAL_ACCOUNT_CANNOT_HAVE_BOTH_ACCESS_TOKEN_AND_CONSENT_CODE("82903"),
    PAYPAL_ACCOUNT_CANNOT_HAVE_FUNDING_SOURCE_WITHOUT_ACCESS_TOKEN("92912"),
    PAYPAL_ACCOUNT_CANNOT_UPDATE_PAYPAL_ACCOUNT_USING_PAYMENT_METHOD_NONCE("92914"),
    PAYPAL_ACCOUNT_CANNOT_VAULT_ONE_TIME_USE_PAYPAL_ACCOUNT("82902"),
    PAYPAL_ACCOUNT_CONSENT_CODE_OR_ACCESS_TOKEN_IS_REQUIRED("82901"),
    PAYPAL_ACCOUNT_CUSTOMER_ID_IS_REQUIRED_FOR_VAULTING("82905"),
    PAYPAL_ACCOUNT_INVALID_FUNDING_SOURCE_SELECTION("92913"),
    PAYPAL_ACCOUNT_INVALID_PARAMS_FOR_PAYPAL_ACCOUNT_UPDATE("92915"),
    PAYPAL_ACCOUNT_PAYMENT_METHOD_NONCE_CONSUMED("92907"),
    PAYPAL_ACCOUNT_PAYMENT_METHOD_NONCE_LOCKED("92909"),
    PAYPAL_ACCOUNT_PAYMENT_METHOD_NONCE_UNKNOWN("92908"),
    PAYPAL_ACCOUNT_PAYPAL_ACCOUNTS_ARE_NOT_ACCEPTED("82904"),
    PAYPAL_ACCOUNT_PAYPAL_COMMUNICATION_ERROR("92910"),
    PAYPAL_ACCOUNT_TOKEN_IS_IN_USE("92906"),

    PROCESSOR_DOES_NOT_SUPPORT_AUTH_ADJUSTMENT("915222"),
    PROCESSOR_DOES_NOT_SUPPORT_INCREMENTAL_AUTH("915220"),
    PROCESSOR_DOES_NOT_SUPPORT_PARTIAL_AUTH_REVERSAL("915221"),

    DOCUMENT_UPLOAD_KIND_IS_INVALID("84901"),
    DOCUMENT_UPLOAD_FILE_IS_TOO_LARGE("84902"),
    DOCUMENT_UPLOAD_FILE_TYPE_IS_INVALID("84903"),
    DOCUMENT_UPLOAD_FILE_IS_MALFORMED_OR_ENCRYPTED("84904"),
    DOCUMENT_UPLOAD_FILE_IS_TOO_LONG("84905"),
    DOCUMENT_UPLOAD_FILE_IS_EMPTY("84906"),

    SETTLEMENT_BATCH_SUMMARY_SETTLEMENT_DATE_IS_INVALID("82302"),
    SETTLEMENT_BATCH_SUMMARY_SETTLEMENT_DATE_IS_REQUIRED("82301"),
    SETTLEMENT_BATCH_SUMMARY_CUSTOM_FIELD_IS_INVALID("82303"),

    SUBSCRIPTION_BILLING_DAY_OF_MONTH_CANNOT_BE_UPDATED("91918"),
    SUBSCRIPTION_BILLING_DAY_OF_MONTH_IS_INVALID("91914"),
    SUBSCRIPTION_BILLING_DAY_OF_MONTH_MUST_BE_NUMERIC("91913"),
    SUBSCRIPTION_CANNOT_ADD_DUPLICATE_ADDON_OR_DISCOUNT("91911"),
    SUBSCRIPTION_CANNOT_EDIT_CANCELED_SUBSCRIPTION("81901"),
    SUBSCRIPTION_CANNOT_EDIT_EXPIRED_SUBSCRIPTION("81910"),
    SUBSCRIPTION_CANNOT_EDIT_PRICE_CHANGING_FIELDS_ON_PAST_DUE_SUBSCRIPTION("91920"),
    SUBSCRIPTION_FIRST_BILLING_DATE_CANNOT_BE_IN_THE_PAST("91916"),
    SUBSCRIPTION_FIRST_BILLING_DATE_CANNOT_BE_UPDATED("91919"),
    SUBSCRIPTION_FIRST_BILLING_DATE_IS_INVALID("91915"),
    SUBSCRIPTION_ID_IS_IN_USE("81902"),
    SUBSCRIPTION_INCONSISTENT_NUMBER_OF_BILLING_CYCLES("91908"),
    SUBSCRIPTION_INCONSISTENT_START_DATE("91917"),
    SUBSCRIPTION_INVALID_REQUEST_FORMAT("91921"),
    SUBSCRIPTION_MERCHANT_ACCOUNT_DOES_NOT_SUPPORT_INSTRUMENT_TYPE("91930"),
    SUBSCRIPTION_MERCHANT_ACCOUNT_ID_IS_INVALID("91901"),
    SUBSCRIPTION_MISMATCH_CURRENCY_ISO_CODE("91923"),
    SUBSCRIPTION_MODIFICATION_ID_TO_REMOVE_IS_INVALID("92025"),
    SUBSCRIPTION_NUMBER_OF_BILLING_CYCLES_CANNOT_BE_BLANK("91912"),
    SUBSCRIPTION_NUMBER_OF_BILLING_CYCLES_IS_TOO_SMALL("91909"),
    SUBSCRIPTION_NUMBER_OF_BILLING_CYCLES_MUST_BE_GREATER_THAN_ZERO("91907"),
    SUBSCRIPTION_NUMBER_OF_BILLING_CYCLES_MUST_BE_NUMERIC("91906"),
    SUBSCRIPTION_PAYMENT_METHOD_NONCE_CARD_TYPE_IS_NOT_ACCEPTED("91924"),
    SUBSCRIPTION_PAYMENT_METHOD_NONCE_INSTRUMENT_TYPE_DOES_NOT_SUPPORT_SUBSCRIPTIONS("91929"),
    SUBSCRIPTION_PAYMENT_METHOD_NONCE_IS_INVALID("91925"),
    SUBSCRIPTION_PAYMENT_METHOD_NONCE_NOT_ASSOCIATED_WITH_CUSTOMER("91926"),
    SUBSCRIPTION_PAYMENT_METHOD_NONCE_UNVAULTED_CARD_IS_NOT_ACCEPTED("91927"),
    SUBSCRIPTION_PAYMENT_METHOD_TOKEN_CARD_TYPE_IS_NOT_ACCEPTED("91902"),
    SUBSCRIPTION_PAYMENT_METHOD_TOKEN_INSTRUMENT_TYPE_DOES_NOT_SUPPORT_SUBSCRIPTIONS("91928"),
    SUBSCRIPTION_PAYMENT_METHOD_TOKEN_IS_INVALID("91903"),
    SUBSCRIPTION_PAYMENT_METHOD_TOKEN_NOT_ASSOCIATED_WITH_CUSTOMER("91905"),
    SUBSCRIPTION_PLAN_BILLING_FREQUENCY_CANNOT_BE_UPDATED("91922"),
    SUBSCRIPTION_PLAN_ID_IS_INVALID("91904"),
    SUBSCRIPTION_PRICE_CANNOT_BE_BLANK("81903"),
    SUBSCRIPTION_PRICE_FORMAT_IS_INVALID("81904"),
    SUBSCRIPTION_PRICE_IS_TOO_LARGE("81923"),
    SUBSCRIPTION_STATUS_IS_CANCELED("81905"),
    SUBSCRIPTION_TOKEN_FORMAT_IS_INVALID("81906"),
    SUBSCRIPTION_TRIAL_DURATION_FORMAT_IS_INVALID("81907"),
    SUBSCRIPTION_TRIAL_DURATION_IS_REQUIRED("81908"),
    SUBSCRIPTION_TRIAL_DURATION_UNIT_IS_INVALID("81909"),

    SUBSCRIPTION_MODIFICATION_AMOUNT_CANNOT_BE_BLANK("92003"),
    SUBSCRIPTION_MODIFICATION_AMOUNT_IS_INVALID("92002"),
    SUBSCRIPTION_MODIFICATION_AMOUNT_IS_TOO_LARGE("92023"),
    SUBSCRIPTION_MODIFICATION_CANNOT_EDIT_MODIFICATIONS_ON_PAST_DUE_SUBSCRIPTION("92022"),
    SUBSCRIPTION_MODIFICATION_CANNOT_UPDATE_AND_REMOVE("92015"),
    SUBSCRIPTION_MODIFICATION_EXISTING_ID_IS_INCORRECT_KIND("92020"),
    SUBSCRIPTION_MODIFICATION_EXISTING_ID_IS_INVALID("92011"),
    SUBSCRIPTION_MODIFICATION_EXISTING_ID_IS_REQUIRED("92012"),
    SUBSCRIPTION_MODIFICATION_ID_TO_REMOVE_IS_INCORRECT_KIND("92021"),
    SUBSCRIPTION_MODIFICATION_ID_TO_REMOVE_IS_NOT_PRESENT("92016"),
    SUBSCRIPTION_MODIFICATION_INCONSISTENT_NUMBER_OF_BILLING_CYCLES("92018"),
    SUBSCRIPTION_MODIFICATION_INHERITED_FROM_ID_IS_INVALID("92013"),
    SUBSCRIPTION_MODIFICATION_INHERITED_FROM_ID_IS_REQUIRED("92014"),
    SUBSCRIPTION_MODIFICATION_MISSING("92024"),
    SUBSCRIPTION_MODIFICATION_NUMBER_OF_BILLING_CYCLES_CANNOT_BE_BLANK("92017"),
    SUBSCRIPTION_MODIFICATION_NUMBER_OF_BILLING_CYCLES_IS_INVALID("92005"),
    SUBSCRIPTION_MODIFICATION_NUMBER_OF_BILLING_CYCLES_MUST_BE_GREATER_THAN_ZERO("92019"),
    SUBSCRIPTION_MODIFICATION_QUANTITY_CANNOT_BE_BLANK("92004"),
    SUBSCRIPTION_MODIFICATION_QUANTITY_IS_INVALID("92001"),
    SUBSCRIPTION_MODIFICATION_QUANTITY_MUST_BE_GREATER_THAN_ZERO("92010"),

    TRANSACTION_AMOUNT_CANNOT_BE_NEGATIVE("81501"),
    TRANSACTION_AMOUNT_DOES_NOT_MATCH3_D_SECURE_AMOUNT("91585"),
    TRANSACTION_AMOUNT_FORMAT_IS_INVALID("81503"),
    TRANSACTION_AMOUNT_IS_INVALID("81503"),
    TRANSACTION_AMOUNT_IS_REQUIRED("81502"),
    TRANSACTION_AMOUNT_IS_TOO_LARGE("81528"),
    TRANSACTION_AMOUNT_MUST_BE_GREATER_THAN_ZERO("81531"),
    TRANSACTION_AMOUNT_NOT_SUPPORTED_BY_PROCESSOR("815193"),
    TRANSACTION_BILLING_ADDRESS_CONFLICT("91530"),
    TRANSACTION_CANNOT_BE_VOIDED("91504"),
    TRANSACTION_CANNOT_CANCEL_RELEASE("91562"),
    TRANSACTION_CANNOT_CLONE_CREDIT("91543"),
    TRANSACTION_CANNOT_CLONE_MARKETPLACE_TRANSACTION("915137"),
    TRANSACTION_CANNOT_CLONE_TRANSACTION_WITH_PAYPAL_ACCOUNT("91573"),
    TRANSACTION_CANNOT_CLONE_TRANSACTION_WITH_VAULT_CREDIT_CARD("91540"),
    TRANSACTION_CANNOT_CLONE_UNSUCCESSFUL_TRANSACTION("91542"),
    TRANSACTION_CANNOT_CLONE_VOICE_AUTHORIZATIONS("91541"),
    TRANSACTION_CANNOT_HOLD_IN_ESCROW("91560"),
    TRANSACTION_CANNOT_PARTIALLY_REFUND_ESCROWED_TRANSACTION("91563"),
    TRANSACTION_CANNOT_REFUND_CREDIT("91505"),
    TRANSACTION_CANNOT_REFUND_SETTLING_TRANSACTION("91574"),
    TRANSACTION_CANNOT_REFUND_UNLESS_SETTLED("91506"),
    TRANSACTION_CANNOT_REFUND_WITH_PENDING_MERCHANT_ACCOUNT("91559"),
    TRANSACTION_CANNOT_REFUND_WITH_SUSPENDED_MERCHANT_ACCOUNT("91538"),
    TRANSACTION_CANNOT_RELEASE_FROM_ESCROW("91561"),
    TRANSACTION_CANNOT_SUBMIT_FOR_PARTIAL_SETTLEMENT("915103"),
    TRANSACTION_CANNOT_SUBMIT_FOR_SETTLEMENT("91507"),
    TRANSACTION_CANNOT_UPDATE_DETAILS_NOT_SUBMITTED_FOR_SETTLEMENT("915129"),
    TRANSACTION_CHANNEL_IS_TOO_LONG("91550"),
    TRANSACTION_CREDIT_CARD_IS_REQUIRED("91508"),
    TRANSACTION_CUSTOM_FIELD_IS_INVALID("91526"),
    TRANSACTION_CUSTOM_FIELD_IS_TOO_LONG("81527"),
    TRANSACTION_CUSTOMER_DEFAULT_PAYMENT_METHOD_CARD_TYPE_IS_NOT_ACCEPTED("81509"),
    TRANSACTION_CUSTOMER_DOES_NOT_HAVE_CREDIT_CARD("91511"),
    TRANSACTION_CUSTOMER_ID_IS_INVALID("91510"),
    TRANSACTION_HAS_ALREADY_BEEN_REFUNDED("91512"),
    TRANSACTION_TOO_MANY_LINE_ITEMS("915157"),
    TRANSACTION_LINE_ITEMS_EXPECTED("915158"),
    TRANSACTION_DISCOUNT_AMOUNT_FORMAT_IS_INVALID("915159"),
    TRANSACTION_DISCOUNT_AMOUNT_CANNOT_BE_NEGATIVE("915160"),
    TRANSACTION_DISCOUNT_AMOUNT_IS_TOO_LARGE("915161"),
    TRANSACTION_IS_NOT_ELIGIBLE_FOR_ADJUSTMENT("915219"),
    TRANSACTION_SHIPPING_AMOUNT_FORMAT_IS_INVALID("915162"),
    TRANSACTION_SHIPPING_AMOUNT_CANNOT_BE_NEGATIVE("915163"),
    TRANSACTION_SHIPPING_AMOUNT_IS_TOO_LARGE("915164"),
    TRANSACTION_SHIPS_FROM_POSTAL_CODE_IS_TOO_LONG("915165"),
    TRANSACTION_SHIPS_FROM_POSTAL_CODE_IS_INVALID("915166"),
    TRANSACTION_SHIPS_FROM_POSTAL_CODE_INVALID_CHARACTERS("915167"),
    TRANSACTION_MERCHANT_ACCOUNT_DOES_NOT_MATCH3_D_SECURE_MERCHANT_ACCOUNT("91584"),
    TRANSACTION_MERCHANT_ACCOUNT_DOES_NOT_SUPPORT_MOTO("91558"),
    TRANSACTION_MERCHANT_ACCOUNT_DOES_NOT_SUPPORT_REFUNDS("91547"),
    TRANSACTION_MERCHANT_ACCOUNT_ID_DOES_NOT_MATCH_SUBSCRIPTION("915180"),
    TRANSACTION_MERCHANT_ACCOUNT_ID_IS_INVALID("91513"),
    TRANSACTION_MERCHANT_ACCOUNT_IS_SUSPENDED("91514"),
    TRANSACTION_MUST_BE_IN_STATE_AUTHORIZED("915218"),
    TRANSACTION_OPTIONS_PAY_PAL_CUSTOM_FIELD_TOO_LONG("91580"),
    TRANSACTION_OPTIONS_SUBMIT_FOR_SETTLEMENT_IS_REQUIRED_FOR_CLONING("91544"),
    TRANSACTION_OPTIONS_SUBMIT_FOR_SETTLEMENT_IS_REQUIRED_FOR_PAYPAL_UNILATERAL("91582"),
    TRANSACTION_OPTIONS_USE_BILLING_FOR_SHIPPING_DISABLED("91572"),
    TRANSACTION_OPTIONS_VAULT_IS_DISABLED("91525"),
    TRANSACTION_OPTIONS_CREDIT_CARD_ACCOUNT_TYPE_IS_INVALID("915184"),
    TRANSACTION_OPTIONS_CREDIT_CARD_ACCOUNT_TYPE_NOT_SUPPORTED("915185"),
    TRANSACTION_OPTIONS_CREDIT_CARD_ACCOUNT_TYPE_DEBIT_DOES_NOT_SUPPORT_AUTHS("915186"),
    TRANSACTION_INVALID_PRESENTMENT_CURRENCY("915214"),
    TRANSACTION_ORDER_ID_IS_TOO_LONG("91501"),
    TRANSACTION_PAY_PAL_AUTH_EXPIRED("91579"),
    TRANSACTION_PAY_PAL_VAULT_RECORD_MISSING_DATA("91583"),
    TRANSACTION_PAYMENT_INSTRUMENT_NOT_SUPPORTED_BY_MERCHANT_ACCOUNT("91577"),
    TRANSACTION_PAYMENT_INSTRUMENT_TYPE_IS_NOT_ACCEPTED("915101"),
    TRANSACTION_PAYMENT_METHOD_CONFLICT("91515"),
    TRANSACTION_PAYMENT_METHOD_CONFLICT_WITH_VENMO_SDK("91549"),
    TRANSACTION_PAYMENT_METHOD_DOES_NOT_BELONG_TO_CUSTOMER("91516"),
    TRANSACTION_PAYMENT_METHOD_DOES_NOT_BELONG_TO_SUBSCRIPTION("91527"),
    TRANSACTION_PAYMENT_METHOD_NONCE_CARD_TYPE_IS_NOT_ACCEPTED("91567"),
    TRANSACTION_PAYMENT_METHOD_NONCE_CONSUMED("91564"),
    TRANSACTION_PAYMENT_METHOD_NONCE_HAS_NO_VALID_PAYMENT_INSTRUMENT_TYPE("91569"),
    TRANSACTION_PAYMENT_METHOD_NONCE_LOCKED("91566"),
    TRANSACTION_PAYMENT_METHOD_NONCE_UNKNOWN("91565"),
    TRANSACTION_PAYMENT_METHOD_TOKEN_CARD_TYPE_IS_NOT_ACCEPTED("91517"),
    TRANSACTION_PAYMENT_METHOD_TOKEN_IS_INVALID("91518"),
    TRANSACTION_PAYPAL_NOT_ENABLED("91576"),
    TRANSACTION_PROCESSOR_AUTHORIZATION_CODE_CANNOT_BE_SET("91519"),
    TRANSACTION_PROCESSOR_AUTHORIZATION_CODE_IS_INVALID("81520"),
    TRANSACTION_PROCESSOR_DOES_NOT_SUPPORT_AUTHS("915104"),
    TRANSACTION_PROCESSOR_DOES_NOT_SUPPORT_CREDITS("91546"),
    TRANSACTION_PROCESSOR_DOES_NOT_SUPPORT_MOTO_FOR_CARD_TYPE("915195"),
    TRANSACTION_PROCESSOR_DOES_NOT_SUPPORT_PARTIAL_SETTLEMENT("915102"),
    TRANSACTION_PROCESSOR_DOES_NOT_SUPPORT_UPDATING_DESCRIPTOR("915108"),
    TRANSACTION_PROCESSOR_DOES_NOT_SUPPORT_UPDATING_DETAILS("915130"),
    TRANSACTION_PROCESSOR_DOES_NOT_SUPPORT_UPDATING_ORDER_ID("915107"),
    TRANSACTION_PROCESSOR_DOES_NOT_SUPPORT_VOICE_AUTHORIZATIONS("91545"),
    TRANSACTION_PRODUCT_SKU_IS_INVALID("915202"),
    TRANSACTION_PURCHASE_ORDER_NUMBER_IS_INVALID("91548"),
    TRANSACTION_PURCHASE_ORDER_NUMBER_IS_TOO_LONG("91537"),
    TRANSACTION_REFUND_AMOUNT_IS_TOO_LARGE("91521"),
    TRANSACTION_REFUND_AUTH_HARD_DECLINED("915200"),
    TRANSACTION_REFUND_AUTH_SOFT_DECLINED("915201"),
    TRANSACTION_SHIPPING_PHONE_NUMBER_IS_INVALID("915204"),
    TRANSACTION_BILLING_PHONE_NUMBER_IS_INVALID("915206"),
    TRANSACTION_SERVICE_FEE_AMOUNT_CANNOT_BE_NEGATIVE("91554"),
    TRANSACTION_SERVICE_FEE_AMOUNT_FORMAT_IS_INVALID("91555"),
    TRANSACTION_SERVICE_FEE_AMOUNT_IS_TOO_LARGE("91556"),
    TRANSACTION_SERVICE_FEE_AMOUNT_NOT_ALLOWED_ON_MASTER_MERCHANT_ACCOUNT("91557"),
    TRANSACTION_SERVICE_FEE_IS_NOT_ALLOWED_ON_CREDITS("91552"),
    TRANSACTION_SERVICE_FEE_NOT_ACCEPTED_FOR_PAYPAL("91578"),
    TRANSACTION_SETTLEMENT_AMOUNT_IS_LESS_THAN_SERVICE_FEE_AMOUNT("91551"),
    TRANSACTION_SETTLEMENT_AMOUNT_IS_TOO_LARGE("91522"),
    TRANSACTION_SHIPPING_ADDRESS_DOESNT_MATCH_CUSTOMER("91581"),
    TRANSACTION_SUB_MERCHANT_ACCOUNT_REQUIRES_SERVICE_FEE_AMOUNT("91553"),
    TRANSACTION_SUBSCRIPTION_DOES_NOT_BELONG_TO_CUSTOMER("91529"),
    TRANSACTION_SUBSCRIPTION_ID_IS_INVALID("91528"),
    TRANSACTION_SUBSCRIPTION_STATUS_MUST_BE_PAST_DUE("91531"),
    TRANSACTION_TAX_AMOUNT_CANNOT_BE_NEGATIVE("81534"),
    TRANSACTION_TAX_AMOUNT_FORMAT_IS_INVALID("81535"),
    TRANSACTION_TAX_AMOUNT_IS_REQUIRED_FOR_AIB_SWEDISH("815224"),
    TRANSACTION_TAX_AMOUNT_IS_TOO_LARGE("81536"),
    TRANSACTION_US_BANK_ACCOUNT_NONCE_MUST_BE_PLAID_VERIFIED("915171"),
    TRANSACTION_US_BANK_ACCOUNT_NOT_VERIFIED("915172"),

    TRANSACTION_THREE_D_SECURE_AUTHENTICATION_FAILED("81571"),
    TRANSACTION_THREE_D_SECURE_TOKEN_IS_INVALID("91568"),
    TRANSACTION_THREE_D_SECURE_TRANSACTION_DATA_DOESNT_MATCH_VERIFY("91570"),
    TRANSACTION_THREE_D_SECURE_AUTHENTICATION_ID_IS_INVALID("915196"),
    TRANSACTION_THREE_D_SECURE_TRANSACTION_PAYMENT_METHOD_DOESNT_MATCH_THREE_D_SECURE_AUTHENTICATION_PAYMENT_METHOD("915197"),
    TRANSACTION_THREE_D_SECURE_AUTHENTICATION_ID_DOESNT_MATCH_NONCE_THREE_D_SECURE_AUTHENTICATION("915198"),
    TRANSACTION_THREE_D_SECURE_AUTHENTICATION_ID_WITH_THREE_D_SECURE_PASSTHRU_IS_INVALID("915199"),

    TRANSACTION_THREE_D_SECURE_PASS_THRU_ECI_FLAG_IS_REQUIRED("915113"),
    TRANSACTION_THREE_D_SECURE_PASS_THRU_CAVV_IS_REQUIRED("915116"),
    TRANSACTION_THREE_D_SECURE_PASS_THRU_XID_IS_REQUIRED("915115"),
    TRANSACTION_THREE_D_SECURE_PASS_THRU_ECI_FLAG_IS_INVALID("915114"),
    TRANSACTION_THREE_D_SECURE_PASS_THRU_MERCHANT_ACCOUNT_DOES_NOT_SUPPORT_CARD_TYPE("915131"),
    TRANSACTION_THREE_D_SECURE_PASS_THRU_AUTHENTICATION_RESPONSE_IS_INVALID("915120"),
    TRANSACTION_THREE_D_SECURE_PASS_THRU_DIRECTORY_RESPONSE_IS_INVALID("915121"),
    TRANSACTION_THREE_D_SECURE_PASS_THRU_CAVV_ALGORITHM_IS_INVALID("915122"),

    TRANSACTION_TYPE_IS_INVALID("91523"),
    TRANSACTION_TYPE_IS_REQUIRED("91524"),
    TRANSACTION_UNSUPPORTED_VOICE_AUTHORIZATION("91539"),

    TRANSACTION_TRANSACTION_SOURCE_IS_INVALID("915133"),

    TRANSACTION_CANNOT_SIMULATE_SETTLEMENT("91575"),

    US_BANK_ACCOUNT_VERIFICATION_NOT_CONFIRMABLE("96101"),
    US_BANK_ACCOUNT_VERIFICATION_MUST_BE_MICRO_TRANSFERS_VERIFICATION("96102"),
    US_BANK_ACCOUNT_VERIFICATION_AMOUNTS_DO_NOT_MATCH("96103"),
    US_BANK_ACCOUNT_VERIFICATION_TOO_MANY_CONFIRMATION_ATTEMPTS("96104"),
    US_BANK_ACCOUNT_VERIFICATION_UNABLE_TO_CONFIRM_DEPOSIT_AMOUNTS("96105"),
    US_BANK_ACCOUNT_VERIFICATION_INVALID_DEPOSIT_AMOUNTS("96106"),

    VERIFICATION_OPTIONS_AMOUNT_CANNOT_BE_NEGATIVE("94201"),
    VERIFICATION_OPTIONS_AMOUNT_FORMAT_IS_INVALID("94202"),
    VERIFICATION_OPTIONS_AMOUNT_IS_TOO_LARGE("94207"),
    VERIFICATION_OPTIONS_AMOUNT_NOT_SUPPORTED_BY_PROCESSOR("94203"),
    VERIFICATION_OPTIONS_MERCHANT_ACCOUNT_ID_IS_INVALID("94204"),
    VERIFICATION_OPTIONS_MERCHANT_ACCOUNT_IS_SUSPENDED("94205"),
    VERIFICATION_OPTIONS_MERCHANT_ACCOUNT_IS_FORBIDDEN("94206"),
    VERIFICATION_OPTIONS_MERCHANT_ACCOUNT_CANNOT_BE_SUB_MERCHANT_ACCOUNT("94208"),
    VERIFICATION_OPTIONS_ACCOUNT_TYPE_IS_INVALID("942184"),
    VERIFICATION_OPTIONS_ACCOUNT_TYPE_NOT_SUPPORTED("942185"),

    VERIFICATION_THREE_D_SECURE_AUTHENTICATION_FAILED("94271"),
    VERIFICATION_THREE_D_SECURE_TOKEN_IS_INVALID("94268"),
    VERIFICATION_THREE_D_SECURE_VERIFICATION_DATA_DOESNT_MATCH_VERIFY("94270"),
    VERIFICATION_THREE_D_SECURE_AUTHENTICATION_ID_IS_INVALID("942196"),
    VERIFICATION_THREE_D_SECURE_TRANSACTION_PAYMENT_METHOD_DOESNT_MATCH_THREE_D_SECURE_AUTHENTICATION_PAYMENT_METHOD("942197"),
    VERIFICATION_THREE_D_SECURE_AUTHENTICATION_ID_DOESNT_MATCH_NONCE_THREE_D_SECURE_AUTHENTICATION("942198"),
    VERIFICATION_THREE_D_SECURE_AUTHENTICATION_ID_WITH_THREE_D_SECURE_PASSTHRU_IS_INVALID("942199"),
    VERIFICATION_MERCHANT_ACCOUNT_DOES_NOT_SUPPORT_THREE_D_SECURE("942169"),
    VERIFICATION_MERCHANT_ACCOUNT_DOES_NOT_MATCH_THREE_D_SECURE_MERCHANT_ACCOUNT("94284"),
    VERIFICATION_AMOUNT_DOES_NOT_MATCH_THREE_D_SECURE_AMOUNT("94285"),

    VERIFICATION_THREE_D_SECURE_PASS_THRU_ECI_FLAG_IS_REQUIRED("942113"),
    VERIFICATION_THREE_D_SECURE_PASS_THRU_ECI_FLAG_IS_INVALID("942114"),
    VERIFICATION_THREE_D_SECURE_PASS_THRU_CAVV_IS_REQUIRED("942116"),
    VERIFICATION_THREE_D_SECURE_PASS_THRU_THREE_D_SECURE_VERSION_IS_INVALID("942119"),
    VERIFICATION_THREE_D_SECURE_PASS_THRU_AUTHENTICATION_RESPONSE_IS_INVALID("942120"),
    VERIFICATION_THREE_D_SECURE_PASS_THRU_DIRECTORY_RESPONSE_IS_INVALID("942121"),
    VERIFICATION_THREE_D_SECURE_PASS_THRU_CAVV_ALGORITHM_IS_INVALID("942122"),

    MERCHANT_ACCOUNT_CANNOT_BE_UPDATED("82674"),
    MERCHANT_ACCOUNT_DECLINED("82626"),
    MERCHANT_ACCOUNT_DECLINED_FAILED_KYC("82623"),
    MERCHANT_ACCOUNT_DECLINED_MASTER_CARD_MATCH("82622"),
    MERCHANT_ACCOUNT_DECLINED_OFAC("82621"),
    MERCHANT_ACCOUNT_DECLINED_SSN_INVALID("82624"),
    MERCHANT_ACCOUNT_DECLINED_SSN_MATCHES_DECEASED("82625"),
    MERCHANT_ACCOUNT_ID_CANNOT_BE_UPDATED("82675"),
    MERCHANT_ACCOUNT_ID_FORMAT_IS_INVALID("82603"),
    MERCHANT_ACCOUNT_ID_IS_IN_USE("82604"),
    MERCHANT_ACCOUNT_ID_IS_NOT_ALLOWED("82605"),
    MERCHANT_ACCOUNT_ID_IS_TOO_LONG("82602"),
    MERCHANT_ACCOUNT_MASTER_MERCHANT_ACCOUNT_ID_CANNOT_BE_UPDATED("82676"),
    MERCHANT_ACCOUNT_MASTER_MERCHANT_ACCOUNT_ID_IS_INVALID("82607"),
    MERCHANT_ACCOUNT_MASTER_MERCHANT_ACCOUNT_ID_IS_REQUIRED("82606"),
    MERCHANT_ACCOUNT_MASTER_MERCHANT_ACCOUNT_MUST_BE_ACTIVE("82608"),
    MERCHANT_ACCOUNT_TOS_ACCEPTED_IS_REQUIRED("82610"),

    MERCHANT_ACCOUNT_APPLICANT_DETAILS_ACCOUNT_NUMBER_IS_REQUIRED("82614"),
    MERCHANT_ACCOUNT_APPLICANT_DETAILS_COMPANY_NAME_IS_INVALID("82631"),
    MERCHANT_ACCOUNT_APPLICANT_DETAILS_COMPANY_NAME_IS_REQUIRED_WITH_TAX_ID("82633"),
    MERCHANT_ACCOUNT_APPLICANT_DETAILS_DATE_OF_BIRTH_IS_REQUIRED("82612"),
    MERCHANT_ACCOUNT_APPLICANT_DETAILS_EMAIL_ADDRESS_IS_INVALID("82616"),
    MERCHANT_ACCOUNT_APPLICANT_DETAILS_FIRST_NAME_IS_INVALID("82627"),
    MERCHANT_ACCOUNT_APPLICANT_DETAILS_FIRST_NAME_IS_REQUIRED("82609"),
    MERCHANT_ACCOUNT_APPLICANT_DETAILS_LAST_NAME_IS_INVALID("82628"),
    MERCHANT_ACCOUNT_APPLICANT_DETAILS_LAST_NAME_IS_REQUIRED("82611"),
    MERCHANT_ACCOUNT_APPLICANT_DETAILS_PHONE_IS_INVALID("82636"),
    MERCHANT_ACCOUNT_APPLICANT_DETAILS_ROUTING_NUMBER_IS_INVALID("82635"),
    MERCHANT_ACCOUNT_APPLICANT_DETAILS_ROUTING_NUMBER_IS_REQUIRED("82613"),
    MERCHANT_ACCOUNT_APPLICANT_DETAILS_SSN_IS_INVALID("82615"),
    MERCHANT_ACCOUNT_APPLICANT_DETAILS_TAX_ID_IS_INVALID("82632"),
    MERCHANT_ACCOUNT_APPLICANT_DETAILS_TAX_ID_IS_REQUIRED_WITH_COMPANY_NAME("82634"),
    MERCHANT_ACCOUNT_APPLICANT_DETAILS_DATE_OF_BIRTH_IS_INVALID("82663"),
    MERCHANT_ACCOUNT_APPLICANT_DETAILS_ACCOUNT_NUMBER_IS_INVALID("82670"),
    MERCHANT_ACCOUNT_APPLICANT_DETAILS_EMAIL_ADDRESS_IS_REQUIRED("82665"),
    MERCHANT_ACCOUNT_APPLICANT_DETAILS_TAX_ID_MUST_BE_BLANK("82673"),
    MERCHANT_ACCOUNT_APPLICANT_DETAILS_ADDRESS_REGION_IS_INVALID("82664"),

    MERCHANT_ACCOUNT_APPLICANT_DETAILS_ADDRESS_LOCALITY_IS_REQUIRED("82618"),
    MERCHANT_ACCOUNT_APPLICANT_DETAILS_ADDRESS_POSTAL_CODE_IS_INVALID("82630"),
    MERCHANT_ACCOUNT_APPLICANT_DETAILS_ADDRESS_POSTAL_CODE_IS_REQUIRED("82619"),
    MERCHANT_ACCOUNT_APPLICANT_DETAILS_ADDRESS_REGION_IS_REQUIRED("82620"),
    MERCHANT_ACCOUNT_APPLICANT_DETAILS_ADDRESS_STREET_ADDRESS_IS_INVALID("82629"),
    MERCHANT_ACCOUNT_APPLICANT_DETAILS_ADDRESS_STREET_ADDRESS_IS_REQUIRED("82617"),

    MERCHANT_ACCOUNT_BUSINESS_LEGAL_NAME_IS_INVALID("82677"),
    MERCHANT_ACCOUNT_BUSINESS_DBA_NAME_IS_INVALID("82646"),
    MERCHANT_ACCOUNT_BUSINESS_TAX_ID_IS_INVALID("82647"),
    MERCHANT_ACCOUNT_BUSINESS_LEGAL_NAME_IS_REQUIRED_WITH_TAX_ID("82669"),
    MERCHANT_ACCOUNT_BUSINESS_TAX_ID_IS_REQUIRED_WITH_LEGAL_NAME("82648"),
    MERCHANT_ACCOUNT_BUSINESS_TAX_ID_MUST_BE_BLANK("82672"),

    MERCHANT_ACCOUNT_BUSINESS_ADDRESS_REGION_IS_INVALID("82684"),
    MERCHANT_ACCOUNT_BUSINESS_ADDRESS_STREET_ADDRESS_IS_INVALID("82685"),
    MERCHANT_ACCOUNT_BUSINESS_ADDRESS_POSTAL_CODE_IS_INVALID("82686"),

    MERCHANT_ACCOUNT_FUNDING_ROUTING_NUMBER_IS_REQUIRED("82640"),
    MERCHANT_ACCOUNT_FUNDING_ACCOUNT_NUMBER_IS_REQUIRED("82641"),
    MERCHANT_ACCOUNT_FUNDING_ACCOUNT_NUMBER_IS_INVALID("82671"),
    MERCHANT_ACCOUNT_FUNDING_ROUTING_NUMBER_IS_INVALID("82649"),
    MERCHANT_ACCOUNT_FUNDING_DESTINATION_IS_REQUIRED("82678"),
    MERCHANT_ACCOUNT_FUNDING_DESTINATION_IS_INVALID("82679"),
    MERCHANT_ACCOUNT_FUNDING_EMAIL_IS_REQUIRED("82680"),
    MERCHANT_ACCOUNT_FUNDING_EMAIL_IS_INVALID("82681"),
    MERCHANT_ACCOUNT_FUNDING_MOBILE_PHONE_IS_REQUIRED("82682"),
    MERCHANT_ACCOUNT_FUNDING_MOBILE_PHONE_IS_INVALID("82683"),

    MERCHANT_ACCOUNT_INDIVIDUAL_FIRST_NAME_IS_REQUIRED("82637"),
    MERCHANT_ACCOUNT_INDIVIDUAL_LAST_NAME_IS_REQUIRED("82638"),
    MERCHANT_ACCOUNT_INDIVIDUAL_DATE_OF_BIRTH_IS_REQUIRED("82639"),
    MERCHANT_ACCOUNT_INDIVIDUAL_DATE_OF_BIRTH_IS_INVALID("82666"),
    MERCHANT_ACCOUNT_INDIVIDUAL_SSN_IS_INVALID("82642"),
    MERCHANT_ACCOUNT_INDIVIDUAL_EMAIL_IS_INVALID("82643"),
    MERCHANT_ACCOUNT_INDIVIDUAL_EMAIL_IS_REQUIRED("82667"),
    MERCHANT_ACCOUNT_INDIVIDUAL_FIRST_NAME_IS_INVALID("82644"),
    MERCHANT_ACCOUNT_INDIVIDUAL_LAST_NAME_IS_INVALID("82645"),
    MERCHANT_ACCOUNT_INDIVIDUAL_PHONE_IS_INVALID("82656"),

    MERCHANT_ACCOUNT_INDIVIDUAL_ADDRESS_STREET_ADDRESS_IS_REQUIRED("82657"),
    MERCHANT_ACCOUNT_INDIVIDUAL_ADDRESS_LOCALITY_IS_REQUIRED("82658"),
    MERCHANT_ACCOUNT_INDIVIDUAL_ADDRESS_POSTAL_CODE_IS_REQUIRED("82659"),
    MERCHANT_ACCOUNT_INDIVIDUAL_ADDRESS_REGION_IS_REQUIRED("82660"),
    MERCHANT_ACCOUNT_INDIVIDUAL_ADDRESS_REGION_IS_INVALID("82668"),
    MERCHANT_ACCOUNT_INDIVIDUAL_ADDRESS_STREET_ADDRESS_IS_INVALID("82661"),
    MERCHANT_ACCOUNT_INDIVIDUAL_ADDRESS_POSTAL_CODE_IS_INVALID("82662"),

    MERCHANT_EMAIL_IS_REQUIRED("83601"),
    MERCHANT_EMAIL_FORMAT_IS_INVALID("93602"),
    MERCHANT_COUNTRY_CANNOT_BE_BLANK("83603"),
    MERCHANT_COUNTRY_CODE_ALPHA3_IS_NOT_ACCEPTED("93604"),
    MERCHANT_COUNTRY_CODE_ALPHA3_IS_INVALID("93605"),
    MERCHANT_COUNTRY_CODE_ALPHA2_IS_NOT_ACCEPTED("93606"),
    MERCHANT_COUNTRY_CODE_ALPHA2_IS_INVALID("93607"),
    MERCHANT_COUNTRY_CODE_NUMERIC_IS_NOT_ACCEPTED("93608"),
    MERCHANT_COUNTRY_CODE_NUMERIC_IS_INVALID("93609"),
    MERCHANT_COUNTRY_NAME_IS_NOT_ACCEPTED("93610"),
    MERCHANT_COUNTRY_NAME_IS_INVALID("93611"),
    MERCHANT_CURRENCIES_ARE_INVALID("93614"),
    MERCHANT_INCONSISTENT_COUNTRY("93612"),
    MERCHANT_PAYMENT_METHODS_ARE_INVALID("93613"),
    MERCHANT_PAYMENT_METHODS_ARE_NOT_ALLOWED("93615"),
    MERCHANT_MERCHANT_ACCOUNT_EXISTS_FOR_CURRENCY("93616"),
    MERCHANT_CURRENCY_IS_REQUIRED("93617"),
    MERCHANT_CURRENCY_IS_INVALID("93618"),
    MERCHANT_NO_MERCHANT_ACCOUNTS("93619"),
    MERCHANT_MERCHANT_ACCOUNT_EXISTS_FOR_ID("93620"),
    MERCHANT_MERCHANT_ACCOUNT_NOT_AUTH_ONBOARDED("93621"),

    REPORT_TRANSACTION_LEVEL_FEES_UNKNOWN_MERCHANT_ACCOUNT("86201"),

    // NEXT_MAJOR_VERSION Remove CustomerBrowserIsTooLong code as it is no longer applied
    RISK_DATA_CUSTOMER_BROWSER_IS_TOO_LONG("94701"),
    RISK_DATA_CUSTOMER_DEVICE_ID_IS_TOO_LONG("94702"),
    RISK_DATA_CUSTOMER_LOCATION_ZIP_INVALID_CHARACTERS("94703"),
    RISK_DATA_CUSTOMER_LOCATION_ZIP_IS_INVALID("94704"),
    RISK_DATA_CUSTOMER_LOCATION_ZIP_IS_TOO_LONG("94705"),
    RISK_DATA_CUSTOMER_TENURE_IS_TOO_LONG("94706"),

    // Stanza should match https://developers.braintreepayments.com/reference/general/validation-errors/all/java#venmo
    VENMO_COMMON_ID_REQUIRED("84101"),
    VENMO_USERNAME_REQUIRED("84102"),
    VENMO_USER_ID_REQUIRED("84103"),
    VENMO_CUSTOMER_ID_REQUIRED("84104"),
    VENMO_ACCOUNTS_NOT_ACCEPTED_BY_MERCHANT_ACCOUNT("84105"),
    VENMO_INVALID_CUSTOMER_ID("84106"),
    REQUIRED_ATTRIBUTE_MISSING("941996"),
    ATTRIBUTE_FORMAT_INVALID("941997"),
    ATTRIBUTE_IS_UNEXPECTED("941998"),
    ATTRIBUTE_INCORRECT_TYPE("941999"),

    UNKNOWN_VALIDATION_ERROR("");

    public final String code;

    private ValidationErrorCode(String code) {
        this.code = code;
    }

    public static ValidationErrorCode findByCode(String code) {
        for (ValidationErrorCode validationErrorCode : values()) {
            if (validationErrorCode.code.equals(code)) {
                return validationErrorCode;
            }
        }
        return UNKNOWN_VALIDATION_ERROR;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy