TIM SDK
TIM API C
result_code.h File Reference

Description

Result codes.

Copyright: SIX Payment Services.

Typedefs

typedef enum ta_e_result_code ta_e_result_code_t
 

Enumerations

enum  ta_e_result_code {
  ta_c_rc_undefined, ta_c_rc_ok, ta_c_rc_api_cancel_ecr, ta_c_rc_api_invalid_answer,
  ta_c_rc_api_disabled_feature, ta_c_rc_api_function_disallowed, ta_c_rc_api_persistency_problem, ta_c_rc_api_connect_fail_server,
  ta_c_rc_api_connect_fail_terminal, ta_c_rc_api_connection_lost_server, ta_c_rc_api_connection_lost_terminal, ta_c_rc_ethernet_disconnected,
  ta_c_rc_rs232_disconnected, ta_c_rc_api_timeout_server, ta_c_rc_api_timeout_terminal, ta_c_rc_server_invalid_answer,
  ta_c_rc_server_invalid_request, ta_c_rc_server_disabled_feature, ta_c_rc_server_persistency_problem, ta_c_rc_server_connect_fail_terminal,
  ta_c_rc_server_connection_lost_terminal, ta_c_rc_server_timeout_terminal, ta_c_rc_ccr_unavailable, ta_c_rc_mcr_unavailable,
  ta_c_rc_nfc_unavailable, ta_c_rc_display_unavailable, ta_c_rc_pin_pad_unavailable, ta_c_rc_rs232_unavailable,
  ta_c_rc_rs232_not_configured, ta_c_rc_sw_installation_failed, ta_c_rc_sw_version_not_suitable, ta_c_rc_sw_authentication_failed,
  ta_c_rc_card_reader_error_ccr, ta_c_rc_card_reader_error_mcr, ta_c_rc_card_reader_error_nfc, ta_c_rc_card_error_ccr,
  ta_c_rc_card_error_mcr, ta_c_rc_card_error_nfc, ta_c_rc_card_read_error, ta_c_rc_card_read_timeout,
  ta_c_rc_card_insertion_timeout, ta_c_rc_card_reader_keys_lost, ta_c_rc_card_reader_security_error, ta_c_rc_card_timeout,
  ta_c_rc_card_not_readable, ta_c_rc_card_invalid_data, ta_c_rc_card_function_not_found, ta_c_rc_card_function_not_allowed,
  ta_c_rc_card_unexpectedly_present_in_reader, ta_c_rc_pin_pad_security_error, ta_c_rc_pin_pad_tampered, ta_c_rc_pin_pad_keys_lost,
  ta_c_rc_cardholder_stop, ta_c_rc_cardholder_timeout, ta_c_rc_card_removed, ta_c_rc_tim_timeout_ecr,
  ta_c_rc_tim_connect_fail_payment_host, ta_c_rc_tim_connection_lost_payment_host, ta_c_rc_tim_timeout_answer_rs232, ta_c_rc_tim_communication_failure,
  ta_c_rc_tim_config_failure, ta_c_rc_tim_init_failure, ta_c_rc_sixml_general_error, ta_c_rc_sixml_invalid_request,
  ta_c_rc_sixml_wrong_cashier, ta_c_rc_sixml_wrong_ecr_id, ta_c_rc_sixml_unknown_reference_number, ta_c_rc_sixml_wrong_state,
  ta_c_rc_busy_other_controller, ta_c_rc_busy_maintenance, ta_c_rc_request_pending, ta_c_rc_sixml_unsupported_request,
  ta_c_rc_trx_no_common_applications, ta_c_rc_trx_limit_exceeded, ta_c_rc_trx_no_common_cvm, ta_c_rc_declined_cvm_failed,
  ta_c_rc_trx_referral, ta_c_rc_trx_invalid_auth_response, ta_c_rc_declined_generic, ta_c_rc_declined_saldo_too_low,
  ta_c_rc_declined_wrong_pin, ta_c_rc_declined_card_blocked, ta_c_rc_declined_security_issue, ta_c_rc_declined_usage_control,
  ta_c_rc_declined_double_transaction, ta_c_rc_declined_generic_first_ac, ta_c_rc_declined_generic_second_ac, ta_c_rc_trx_commit_timeout,
  ta_c_rc_trx_rollback_impossible, ta_c_rc_cashback_amount_too_low, ta_c_rc_cashback_amount_too_high, ta_c_rc_basket_declined,
  ta_c_rc_no_trx_in_group_exceeded, ta_c_rc_unsupported_characters_in_message, ta_c_rc_loyalty_check_in_pending, ta_c_rc_declined_card_error,
  ta_c_rc_declined_card_expired, ta_c_rc_declined_trx_invalid, ta_c_rc_declined_try_later, ta_c_rc_declined_try_another_interface,
  ta_c_rc_declined_invalid_merchant, ta_c_rc_declined_restriction_declined, ta_c_rc_declined_wrong_currency, ta_c_rc_declined_autoreversal_pending,
  ta_c_rc_declined_wrong_card_number, ta_c_rc_declined_wrong_card_expiry_date, ta_c_rc_declined_retry_temporary_unavailable, ta_c_rc_declined_service_not_allowed,
  ta_c_rc_declined_cardholder_information_issue, ta_c_rc_declined_referral_wrong_auth_code, ta_c_rc_declined_referral_wrong_amount, ta_c_rc_declined_referral_other_reason,
  ta_c_rc_declined_capture_card_generic, ta_c_rc_declined_capture_card_info_to_client, ta_c_rc_declined_capture_card_order_to_client, ta_c_rc_declined_capture_card_timeout_removing_card,
  ta_c_rc_declined_not_supported, ta_c_rc_value_out_of_range_in_this_context, ta_c_rc_voucher_type_not_available, ta_c_rc_transaction_mismatch,
  ta_c_rc_invalid_argument, ta_c_rc_out_of_memory, ta_c_rc_system_error
}
 

Typedef Documentation

◆ ta_e_result_code_t

Result codes.

Specification: retail.

Enumeration Type Documentation

◆ ta_e_result_code

Result codes.

Specification: retail.

Enumerator
ta_c_rc_undefined 

Undefined/invalid value.

ta_c_rc_ok 

OK

Specification: retail.

ta_c_rc_api_cancel_ecr 

Current request has been cancelled by the ECR.
Error message: Cancelled by ECR

Specification: retail.

ta_c_rc_api_invalid_answer 

The ECR received an invalid answer.
Error message: Invalid answer

Specification: retail.

ta_c_rc_api_disabled_feature 

The current request cannot be handled because the required feature is disabled.
Error message: Message belongs to disabled feature

Specification: retail.

ta_c_rc_api_function_disallowed 

The requested function is not allowed with the current license Communication.
Error message: Function not allowed - License issue

Specification: retail.

ta_c_rc_api_persistency_problem 

Persistent data damaged, out of space or storage permission problem.

Specification: retail.

ta_c_rc_api_connect_fail_server 

The ECR was not able to connect to the TIM Server.
Error message: Could not connect to TIM Server

Specification: retail.

ta_c_rc_api_connect_fail_terminal 

The ECR was not able to connect to the EFT Terminal.
Error message: Could not connect to EFT Terminal

Specification: retail.

ta_c_rc_api_connection_lost_server 

The ECR lost the connection to the TIM Server.
Error message: Connection lost to TIM Server

Specification: retail.

ta_c_rc_api_connection_lost_terminal 

The ECR lost the connection to the EFT Terminal.
Error message: Connection lost to EFT Terminal

Specification: retail.

ta_c_rc_ethernet_disconnected 

No ethernet cable has been connected.
Error message: Ethernet cable not connected

Specification: retail.

ta_c_rc_rs232_disconnected 

No RS232 cable has been connected.
Error message: RS232 cable not connected

Specification: retail.

ta_c_rc_api_timeout_server 

Timeout during connection establishment from TIM API to TIM Server.
Error message: Timeout - Communication TIM Server

Specification: retail.

ta_c_rc_api_timeout_terminal 

Timeout during connection establishment from TIM API to EFT Terminal.
Error message: Timeout - Communication EFT Terminal

Specification: retail.

ta_c_rc_server_invalid_answer 

TIM Server received an invalid answer.
Error message: Invalid answer

Specification: retail.

ta_c_rc_server_invalid_request 

TIM Server received an invalid request from TIM API.
Error message: Invalid request

Specification: retail.

ta_c_rc_server_disabled_feature 

TIM Server received a message that requires a disabled feature.
Error message: Message belongs to disabled feature

Specification: retail.

ta_c_rc_server_persistency_problem 

Persistent data damaged, out of space or storage permission problem.

Specification: retail.

ta_c_rc_server_connect_fail_terminal 

TIM Server was not able to connect to EFT Terminal.
Error message: Could not connect to EFT Terminal

Specification: retail.

ta_c_rc_server_connection_lost_terminal 

TIM Server lost connection to the EFT Terminal.
Error message: Connection lost to EFT Terminal

Specification: retail.

ta_c_rc_server_timeout_terminal 

Timeout during connection establishment from TIM Server to EFT Terminal.
Error message: Timeout - Communication EFT Terminal

Specification: retail.

ta_c_rc_ccr_unavailable 

Chip card reader not available.
Error message: Device not available - CCR

Specification: retail.

ta_c_rc_mcr_unavailable 

Magstripe card reader not available.
Error message: Device not available - MCR

Specification: retail.

ta_c_rc_nfc_unavailable 

Contactless card reader not available.
Error message: Device not available - NFC

Specification: retail.

ta_c_rc_display_unavailable 

Display not available.
Error message: Device not available - Display

Specification: retail.

ta_c_rc_pin_pad_unavailable 

PinPad not available.
Error message: Device not available - PinPad

Specification: retail.

ta_c_rc_rs232_unavailable 

RS232 device not available.
Error message: Device not available - RS232

Specification: retail.

ta_c_rc_rs232_not_configured 

Connected RS232 device not configured.
Error message: Device not configured - RS232

Specification: retail.

ta_c_rc_sw_installation_failed 

Something went wrong during the SW Update process.
Error message: SW Installation failed

Specification: retail.

ta_c_rc_sw_version_not_suitable 

SW version set for update in the SCS is not suitable for the device.
Error message: SW version not suitable

Specification: retail.

ta_c_rc_sw_authentication_failed 

SW authentication failed due to hash check failure.
Error message: SW authentication failed

Specification: retail.

ta_c_rc_card_reader_error_ccr 

Chip card reader error occured.
Error message: Card reader error - CCR

Specification: retail.

ta_c_rc_card_reader_error_mcr 

Magstripe card reader error occured.
Error message: Card reader error - MCR

Specification: retail.

ta_c_rc_card_reader_error_nfc 

Contactless card reader error occured.
Error message: Card reader error - NFC

Specification: retail.

ta_c_rc_card_error_ccr 

Card error occured using the chip card reader.
Error message: Card error - CCR

Specification: retail.

ta_c_rc_card_error_mcr 

Card error occured using the magstripe card reader.
Error message: Card error - MCR

Specification: retail.

ta_c_rc_card_error_nfc 

Card error occured using the contactless card reader.
Error message: Card error - NFC

Specification: retail.

ta_c_rc_card_read_error 

Reading error occured during card reading.
Error message: Read error

Specification: retail.

ta_c_rc_card_read_timeout 

Timeout occured during card reading.
Error message: Read timeout

Specification: retail.

ta_c_rc_card_insertion_timeout 

Cardholder did not insert card during timeout.
Error message: Card insertion timeout

Specification: retail.

ta_c_rc_card_reader_keys_lost 

Keys lost for secure communication.
Error message: Keys lost - Card reader

Specification: retail.

ta_c_rc_card_reader_security_error 

Security error occured.
Error message: Security error

Specification: retail.

ta_c_rc_card_timeout 

Card did not respond in time.
Error message: Card timeout

Specification: retail.

ta_c_rc_card_not_readable 

Card could not be read.
Error message: Card not readable

Specification: retail.

ta_c_rc_card_invalid_data 

Invalid card data read.
Error message: Card - invalid data

Specification: retail.

ta_c_rc_card_function_not_found 

Corresponding card function not found.
Error message: Card - function not found

Specification: retail.

ta_c_rc_card_function_not_allowed 

Card function not allowed.
Error message: Card - function not allowed

Specification: retail.

ta_c_rc_card_unexpectedly_present_in_reader 

Card unexpectedly present in card reader.
Error message: Card unexpectedly present

Specification: retail.

ta_c_rc_pin_pad_security_error 

Security error occured.
Error message: Security error

Specification: retail.

ta_c_rc_pin_pad_tampered 

PinPad has be tampered.
Error message: Tampered

Specification: retail.

ta_c_rc_pin_pad_keys_lost 

Keys lost for secure communication.
Error message: Keys lost - PinPad

Specification: retail.

ta_c_rc_cardholder_stop 

Cardholder cancelled transaction pushing the Stop key.
Error message: Stop - Cardholder

Specification: retail.

ta_c_rc_cardholder_timeout 

Cardholder did not react in time.
Error message: Timeout - Cardholder

Specification: retail.

ta_c_rc_card_removed 

Card has been removed by the cardholder.
Error message: Card removed

Specification: retail.

ta_c_rc_tim_timeout_ecr 

ECR did not respond in time.
Error message: Timeout - ECR

Specification: retail.

ta_c_rc_tim_connect_fail_payment_host 

EFT terminal not able to connect to payment host.
Error message: Could not connect to payment host

Specification: retail.

ta_c_rc_tim_connection_lost_payment_host 

EFT Terminal did lose connection to payment host.
Error message: Connection lost to payment host

Specification: retail.

ta_c_rc_tim_timeout_answer_rs232 

RS232 device did not respond in time.
Error message: Timeout - Answer RS232

Specification: retail.

ta_c_rc_tim_communication_failure 

Communication failed.
Error message: Communication failure

Specification: retail.

ta_c_rc_tim_config_failure 

Reconfig request partially successful - Config failed.
Error message: Config failed

Specification: retail.

ta_c_rc_tim_init_failure 

Reconfig request partially successful - Init not or only partially successful.
Error message: Init not or only partially successful

Specification: retail.

ta_c_rc_sixml_general_error 

General error on SIXml Protocol.
Error message: General error

Specification: retail.

ta_c_rc_sixml_invalid_request 

Generic error if request not valid.
Error message: Invalid request - Generic

Specification: retail.

ta_c_rc_sixml_wrong_cashier 

Wrong UsrId entered for Activate.
Error message: Invalid request - Wrong cashier

Specification: retail.

ta_c_rc_sixml_wrong_ecr_id 

Wrong EcrId entered for Login.
Error message: Invalid request - Wrong EcrId

Specification: retail.

ta_c_rc_sixml_unknown_reference_number 

Unknown reference number entered, e.g. for Credit, Reversal or FinalizePurchase.
Error message: Invalid request - Unknown reference number

Specification: retail.

ta_c_rc_sixml_wrong_state 

Request not allowed in the current terminal state.
Error message: Message not allowed in this state

Specification: retail.

ta_c_rc_busy_other_controller 

Another controller is currently using the EFT.
Error message: Busy (Other controller)

Specification: retail.

ta_c_rc_busy_maintenance 

Mainenance task in progress.
Error message: Busy (Maintenance)

Specification: retail.

ta_c_rc_request_pending 

Another request from the same controller is already running.
Error message: Busy - Another request running

Specification: retail.

ta_c_rc_sixml_unsupported_request 

Request not supported by terminal.
Error message: Request not supported by terminal

Specification: retail.

ta_c_rc_trx_no_common_applications 

No common application found on card during Application Selection.
Error message: No common applications found

Specification: retail.

ta_c_rc_trx_limit_exceeded 

Current transaction exceeds transaction limit (amount).
Error message: Transaction limit exceeded

Specification: retail.

ta_c_rc_trx_no_common_cvm 

No common cardholder verification method found on card during.
Error message: No common CVM found

Specification: retail.

ta_c_rc_declined_cvm_failed 

Performed CVM failed.
Error message: Declined - CVM failed

Specification: retail.

ta_c_rc_trx_referral 

Referral required for current transaction.
Error message: Referral

Specification: retail.

ta_c_rc_trx_invalid_auth_response 

Authorization response invalid.
Error message: Invalid auth response

Specification: retail.

ta_c_rc_declined_generic 

Authorization failed, generic error.
Error message: Authorization declined - Generic

Specification: retail.

ta_c_rc_declined_saldo_too_low 

Authorization failed, saldo too low.
Error message: Authorization declined - Saldo too low

Specification: retail.

ta_c_rc_declined_wrong_pin 

Authorization failed, cardholder entered wrong PIN.
Error message: Authorization declined - Wrong PIN

Specification: retail.

ta_c_rc_declined_card_blocked 

Authorization failed, card blocked.
Error message: Authorization declined - Card blocked

Specification: retail.

ta_c_rc_declined_security_issue 

Authorization failed, security issue.
Error message: Authorization declined - Security issue

Specification: retail.

ta_c_rc_declined_usage_control 

Authorization failed, usage control.
Error message: Authorization declined - Usage control

Specification: retail.

ta_c_rc_declined_double_transaction 

Authorization failed, current transaction may be a double transaction.
Error message: Authorization declined - Double transaction

Specification: retail.

ta_c_rc_declined_generic_first_ac 

Authorization failed, first AC generation failed.
Error message: Authorization declined - Generic, first AC

Specification: retail.

ta_c_rc_declined_generic_second_ac 

Authorization failed, second AC generation failed.
Error message: Authorization declined - Generic, second AC

Specification: retail.

ta_c_rc_trx_commit_timeout 

Commit request not sent in time.
Error message: Commit timeout

Specification: retail.

ta_c_rc_trx_rollback_impossible 

Rollback not possible for current transaction.
Error message: Rollback not possible

Specification: retail.

ta_c_rc_cashback_amount_too_low 

The intended cashback amount is too low.
Error message: Cashback amount too low

Specification: retail.

ta_c_rc_cashback_amount_too_high 

The intended cashback amount is too high.
Error message: Cashback amount to high

Specification: retail.

ta_c_rc_basket_declined 

Part of the basket is not allowed. Transaction declined.
Error message: Basket declined

Specification: retail.

ta_c_rc_no_trx_in_group_exceeded 

Current transaction exceeds the limit for the number of transactions in a group.
Error message: No trx in group exceeded

Specification: retail.

ta_c_rc_unsupported_characters_in_message 

Current request contains unsupported characters.
Error message: Unsupported characters in message

Specification: retail.

ta_c_rc_loyalty_check_in_pending 

So far no loyalty data is available, check-in pending.
Error message: Loyalty check-in pending

Specification: retail.

ta_c_rc_declined_card_error 

Authorization failed, card error.
Error message: Authorization declined - Card error

Specification: retail.

ta_c_rc_declined_card_expired 

Authorization failed, card expired.
Error message: Authorization declined - Card expired

Specification: retail.

ta_c_rc_declined_trx_invalid 

Authorization failed, transaction invalid.
Error message: Authorization declined - Trx invalid

Specification: retail.

ta_c_rc_declined_try_later 

Authorization failed, try later.
Error message: Authorization declined - Try later

Specification: retail.

ta_c_rc_declined_try_another_interface 

Authorization failed, try another interface.
Error message: Authorization declined - Try another interface

Specification: retail.

ta_c_rc_declined_invalid_merchant 

Authorization failed, invalid merchant.
Error message: Authorization declined - Invalid merchant

Specification: retail.

ta_c_rc_declined_restriction_declined 

Authorization failed, restriction declined.
Error message: Authorization declined - Restriction declined

Specification: retail.

ta_c_rc_declined_wrong_currency 

Authorization failed, wrong currency.
Error message: Authorization declined - Wrong currency

Specification: retail.

ta_c_rc_declined_autoreversal_pending 

Authorization failed, autoreversal pending.
Error message: Authorization declined - Autoreversal pending

Specification: retail.

ta_c_rc_declined_wrong_card_number 

Authorization failed, wrong card number.
Error message: Authorization declined - Wrong card number

Specification: retail.

ta_c_rc_declined_wrong_card_expiry_date 

Authorization failed, wrong card expiry date.
Error message: Authorization declined - Wrong card expiry date

Specification: retail.

ta_c_rc_declined_retry_temporary_unavailable 

Authorization failed, retry, temporary unavailable.
Error message: Authorization declined - Retry, temporary unavailable

Specification: retail.

ta_c_rc_declined_service_not_allowed 

Authorization failed, service not allowed.
Error message: Authorization declined - Service not allowed

Specification: retail.

ta_c_rc_declined_cardholder_information_issue 

Authorization failed, cardholder information issue.
Error message: Authorization declined - Cardholder information issue

Specification: retail.

ta_c_rc_declined_referral_wrong_auth_code 

Authorization failed, wrong auth code.
Error message: Referral declined - Wrong auth code

Specification: retail.

ta_c_rc_declined_referral_wrong_amount 

Authorization failed, wrong amount.
Error message: Referral declined - Wrong amount

Specification: retail.

ta_c_rc_declined_referral_other_reason 

Authorization failed, referral generic.
Error message: Referral declined - Other reason

Specification: retail.

ta_c_rc_declined_capture_card_generic 

Capture card, generic.
Error message: Capture card - Generic

Specification: retail.

ta_c_rc_declined_capture_card_info_to_client 

Capture card, information to the client.
Error message: Capture card - Information to the client

Specification: retail.

ta_c_rc_declined_capture_card_order_to_client 

Capture card, order to the client.
Error message: Capture card - Order to the client

Specification: retail.

ta_c_rc_declined_capture_card_timeout_removing_card 

Capture card, timeout removing card from terminal.
Error message: Capture card - Timeout removing card from terminal

Specification: retail.

ta_c_rc_declined_not_supported 

Authorization failed, not supported.
Error message: Authorization declined - Not supported

Specification: retail.

ta_c_rc_value_out_of_range_in_this_context 

Value out of range in this context, e.g. negative where only positive values are supported.
Error message: Value out of range in this context

Specification: retail.

ta_c_rc_voucher_type_not_available 

The (mobile topup) voucher cannot be generated with this combination of issuer and value.
Error message: Requested voucher not available

Specification: retail.

ta_c_rc_transaction_mismatch 

The InitTransaction FunctionHint is not compatible to the transaction function. No recovery possible.
Error message: Transaction mismatch

Specification: retail.

ta_c_rc_invalid_argument 

Invalid argument.

ta_c_rc_out_of_memory 

Out of memory.

ta_c_rc_system_error 

System error.