PaymentErrorCode

public enum PaymentErrorCode : String, Codable

Payment error code

  • Errors for HTTP status 400 (Bad Request).

    • invalidRequest: The request cannot be processed. The reason may be incorrect query syntax, an error in the required query parameters, their absence or unsupported method.
    • notSupported: The request cannot be processed. The reason may be incorrect query syntax, an error in the required query parameters, their absence or unsupported method.
  • Errors for HTTP status 401 (Unauthorized). Authentication or authorization error.

    • invalidCredentials: Incorrect key is specified in the Authorization header.
  • Errors for HTTP status 403 (Forbidden). Operation not allowed for user.

    • forbidden: Not enough rights to perform the operation.
  • Error for HTTP status 500 (Internal Server Error). Technical Error.

    • internalServerError: Technical error.
  • Common errors.

    • mappingError: Error processing response from server.
  • The request cannot be processed. The reason may be incorrect query syntax, an error in the required query parameters, their absence or unsupported method.

    Declaration

    Swift

    case invalidRequest = "invalid_request"
  • The request cannot be processed. The reason may be incorrect query syntax, an error in the required query parameters, their absence or unsupported method.

    Declaration

    Swift

    case notSupported = "not_supported"
  • Incorrect key is specified in the Authorization header.

    Declaration

    Swift

    case invalidCredentials = "invalid_credentials"
  • Not enough rights to perform the operation.

    Declaration

    Swift

    case forbidden = "forbidden"
  • Technical error.

    Declaration

    Swift

    case internalServerError = "internal_server_error"
  • Error processing response from server

    Declaration

    Swift

    case mappingError