Skip to content

Latest commit

 

History

History
244 lines (121 loc) · 6.71 KB

ErrorCode.md

File metadata and controls

244 lines (121 loc) · 6.71 KB

SquareConnect.ErrorCode

Enum

  • INTERNAL_SERVER_ERROR (value: "INTERNAL_SERVER_ERROR")

  • UNAUTHORIZED (value: "UNAUTHORIZED")

  • ACCESS_TOKEN_EXPIRED (value: "ACCESS_TOKEN_EXPIRED")

  • ACCESS_TOKEN_REVOKED (value: "ACCESS_TOKEN_REVOKED")

  • FORBIDDEN (value: "FORBIDDEN")

  • INSUFFICIENT_SCOPES (value: "INSUFFICIENT_SCOPES")

  • APPLICATION_DISABLED (value: "APPLICATION_DISABLED")

  • V1_APPLICATION (value: "V1_APPLICATION")

  • V1_ACCESS_TOKEN (value: "V1_ACCESS_TOKEN")

  • CARD_PROCESSING_NOT_ENABLED (value: "CARD_PROCESSING_NOT_ENABLED")

  • BAD_REQUEST (value: "BAD_REQUEST")

  • MISSING_REQUIRED_PARAMETER (value: "MISSING_REQUIRED_PARAMETER")

  • INCORRECT_TYPE (value: "INCORRECT_TYPE")

  • INVALID_TIME (value: "INVALID_TIME")

  • INVALID_TIME_RANGE (value: "INVALID_TIME_RANGE")

  • INVALID_VALUE (value: "INVALID_VALUE")

  • INVALID_CURSOR (value: "INVALID_CURSOR")

  • UNKNOWN_QUERY_PARAMETER (value: "UNKNOWN_QUERY_PARAMETER")

  • CONFLICTING_PARAMETERS (value: "CONFLICTING_PARAMETERS")

  • EXPECTED_JSON_BODY (value: "EXPECTED_JSON_BODY")

  • INVALID_SORT_ORDER (value: "INVALID_SORT_ORDER")

  • VALUE_REGEX_MISMATCH (value: "VALUE_REGEX_MISMATCH")

  • VALUE_TOO_SHORT (value: "VALUE_TOO_SHORT")

  • VALUE_TOO_LONG (value: "VALUE_TOO_LONG")

  • VALUE_TOO_LOW (value: "VALUE_TOO_LOW")

  • VALUE_TOO_HIGH (value: "VALUE_TOO_HIGH")

  • VALUE_EMPTY (value: "VALUE_EMPTY")

  • ARRAY_LENGTH_TOO_LONG (value: "ARRAY_LENGTH_TOO_LONG")

  • ARRAY_LENGTH_TOO_SHORT (value: "ARRAY_LENGTH_TOO_SHORT")

  • ARRAY_EMPTY (value: "ARRAY_EMPTY")

  • EXPECTED_BOOLEAN (value: "EXPECTED_BOOLEAN")

  • EXPECTED_INTEGER (value: "EXPECTED_INTEGER")

  • EXPECTED_FLOAT (value: "EXPECTED_FLOAT")

  • EXPECTED_STRING (value: "EXPECTED_STRING")

  • EXPECTED_OBJECT (value: "EXPECTED_OBJECT")

  • EXPECTED_ARRAY (value: "EXPECTED_ARRAY")

  • EXPECTED_MAP (value: "EXPECTED_MAP")

  • EXPECTED_BASE64_ENCODED_BYTE_ARRAY (value: "EXPECTED_BASE64_ENCODED_BYTE_ARRAY")

  • INVALID_ARRAY_VALUE (value: "INVALID_ARRAY_VALUE")

  • INVALID_ENUM_VALUE (value: "INVALID_ENUM_VALUE")

  • INVALID_CONTENT_TYPE (value: "INVALID_CONTENT_TYPE")

  • INVALID_FORM_VALUE (value: "INVALID_FORM_VALUE")

  • ONE_INSTRUMENT_EXPECTED (value: "ONE_INSTRUMENT_EXPECTED")

  • NO_FIELDS_SET (value: "NO_FIELDS_SET")

  • CARD_EXPIRED (value: "CARD_EXPIRED")

  • INVALID_EXPIRATION (value: "INVALID_EXPIRATION")

  • INVALID_EXPIRATION_YEAR (value: "INVALID_EXPIRATION_YEAR")

  • INVALID_EXPIRATION_DATE (value: "INVALID_EXPIRATION_DATE")

  • UNSUPPORTED_CARD_BRAND (value: "UNSUPPORTED_CARD_BRAND")

  • UNSUPPORTED_ENTRY_METHOD (value: "UNSUPPORTED_ENTRY_METHOD")

  • INVALID_ENCRYPTED_CARD (value: "INVALID_ENCRYPTED_CARD")

  • INVALID_CARD (value: "INVALID_CARD")

  • GENERIC_DECLINE (value: "GENERIC_DECLINE")

  • CVV_FAILURE (value: "CVV_FAILURE")

  • ADDRESS_VERIFICATION_FAILURE (value: "ADDRESS_VERIFICATION_FAILURE")

  • INVALID_ACCOUNT (value: "INVALID_ACCOUNT")

  • CURRENCY_MISMATCH (value: "CURRENCY_MISMATCH")

  • INSUFFICIENT_FUNDS (value: "INSUFFICIENT_FUNDS")

  • INSUFFICIENT_PERMISSIONS (value: "INSUFFICIENT_PERMISSIONS")

  • CARDHOLDER_INSUFFICIENT_PERMISSIONS (value: "CARDHOLDER_INSUFFICIENT_PERMISSIONS")

  • INVALID_LOCATION (value: "INVALID_LOCATION")

  • TRANSACTION_LIMIT (value: "TRANSACTION_LIMIT")

  • VOICE_FAILURE (value: "VOICE_FAILURE")

  • PAN_FAILURE (value: "PAN_FAILURE")

  • EXPIRATION_FAILURE (value: "EXPIRATION_FAILURE")

  • CARD_NOT_SUPPORTED (value: "CARD_NOT_SUPPORTED")

  • INVALID_PIN (value: "INVALID_PIN")

  • INVALID_POSTAL_CODE (value: "INVALID_POSTAL_CODE")

  • INVALID_FEES (value: "INVALID_FEES")

  • MANUALLY_ENTERED_PAYMENT_NOT_SUPPORTED (value: "MANUALLY_ENTERED_PAYMENT_NOT_SUPPORTED")

  • PAYMENT_LIMIT_EXCEEDED (value: "PAYMENT_LIMIT_EXCEEDED")

  • GIFT_CARD_AVAILABLE_AMOUNT (value: "GIFT_CARD_AVAILABLE_AMOUNT")

  • DELAYED_TRANSACTION_EXPIRED (value: "DELAYED_TRANSACTION_EXPIRED")

  • DELAYED_TRANSACTION_CANCELED (value: "DELAYED_TRANSACTION_CANCELED")

  • DELAYED_TRANSACTION_CAPTURED (value: "DELAYED_TRANSACTION_CAPTURED")

  • DELAYED_TRANSACTION_FAILED (value: "DELAYED_TRANSACTION_FAILED")

  • CARD_TOKEN_EXPIRED (value: "CARD_TOKEN_EXPIRED")

  • CARD_TOKEN_USED (value: "CARD_TOKEN_USED")

  • AMOUNT_TOO_HIGH (value: "AMOUNT_TOO_HIGH")

  • UNSUPPORTED_INSTRUMENT_TYPE (value: "UNSUPPORTED_INSTRUMENT_TYPE")

  • REFUND_AMOUNT_INVALID (value: "REFUND_AMOUNT_INVALID")

  • REFUND_ALREADY_PENDING (value: "REFUND_ALREADY_PENDING")

  • PAYMENT_NOT_REFUNDABLE (value: "PAYMENT_NOT_REFUNDABLE")

  • INVALID_CARD_DATA (value: "INVALID_CARD_DATA")

  • LOCATION_MISMATCH (value: "LOCATION_MISMATCH")

  • IDEMPOTENCY_KEY_REUSED (value: "IDEMPOTENCY_KEY_REUSED")

  • UNEXPECTED_VALUE (value: "UNEXPECTED_VALUE")

  • SANDBOX_NOT_SUPPORTED (value: "SANDBOX_NOT_SUPPORTED")

  • INVALID_EMAIL_ADDRESS (value: "INVALID_EMAIL_ADDRESS")

  • INVALID_PHONE_NUMBER (value: "INVALID_PHONE_NUMBER")

  • CHECKOUT_EXPIRED (value: "CHECKOUT_EXPIRED")

  • BAD_CERTIFICATE (value: "BAD_CERTIFICATE")

  • INVALID_SQUARE_VERSION_FORMAT (value: "INVALID_SQUARE_VERSION_FORMAT")

  • API_VERSION_INCOMPATIBLE (value: "API_VERSION_INCOMPATIBLE")

  • CARD_DECLINED (value: "CARD_DECLINED")

  • VERIFY_CVV_FAILURE (value: "VERIFY_CVV_FAILURE")

  • VERIFY_AVS_FAILURE (value: "VERIFY_AVS_FAILURE")

  • CARD_DECLINED_CALL_ISSUER (value: "CARD_DECLINED_CALL_ISSUER")

  • CARD_DECLINED_VERIFICATION_REQUIRED (value: "CARD_DECLINED_VERIFICATION_REQUIRED")

  • BAD_EXPIRATION (value: "BAD_EXPIRATION")

  • CHIP_INSERTION_REQUIRED (value: "CHIP_INSERTION_REQUIRED")

  • ALLOWABLE_PIN_TRIES_EXCEEDED (value: "ALLOWABLE_PIN_TRIES_EXCEEDED")

  • RESERVATION_DECLINED (value: "RESERVATION_DECLINED")

  • NOT_FOUND (value: "NOT_FOUND")

  • APPLE_PAYMENT_PROCESSING_CERTIFICATE_HASH_NOT_FOUND (value: "APPLE_PAYMENT_PROCESSING_CERTIFICATE_HASH_NOT_FOUND")

  • METHOD_NOT_ALLOWED (value: "METHOD_NOT_ALLOWED")

  • NOT_ACCEPTABLE (value: "NOT_ACCEPTABLE")

  • REQUEST_TIMEOUT (value: "REQUEST_TIMEOUT")

  • CONFLICT (value: "CONFLICT")

  • GONE (value: "GONE")

  • REQUEST_ENTITY_TOO_LARGE (value: "REQUEST_ENTITY_TOO_LARGE")

  • UNSUPPORTED_MEDIA_TYPE (value: "UNSUPPORTED_MEDIA_TYPE")

  • UNPROCESSABLE_ENTITY (value: "UNPROCESSABLE_ENTITY")

  • RATE_LIMITED (value: "RATE_LIMITED")

  • NOT_IMPLEMENTED (value: "NOT_IMPLEMENTED")

  • BAD_GATEWAY (value: "BAD_GATEWAY")

  • SERVICE_UNAVAILABLE (value: "SERVICE_UNAVAILABLE")

  • TEMPORARY_ERROR (value: "TEMPORARY_ERROR")

  • GATEWAY_TIMEOUT (value: "GATEWAY_TIMEOUT")