ErrorResponse

public struct ErrorResponse : Decodable

Error response returned by a call to the API

  • The error event ID used by Checkout.com to trace what went wrong in the transaction

    Declaration

    Swift

    public let eventId: String
  • The general code associated with the error

    Declaration

    Swift

    public let errorCode: String
  • The message describing the error

    Declaration

    Swift

    public let message: String
  • An array of validation errors

    Declaration

    Swift

    public let errors: [String]?
  • The specific code(s) associated with the error(s)

    Declaration

    Swift

    public let errorMessageCodes: [String]?