Enumerations

Last updated: 2026-05-19

Enumerations

This page lists the enums that developers most often need to look up while integrating the EPAS wrappers. It focuses on operational meaning rather than language-specific syntax.

API Result

ApiResult describes whether the wrapper was able to send, receive, and parse the request correctly.

ValueMeaning
OK / okThe request was sent and the response was parsed. This does not by itself mean the payment was approved.
ErrorInvalidParameterA supplied argument or model value was invalid.
ErrorConnectionFailureThe wrapper could not connect to the terminal.
ErrorNotConnectedThe operation requires an active terminal connection.
ErrorCommunicationsFailureThe request or response exchange failed on the transport layer.
ErrorLibraryFailureAn internal wrapper failure occurred.
ErrorParseFailureThe terminal response could not be parsed.

Error Conditions

.NET and Java expose ErrorConditions. The Swift wrapper exposes the corresponding ErrorCondition.

ValueMeaning
None / noneThe request was processed successfully.
Aborted / abortedThe request was aborted by a prior abort command.
Busy / busyThe system is busy and cannot accept the request now.
Cancel / cancelThe cardholder cancelled on the terminal.
DeviceOut / deviceOutA terminal device is out of order.
InProgress / inProgressA conflicting operation is still in progress.
LoggedOut / loggedOutThe terminal is not logged in.
MessageFormat / messageFormatThe terminal rejected the message format or a required field.
NotAllowed / notAllowedThe requested operation is not allowed in the current context.
NotFound / notFoundA referenced transaction or resource was not found.
PaymentRestriction / paymentRestrictionThe proposed card or payment method cannot be used for the requested payment.
Refusal / refusalThe payment was refused by host or card rules.
UnavailableDevice / unavailableDeviceRequired hardware is unavailable.
UnavailableService / unavailableServiceThe requested service is not supported or not configured.
InvalidCard / invalidCardThe presented card cannot be processed by the terminal configuration.
UnreachableHost / unreachableHostThe host could not be reached or did not answer in time.
WrongPIN / wrongPINPIN verification failed.
PrinterPaperOut / printerPaperOutPrinter paper is out.
PrinterFailure / printerFailureThe terminal printer has a technical problem.

Receipt and Card Interpretation Enums

These enums are especially important when printing receipts, storing audit data, or interpreting LastTransactionResponse.

EntryMethod

ValueCodeMeaning
ChipInserted / CHIP_INSERTEDCThe card was inserted into the chip reader.
Swiped / SWIPEDDThe card was swiped.
Manual / MANUALTCard data was entered manually.
Contactless / CONTACTLESSKThe card was tapped contactlessly.
Unknown / UNKNOWN?An unknown or future entry method.

VerificationMethod

ValueCodeMeaning
Signature / SIGNATURE@Cardholder was verified by signature.
PINOnline / PIN_ONLINEACardholder was verified by online PIN.
PINOffline / PIN_OFFLINEaCardholder was verified by offline PIN.
NoVerification / NO_VERIFICATION-No cardholder verification was performed.
NoCVM / NO_CVM/The terminal applied a no-CVM rule.
CVMFailed / CVM_FAILEDspaceCardholder verification failed.
Combined / COMBINEDbCombined signature and PIN rule.
ConsumerDevice / CONSUMER_DEVICE%Verification happened on a consumer device such as a phone.

AuthorisationChannel

ValueCodeMeaning
Online / ONLINE1The transaction was authorised online.
Offline / OFFLINE2The transaction was authorised offline.
Phone / PHONE4The transaction was authorised by phone.
None / NONE5The transaction was not authorised.
DeclinedBeforeAuth / DECLINED_BEFORE_AUTH-The transaction was declined before authorisation was attempted.

AuthorisingEntity

ValueCodeMeaning
DPC0 / DPC00Authorised by DPC.
LocalDevice / LOCAL_DEVICE1Authorised locally in the terminal.
DPC3 / DPC33Authorised by DPC.
DPC4 / DPC44Authorised by DPC.
CardIssuer / CARD_ISSUER5Authorised by the issuer.
InterchangeInterface / INTERCHANGE_INTERFACE6Authorised by an interchange interface.
InterchangeVisaEpss / INTERCHANGE_VISA_EPSS7Authorised by interchange or scheme network.
Merchant / MERCHANT9Authorised by the merchant or acquiring host.
ManualEntry / MANUAL_ENTRYMApproval code was entered manually.
DeclinedBeforeAuth / DECLINED_BEFORE_AUTH-Declined before authorisation was attempted.

Transaction and Receipt Enums

TransactionType

ValueMeaning
Unknown / unknownUnknown or future transaction type.
Purchase / purchaseStandard purchase transaction.
Refund / refundRefund or return transaction.
CashAdvance / cashAdvanceCash advance transaction.
PurchaseReversal / purchaseReversalReversal of a purchase.
RefundReversal / refundReversalReversal of a refund.

ReceiptVersion

ValueMeaning
Merchant / merchantMerchant copy of the receipt.
Cardholder / cardholderCardholder copy of the receipt.

TransactionOutcome

ValueMeaning
Approved / approvedThe transaction was approved.
Declined / declinedThe transaction was declined.
Cancelled / cancelledThe transaction was cancelled.

Reader and Administration Enums

ServiceEnableType

ValueMeaning
None / noneNo explicit type selected. Wrappers may fall back to payment behaviour.
Payment / paymentEnable or disable payment intake.
Refund / refundEnable or disable refund intake.

AdminOperation

The current Swift wrapper exposes these administrative operations directly:

ValueMeaning
hostLoginPerform host logon or authorisation-server logon.
printConfigurationAsk the terminal to print its configuration.
updateParametersTrigger a parameter or configuration update.

CurrencyCodes

The .NET and Java wrappers define a large ISO 4217 currency enumeration. In everyday EPAS integrations, the most common values are:

ValueISO Numeric Code
SEK752
EUR978
USD840
NOK578
DKK208
GBP826

Use the official generated API reference when you need the full enumeration list.