General Message Layout

This section provides the list of elements supported in each message type. All of these XML tags are defined in nexo Acquirer v6 protocol (CAPE ACQ MDR and CAPE ACQ MUG). The description provided below should be used in conjunction with the nexo description of each tag.
The column 'Presence' shows 'm' for mandatory fields or 'o' for optional fields indicating if this tag is relevant for the processing. For more details consult NEXO XSD and NEXO Message Definition Report. In some rare cases you may find discrepancies about the presence of some fields.

Common elements

# TagDescriptionPresence
Hdr/PrtcolVrsnUse '6.0'. Will be copied into responsem
Hdr/XchgIdId for this message defined by terminal vendor. Will be copied into response.m
Hdr/CreDtTmWhen message was sent (in ISODateTime). Will be copied into response.m
Hdr/InitgPty/IdIdentifies sender (name of host or application). Will be copied into response.m
Hdr/InitgPty/TpIgnored.o
Hdr/InitgPty/IssrIgnored.o
Hdr/InitgPty/CtryIgnored.o
Hdr/InitgPty/ShrtNmIgnored.o
Hdr/RcptPty/IdIdentifies recipient. Use 'IPG'o
Hdr/RcptPty/TpIgnored.o
Hdr/RcptPty/IssrIgnored.o
Hdr/RcptPty/CtryIgnored.o
Hdr/RcptPty/ShrtNmIgnored.o
Hdr/RcptPty/RmotAccsIgnored.o
Hdr/RcptPty/RmotAccs/AdrIgnored.o
Hdr/RcptPty/RmotAccs/Adr/NtwkTpIgnored.o
Hdr/RcptPty/RmotAccs/Adr/AdrValIgnored.o
Hdr/RcptPty/RmotAccs/UsrNmIgnored.o
Hdr/RcptPty/RmotAccs/AccsCdOnly used for BLIK, see: linko
Hdr/RcptPty/RmotAccs/SvrCertIgnored.
Hdr/RcptPty/RmotAccs/SvrCertIdrIgnored.
Hdr/RcptPty/RmotAccs/ClntCertIgnored.
Hdr/RcptPty/RmotAccs/SctyPrflIgnored.
Hdr/Tracblt/...see 'Possible use cases of Traceability element'
Envt/Acqrr/Id/IdId of the acquirer. Will be copied into response. For testing use '00001'.
Note available for 'AccptrCcyConvsReq'
o
Envt/Acqrr/Id/TpIgnored.o
Envt/Acqrr/Id/IssrIgnored.o
Envt/Acqrr/Id/CtryIgnored.o
Envt/Acqrr/Id/ShrtNmIgnored.o
Envt/Acqrr/ParamsVrsnUse version of parameters loaded into terminal or date when parameters were loaded into terminal.

Will be copied into response.
m
Envt/Mrchnt/Id/Id Card-brand specific Merchant ID. Needs to be populated by terminal with the same information as in EMV tag 9F16. m

(1) (2)
Envt/Mrchnt/Id/TpIgnored.o

(1) (2)
Envt/Mrchnt/Id/IssrIgnored.o

(1) (2)
Envt/Mrchnt/Id/ShrtNmIgnored. Use Mrchnt/CmonNm instead.o

(1) (2)
Envt/Mrchnt/CmonNmIf sent, then the given merchant name and location that will be included in authorization message. Otherwise, our gateway will use the data from store configuration.o

(1) (2)
Env/Mrchnt/LctnCtgyUse value 'NMDC' in case the address is a service location (as needed due to Mastercard mandate AN6022). Otherwise, use value 'FIXD' or don't send this element at allo

(1) (2)
Envt/Mrchnt/LctnAndCtct/... PstlAdr/AdrLine.../AdrLine
street house-number,city,zip-code or
house-number,street,city,zip-code
Mapped to below values, if //AdrLine are not given.

or

.../StrtNm
.../BldgNb
.../TwnNm
.../PstCd
.../Ctry
.../AddtlCtctInf
o

(1) (2)
Envt/Mrchnt/LctnAndCtct/EmailIgnored.o

(1) (2)
Envt/Mrchnt/LctnAndCtct/URLAdrIgnored.o

(1) (2)
Envt/Mrchnt/LctnAndCtct/PhneIgnored.o

(1) (2)
Envt/Mrchnt/LctnAndCtct/CstmrSvcIgnored.o

(1) (2)
Envt/POI/Id/IdIn standard case: Gateway terminal ID
In Girocard case: Terminal ID from German Banking Industry Committee (GBIC)

Will be shared by support team
m

(1)
Envt/POI/Id/TpIgnored.o

(1)
Envt/POI/Id/IssrIgnored.o

(1)
Envt/POI/SysNmIgnored.o

(1)
Envt/POI/Id/ShrtNmOnly present in case of Girocard case: Gateway Terminal ID. Will be shared by support team. If it gets send for other brands than Girocard, then it must contain the same value as Envt/POI/Id/Idc

(1)
Envt/POI/GrpIdTo be populated with the Gateway store ID. Will be shared by support teamm

(1)
Envt/POI/Cpblties/CardRdngCpbltiesAccording to nexo standard.
For terminals supporting contactless single-tap PIN requests, include one additional occurrence with value "OTHR". nexo does not support a dedicated value for this capability yet, but it is expected to be added to future releases.
o

(1)
Envt/POI/Cpblties/CrdhldrVrfctnCpbltiesAccording to nexo standard.o

(1)
Envt/POI/Cpblties/PINLngthCpbltiesMaximum number of digits the POI is able to accept when the cardholder enters its PIN.o

(1)
Envt/POI/Cpblties/ApprvlCdLngthMaximum number of characters of the approval code the POI is able to manage.o

(1)
Envt/POI/Cpblties/MxScrptLngthIgnored.o

(1)
Envt/POI/Cpblties/CardCaptrCpblIgnored.o

(1)
Envt/POI/Cpblties/OnLineCpbltiesAccording to nexo standard.o

(1)
MsgCpblties/...Ignored.o

(1)
Envt/POI/TmZoneIgnored.o

(1)
Envt/POI/TermnlIntgtnIgnored.o

(1)
Envt/POI/Cmpnt/Id/...
&
Envt/POI/Cmpnt/Tp
&
Envt/POI/Cmpnt/StdCmplc
See linko

(1)
Envt/POI/Cmpnt/Sts/...Ignored.o

(1)
Envt/POI/Cmpnt/Chrtcs/...Ignored.o

(1)
Envt/Card/PrtctdCardData/CnttTpUse value 'EVLP'o

(1)
Envt/Card/PrtctdCardData/... EnvlpdData/Rcpt/KEKMore information: link o

(1)
Envt/Card/PrtctdCardData/... EnvlpdData/NcrptdCnttContains encrypted card datao

(1)
Envt/Card/PlainCardData/PANContains card number in plain format, not to be used in productive environmento

(1)
Envt/Card/PlainCardData/CardSeqNbContains card sequence number in plain format, not to be used in productive environmento

(1)
Envt/Card/PlainCardData/FctvDtIgnored.o

(1)
Envt/Card/PlainCardData/XpryDtContains card expiry date in plain format, not to be used in productive environmento

(1)
Envt/Card/PlainCardData/SvcCdIgnored.o

(1)
Envt/Card/PlainCardData/Trck1Contains track 1 data in plain format, not to be used in productive environmento

(1)
Envt/Card/PlainCardData/Trck2Contains track 2 data in plain format, not to be used in productive environmento

(1)
Envt/Card/PlainCardData/Trck3Contains track 3 data in plain format, not to be used in productive environmento

(1)
Envt/Card/PlainCardData/CrdhldrNmCan be used for billing name, not to be used in productive environment.
Note that CrdhldrNm is not part of their PlainCardData schema for Completion, cancellation and reversal.
o

(1)
Envt/Card/PmtAcctRefToken / hosted data value. This field is used to have the possibility to use tokens with length > 35
If this value is set, it is used instead of the card data
o

(1)
Envt/Card/MskdPANIgnored.
Masked PAN.
Recommended format: 497123XXXXXX6123
o

(1)
Envt/Card/IssrBINOnly used in AcceptorCurrencyConversionRequest to determine the BIN.
More details: link
o

(1)
Envt/Card/CardCtryCdISO 3166 – 1, alphanumeric or numerico

(1)
Envt/Card/CardCcyCdISO 3166 – 1, alphanumeric or numerico

(1)
Envt/Card/CardPdctPrflDefines a category of cards grouped together for reconciliation.
Mandatory in transactions that are relevant for reconciliation.
It can be filled with "Card Brand" and not with the actual card product profile as defined in nexo IS in order to allow grouping by brand.
o

(1)
Envt/Card/CardBrndMandatory for sale, preauthorisation and credit transactions. Contains brand of the card with one of:
See link
o

(1)
Envt/Card/AddtlCardDataIgnored.o

(1)
Envt/CstmrDvcIgnored for card-based sale or preauth, refund or other transactions.
Only relevant for AANI. See link
o

(1) (2)
Envt/Wllt/...Ignored.o

(1) (2)
Envt/PmtTkn/...Ignored.o

(1) (2)
Cntxt/PmtCntxt/CardPresCard is present or not.o
Cntxt/PmtCntxt/CrdhldrPresCardholder is present or not.o
Cntxt/PmtCntxt/OnLineCntxtUse 'false' to indicate offline approval.
Use 'true' to indicate online approval.
If absent, then default value 'true' will be applied.
A retransmitted/retry advice is treated as offline regardless.
o
Cntxt/PmtCntxt/AttndncCntxtSee linko
Cntxt/PmtCntxt/TxEnvtIgnored.o
Cntxt/PmtCntxt/TxChanlTxChanl is only considered for MOTO. See linko
Cntxt/PmtCntxt/CardDataNtryMdAccording to nexo standard.

For Payment with Token use 'CDFL'.
If card is not present, use 'DFLE'.

For other payments, value indicates the entry mode of the card data (TAGC, PHYS, BRCD, MGST, CICC, DFLE, CTLS, ECTL)
m
Cntxt/PmtCntxt/FllbckIndCan be used to Indicate an issue processing data from the chip.

Possible values:

FFLB - FallbackAfterFailure
SFLB - FallbackAfterSuccess
NFLB - NoFallback
o
Cntxt/SaleCntxt/SaleIdSee link o

(1) (2)
Cntxt/SaleCntxt/SaleRefNbIgnored.o

(1) (2)
Cntxt/SaleCntxt/SaleRcncltnIdIgnored.o

(1) (2)
Cntxt/SaleCntxt/CshrIdSee link o

(1) (2)
Cntxt/SaleCntxt/ShftNbIgnored.o

(1) (2)
Cntxt/SaleCntxt/PurchsOrdrNbIgnored.o

(1) (2)
Cntxt/SaleCntxt/InvcNbCan be send for reporting purpose.o

(1) (2)
Cntxt/SaleCntxt/DlvryNoteNbIgnored.o

(1) (2)
Cntxt/SaleCntxt/SpnsrdMrchnt/...Ignored.o

(1) (2)
Cntxt/SaleCntxt/SpltPmtIgnored.o

(1) (2)
Cntxt/SaleCntxt/RmngAmtIgnored.o

(1) (2)
Cntxt/SaleCntxt/AddtlSaleDataIgnored.o

(1) (2)
Tx/MrchntCtgyCdMerchant category codem

(1)
Tx/OrgnlTxOnly expected in referenced scenarios such as:

Linked refund/return: TxTp='RFND', TxCaptr='true'

or

Balance or status inquiry, also used for APMs: TxTp='BALC', TxCaptr='false'
o

(1)
SctyTrlr/AuthntcdDataMessage Authentication Value - May be disabled or set to optional in our gateway. If set to optional, then a message without MAC is accepted and the response doesn't contain a MAC either. For more information: linkm
(1) Not available for 'AccptrRcncltnReq' (2) Not available for 'AccptrCcyConvsReq'

Possible use cases of Traceability element

More details

GUID (Globally Unique Identifier)

TagDescriptionPresence
Hdr/Tracblt/RlayId/IdIdentification of the entity.
For use case 'GUID' use value 'GUID'.
By default not required in the request. Only needed in cases where it's explicitly required by the terminal to generate the GUID
o
Hdr/Tracblt/RlayId/TpType of the identified entity.
For use case 'GUID' use value 'ACCP'.
By default not required in the request. Only needed in cases where it's explicitly required by the terminal to generate the GUID.
o
Hdr/Tracblt/RlayId/ShrtNmName of the entitiy.
Value will be GUID itself calculated by POI.
By default not required in the request. Only needed in cases where it's explicitly required by the terminal to generate the GUID
o
Hdr/Tracblt/TracDtTmInDate and time of incoming data exchange for relaying or processing.
Required only when Traceability component is used in message.
o
Hdr/Tracblt/TracDtTmOutDate and time of outgoing data exchange for relaying or processing.
Required only when Traceability component is used in message.
o

Mastercard Transaction Link Identifier (TLID)

📘

Available soon

TagDescriptionPresence
Hdr/Tracblt/RlayId/IdIn response:
'IPG:McTLID'
o
Hdr/Tracblt/RlayId/TpIn response:
'CISS' (=CardIssuer)
o
Hdr/Tracblt/RlayId/ShrtNmIn response:
Value of TLID
o

Did this page help you?
Want a quick overview?