Skip to main content

Additional information

Mapping from other payment channels

Below you will find a mapping overview for the Sales API and the two payment channels TIM/SIXML and Datatrans:

ReconHub Sales APITimAPI / SixmlDataTrans API
amountsixml:Amount (Request)amount
currencysixml:Currency (Request)currency
transactionDateTransaction Date according to LSITransaction Date according to LSI
acquirerIdsixml:TransactionInformation/AcqIdn/a
applicationIdsixml:CardData/Aidep2/aid
authorisationCodesixml:TransactionInformation/AuthCodeep2/authCode
brandIdsixml:CardData/BrandNamepaymentMethod
businessDatebooking date according to LSIbooking date according to LSI
cardNumberMaskedsixml:CardData/CardNumberPrintablecard/masked, REK/masked, TWI/alias, etc.
eftTransactionDatesixml:TransactionInformation/TimeStampep2/trxDate & trxTime
locationIdn/amerchantId or shop identifier
orderIdn/arefno
panEncryptedsixml:CardData/CardNumberEncep2/appPanEnc
terminalIdsixml:TerminalId (from Notification)ep2/trmId
transactionReferencesixml:TransactionInformation/AcqTransRefep2/trxRefNum
transactionSequenceCountersixml:TransactionInformation/TransSeqep2/trxSeqCnt
transactionTypesFinanclial Transaction functionInitRequest / CreditRequest
additionalDataMerchant specific information if desired in ReconHubMerchant specific information if desired in ReconHub

Datatrans

Payment processing between Datatrans and payment processors (such as Wordline or Postfinance) can be connected via different protocols. This setting can be adjusted individually for each merchant.

Depending on the protocol and means of payment, different information is available in the Datatrans response (status). This is mapped via the various objects such as card or ep2.

Preventing duplicate transactions

The Sales API generates a unique hash for each transaction to prevent duplicate imports. By default, this hash is calculated using all transaction fields, sorted in alphabetical order, from the upload request. As a result, adding a new field or modifying the value of any field will produce a different hash, causing the transaction to be treated as new.

During import, the generated hash is mapped to the UID field of the ECR transaction. This UID is used to detect duplicates and ensure that the same transaction is not imported multiple times.