For technical reasons an reversal advice can be declined if PayEx is unable to store the transaction. In this case the third party host need to retry the advice until manual intervention or the advice has been accepted. It’s expected that the third party implement a retry delay with exponential wait time between retries. After 6 retry attempts have failed manual intervention by third party and PayEx support must be initiated.

REVERSAL ADVICE 1420/1421

Only fields listed below are supported.

Element numberData element namePresenceFormatTypeSizeUsage notes
3Processing CodeM n6Fixed "000000". Other processing codes are currently not supported.
4Amount, transactionM n12Amount of original message. Must be equal to original message P-4 value.
7Date and time, transmissionM

MMDDhhmmss

n10E.g.: 1025123020
11Systems trace audit numberM n6Assigned by third party host. Unique pr request
12Date and time, local transactionM

YYMMDDhhmmss

n12E.g.: 171025100515
24Function codeM n3Fixed 400: Full reversal
25Message reason codeM n4

4000: Customer Cancellation.

4020: Invalid response, no action taken.

4021: Timeout waiting for response.

4351: Cancellation – unmatched signature

33Forwarding Institution identification codeOLLn..11Unique id provided by PayEx used for all transactions from given 3rd party
38Approval codeC anp6

Present if original transaction was approved

41Card acceptor terminal identificationM n8Needs to be unique per POS terminal at the merchant site. Must be equal to original message P-41
42Card acceptor identification codeM n158 digit unique ID provided by PayEx for each merchant. Must be equal to original message P-42
48Message control data elementsMLLLans..999 
48-0Bit map for data elements in bit 48M b8 
48-4Batch/sequence numberM n10Assigned by third party host.
49Currency codeM an3Numeric currency code (ISO-4217 standard). E.g. "578" for NOK
53Security Related Control InformationMLLb..48See security documentation section for details.
56Original data elementsMLLn..35

Contains Message Type Indicator(MTI), STAN and Transaction Date and Time from original message. E.g. Length 22 "1200 023576 171031174233 "

MTI is 4 digits, STAN (P-11) is 6 digits and Original transaction date/time(P-12) is in format "YYMMDDhhmmss"

64MACM b8See security documentation section for details.

REVERSAL ADVICE RESPONSE 1430

Element    numberData element namePresenceFormatTypeSizeUsage notes
2Primary account numberMELLans..19 
3Processing CodeME n6 
4Amount, transactionME n12 
7Date and time, transmissionM

MMDDhhmmss

n10 
11Systems trace audit numberME n6 
12Date and time, local transactionME

YYMMDDhhmmss

n12 
32Acquiring institution identification codeMELLn..11 
38Approval codeCE ans6Present if original transaction was approved
39Action codeM n3400 if accepted.
41Card acceptor terminal identificationME n8 
42Card acceptor identification codeME n15 
48Message control data elementsMLLLans..999 
48-0Bit map for data elements in bit 48M b8 
48-4Batch/sequence numberME n10 
49Currency code, transactionME an3 
53Security Related Control InformationMLLb..48See security documentation section for details.
64MACM b8See security documentation section for details.
Tags:
Created by Helge Dahl on 2020/04/02 10:11