cain: Acquirer to Issuer Card Transaction
cain.022 Retrieval Response
Written and maintained by ZagTrader. Last reviewed . How this page is sourced and checked
cain.022 is the ISO 20022 RetrievalResponse message in the Acquirer to Issuer Card Transaction business area (cain). The latest version is cain.022.001.03, and 3 versions are in the repository.
- Message
- RetrievalResponse
- Latest version
- cain.022.001.03
- Submitting organisation
- ISO TC68/SC9/TG1
- MT equivalent
- None listed
In use: published in the current ISO 20022 catalogue.
What cain.022 is for
The RetrievalResponse message is sent by an acquirer to an issuer or agent in response to an Retrievalnitiation message.
cain.022 versions
Every version published in the e-Repository, newest first. A message keeps its business purpose across versions; each new version is a separate schema with its own namespace.
| Version | Registration status | Published in |
|---|---|---|
| cain.022.001.03latest | Registered | Latest version set |
| cain.022.001.02 | Registered | Previous version set |
| cain.022.001.01 | Registered | Archive |
cain.022 message structure
The building blocks of cain.022.001.03 and the elements directly under them, with multiplicity ([0..1] optional, [1..1] mandatory, * any number) and the data type or component. Element names and definitions are from the ISO 20022 repository; usage guidelines such as CBPR+ or a market infrastructure's rules can restrict them further.
Document[1..1]RtrvlRspnRetrievalResponse [1..1]HdrHeader [0..1]Header71Information related to the protocol management.
MsgFctnMessage Function [1..1]ExternalMessageFunction1CodeIdentifies the type of process related to the message.
PrtcolVrsnProtocol Version [1..1]Max2048TextVersion of the acquirer to issuer protocol specifications.
XchgIdExchange Identification [0..1]Max35TextUnique identification of an exchange of messages between two parties.
ReTrnsmssnCntrRe Transmission Counter [0..1]Max3NumericTextNumber of retransmission of the message.
CreDtTmCreation Date Time [1..1]ISODateTimeDate and time at which the message was sent.
- 5 more elements not shown
TxChrtcsTransaction Characteristics [0..1]TransactionCharacteristics3Contains the key data elements of the transaction.
TxTpTransaction Type [0..1]ISO8583TransactionTypeCodeCode that indicates the type of transaction being undertaken in accordance with ISO 8583, Transaction Type.
TxSubTpTransaction Sub Type [0..1]Max35TextFurther breakdown of the transaction type being performed.
TxAttrTransaction Attribute [0..*]TransactionAttribute2CodeAttribute of the transaction.
OthrTxAttrOther Transaction Attribute [0..*]Max35TextOther transaction attribute defined at national or private level.
CxlCancellation [0..1]TrueFalseIndicatorIndicates the previous message is cancelled.
- 4 more elements not shown
OrgtrOriginator [0..1]PartyIdentification286Identifies the originator of the transaction.
IdIdentification [1..1]Max11NumericTextIdentification of the party.
AssgnrAssigner [0..1]Max35TextEntity in charge of assigning an identification to a party.
CtryCountry [0..1]ISO3NumericCountryCodeCountry of the party.
ShrtNmShort Name [0..1]Max35TextShort name of the party.
LglCorpNmLegal Corporate Name [0..1]Max99TextLegal Corporate Name of the party
- 2 more elements not shown
AcqrrAcquirer [1..1]PartyIdentification286Identification of the acquirer.
IdIdentification [1..1]Max11NumericTextIdentification of the party.
AssgnrAssigner [0..1]Max35TextEntity in charge of assigning an identification to a party.
CtryCountry [0..1]ISO3NumericCountryCodeCountry of the party.
ShrtNmShort Name [0..1]Max35TextShort name of the party.
LglCorpNmLegal Corporate Name [0..1]Max99TextLegal Corporate Name of the party
- 2 more elements not shown
SndrSender [0..1]PartyIdentification286Party sending the message to another intermediary agent or to the final destination.
IdIdentification [1..1]Max11NumericTextIdentification of the party.
AssgnrAssigner [0..1]Max35TextEntity in charge of assigning an identification to a party.
CtryCountry [0..1]ISO3NumericCountryCodeCountry of the party.
ShrtNmShort Name [0..1]Max35TextShort name of the party.
LglCorpNmLegal Corporate Name [0..1]Max99TextLegal Corporate Name of the party
- 2 more elements not shown
CardCard [0..1]CardData13Card or payment token performing the transaction.
PANPAN [0..1]Max19NumericTextPrimary Account Number (PAN) of the card or a surrogate of the PAN such as a payment token.
PrtctdPANProtected PAN [0..1]TrueFalseIndicatorTo indicate whether the PAN is using ProtectedData for encryption or not.
CardSeqNbCard Sequence Number [0..1]Min2Max3NumericTextDistinguishes between instances of the same payment card.
FctvDtEffective Date [0..1]ISOYearMonthDate as from which the card can be used, expressed in one of the following formats: YYYY-MM-DD, YYYY-MM, YY-MM-DD.
XpryDtExpiry Date [0..1]ISOYearMonthExpiry date of the card or payment token.
- 8 more elements not shown
RcvrReceiver [0..1]PartyIdentification286Party receiving the message from the origin or from an intermediary agent.
IdIdentification [1..1]Max11NumericTextIdentification of the party.
AssgnrAssigner [0..1]Max35TextEntity in charge of assigning an identification to a party.
CtryCountry [0..1]ISO3NumericCountryCodeCountry of the party.
ShrtNmShort Name [0..1]Max35TextShort name of the party.
LglCorpNmLegal Corporate Name [0..1]Max99TextLegal Corporate Name of the party
- 2 more elements not shown
IssrIssuer [0..1]PartyIdentification286Information related to the issuer.
IdIdentification [1..1]Max11NumericTextIdentification of the party.
AssgnrAssigner [0..1]Max35TextEntity in charge of assigning an identification to a party.
CtryCountry [0..1]ISO3NumericCountryCodeCountry of the party.
ShrtNmShort Name [0..1]Max35TextShort name of the party.
LglCorpNmLegal Corporate Name [0..1]Max99TextLegal Corporate Name of the party
- 2 more elements not shown
DstnDestination [0..1]PartyIdentification286Identifies the destination of the transaction.
IdIdentification [1..1]Max11NumericTextIdentification of the party.
AssgnrAssigner [0..1]Max35TextEntity in charge of assigning an identification to a party.
CtryCountry [0..1]ISO3NumericCountryCodeCountry of the party.
ShrtNmShort Name [0..1]Max35TextShort name of the party.
LglCorpNmLegal Corporate Name [0..1]Max99TextLegal Corporate Name of the party
- 2 more elements not shown
PrgrmmProgramme [0..*]ProgrammeMode5Programme, network, or brand processes the transaction.
ApldIdApplied Identification [1..1]Max35TextIdentification of the programme, network, or brand applied to the transaction.
AddtlIdAdditional Identification [0..*]AdditionalData1Additional identification of the program, network, or brand processed the transaction.
TxIdTransaction Identification [0..1]TransactionIdentification54Identification of the transaction.
LclDtLocal Date [0..1]ISODateLocal date the transaction takes place at the card acceptor location.
LclTmLocal Time [0..1]ISOTimeLocal time the transaction takes place at the card acceptor location.
TmZoneTime Zone [0..1]Max70TextTime zone name (for example, as defined by IANA - Internet Assigned Numbers Authority - in the time zone database).
PurchsIdrTpPurchase Identifier Type [0..1]PurchaseIdentifierType2CodeSpecifies the type of identifier present in the message.
OthrPurchsIdrTpOther Purchase Identifier Type [0..1]Max35TextUsed when Purchase Identifier Type is Other National or Other Private.
- 14 more elements not shown
ConvsDtTmConversion Date Time [0..1]DateTime2Date and Time of currency conversion.
DtDate [1..1]ISODateDate of currency conversion.
TmTime [0..1]ISOTimeTime of currency conversion
AccptrAcceptor [0..1]PartyIdentification285Card acceptor performing the card transaction.
IdIdentification [1..1]Max35TextIdentification of the party.
AssgnrAssigner [0..1]Max35TextEntity in charge of assigning an identification to a party.
CtryCountry [0..1]ISO3NumericCountryCodeCountry of the party.
ShrtNmShort Name [0..1]Max35TextShort name of the party.
LglCorpNmLegal Corporate Name [0..1]Max99TextLegal Corporate Name of the party
- 2 more elements not shown
TermnlTerminal [0..1]Terminal8Payment terminal or ATM performing the transaction.
IdIdentification [1..1]Max16TextIdentification of the terminal.
AddtlIdAdditional Identification [0..*]AdditionalData1Additional identification assigned by an agent to an acceptor.
CntxtContext [0..1]Context24Context of the transaction.
CardDataNtryMdCard Data Entry Mode [0..1]CardDataReading10CodeEntry mode of the card data for the transaction
OthrCardDataNtryMdOther Card Data Entry Mode [0..1]Max35TextOther type of card data entry mode.
QRCdPresntmntMdQR Code Presentment Mode [0..1]QRCodePresentmentMode1CodeMethod used to present a QR Code at the point of service.
OthrQRCdPresntmntMdOther QR Code Presentment Mode [0..1]Max35TextOther method of QR Code presentment.
MrchntCtgyCdMerchant Category Code [0..1]ISO18245MerchantCategoryCodeCategory code related to the type of services or goods the merchant provides for the transaction in accordance with ISO 18245.
- 44 more elements not shown
PyerPayer [0..1]PartyIdentification287The party providing source of funds.
FIFinancial Institution [0..1]FinancialInstitution8Financial institution-related data required by business and/or regulation (for example, money or funds transfer).
IdIdentification [0..1]Max35TextIdentification of the customer assigned by a party.
DsgntDesignation [0..1]Max2NumericTextIdentifies the specific customer when multiple customers are associated with the same account.
CrdntlsCredentials [0..*]Credentials3Credentials of the financial customer.
NmName [0..1]CardholderName3Name of the financial customer.
- 7 more elements not shown
PyeePayee [0..1]PartyIdentification287The party receiving funds.
FIFinancial Institution [0..1]FinancialInstitution8Financial institution-related data required by business and/or regulation (for example, money or funds transfer).
IdIdentification [0..1]Max35TextIdentification of the customer assigned by a party.
DsgntDesignation [0..1]Max2NumericTextIdentifies the specific customer when multiple customers are associated with the same account.
CrdntlsCredentials [0..*]Credentials3Credentials of the financial customer.
NmName [0..1]CardholderName3Name of the financial customer.
- 7 more elements not shown
TknToken [0..1]Token2Details of payment token.
PmtTknPayment Token [0..1]Max19NumericTextSurrogate value of the PAN.
TknXpryDtToken Expiry Date [0..1]ISOYearMonthExpiry date of the payment token.
TknRqstrIdToken Requestor Identification [0..1]Max11NumericTextIdentification of a party requesting a token.
TknAssrncDataToken Assurance Data [0..1]Max140TextSupporting information for the Token Assurance Method.
TknAssrncMtdToken Assurance Method [0..1]Max2NumericTextValue that allows a Token Service Provider to indicate the identification and verification performed representing the binding of the payment token to...
- 6 more elements not shown
WlltWallet [0..1]Wallet3Container for tenders used by the customer to perform the payment transaction.
PrvdrProvider [0..1]PartyIdentification285Identification of the provider of the wallet.
PANAgePAN Age [0..1]Max5PositiveNumberNumber of days that the user’s PAN has been on file for the user.
UsrAcctAgeUser Account Age [0..1]Max5PositiveNumberNumber of days since the user wallet account for this user exists.
AcctAgeAccount Age [0..1]Max5PositiveNumberNumber of days since the user created the wallet account or started using the wallet.
DaysSncLastActvtyDays Since Last Activity [0..1]Max5PositiveNumberNumber of days since the last activity on the wallet.
- 14 more elements not shown
SpclPrgrmmQlfctnSpecial Programme Qualification [0..*]SpecialProgrammeQualification2Data to qualify for incentive or other related programmes.
PrgrmmProgramme [0..1]Max35TextName of special programme.
DtlDetail [0..*]SpecialProgrammeDetails2Name and value associated with a special programme.
JursdctnJurisdiction [0..1]Jurisdiction2Contains information that identifies or is specific to a transaction jurisdiction.
DmstIndDomestic Indicator [0..1]TrueFalseIndicatorWhen true, indicates the transaction is considered to be domestic.
DmstQlfctnDomestic Qualification [0..1]Max35TextIdentifies the reason the transaction is considered to be domestic or non-domestic.
SttlmSvcSettlement Service [0..1]SettlementService6Type of settlement service for specific services requiring settlement.
TpType [0..1]Max35TextType of settlement service applied
IdIdentification [0..1]Max35TextIdentification of settlement service applied.
ReqdDtRequested Date [0..1]ISODateDate requested for settlement.
DfrrdDeferred [0..1]TrueFalseIndicatorIndicate a deferred Settlement date.
DtDate [0..1]ISODateActual date of settlement.
- 6 more elements not shown
AddtlFeeAdditional Fee [0..*]AdditionalFee3Fees not included in the transaction amount.
TpType [1..1]TypeOfAmount21CodeType or class of fee.
OthrTpOther Type [0..1]Max35TextAdditional information to specify the type of amount of fee.
PrgmProgram [0..1]Max35TextIdentification of fee program.
DscrptrDescriptor [0..1]Max35TextIdentification of specific fee.
CdtDbtCredit Debit [0..1]CreditDebit3CodeContains code list for a credit or debit transaction
- 8 more elements not shown
RcncltnReconciliation [0..1]Reconciliation4Identification of the reconciliation period between the acquirer and the issuer or their respective agents.
IdIdentification [0..1]Max35TextIdentification of the reconciliation.
DtDate [0..1]ISODateDate of the reconciliation.
ChckptRefCheckpoint Reference [0..1]Max35TextA value used to allow a period within a reconciliation date.
DsptDataDispute Data [1..*]DisputeData4Information about the dispute.
CyclCycle [0..1]Exact1NumericTextIndicates the cycle of presentment.
CondCondition [0..1]Max35TextCondition of the dispute.
StsStatus [0..1]Max35TextStatus of dispute.
PrtlPartial [0..1]TrueFalseIndicatorPartial dispute indicator.
RefReference [0..*]DisputeReference1Reference for the dispute.
- 4 more elements not shown
RtrvlFlfmtInstrsRetrieval Fulfilment Instructions [0..*]RetrievalFulfilmentInstructions3Fulfilment request instructions for the retrieval.
ReqdMtdRequested Method [0..*]Max35TextMethod requested by issuers to convey the transaction information.
EstblishdMtdEstablished Method [0..*]Max35TextMethod established by fulfilment system.
ActlDlvryMtdActual Delivery Method [0..1]Max35TextMethod actually used to convey the transaction information.
CtctContact [0..1]ContactBusiness1Contact for delivery.
PstlAdrPostal Address [0..1]Address2Postal address related to a retrieval fulfilment.
- 5 more elements not shown
PrcgRsltProcessing Result [1..1]ProcessingResult23Outcome of the processing of the authorisation.
RspnSrcIdResponse Source Identification [0..1]Max35TextIdentification of response source.
RspnSrcTpResponse Source Type [0..1]PartyType26CodeType of response source.
RspnSrcOthrTpResponse Source Other Type [0..1]Max35TextOther type of response source.
RspnSrcAssgnrResponse Source Assigner [0..1]PartyType9CodeEntity that assigns the identification for the response source.
RspnSrcCtryResponse Source Country [0..1]ISOMax3ACountryCodeCountry of the response source
- 4 more elements not shown
OrgnlRspnCdOriginal Response Code [0..1]ISO8583ResponseCodeOriginal Response code.
AddtlDataAdditional Data [0..*]AdditionalData2Contains additional data.
TpType [0..1]Max35TextType of information.
DtlsDetails [0..*]AdditionalData1Detail of the specific type of data.
PrtctdDataProtected Data [0..*]ProtectedData2Contains protected data and the attributes used to protect the data.
CnttTpContent Type [1..1]ContentType3CodeType of data protection.
EnvlpdDataEnveloped Data [0..1]EnvelopedData12Consists of an encrypted content of any type and encrypted content-encryption keys for one or more recipients.
NcrptdDataEncrypted Data [0..1]EncryptedData2Contains encrypted data and the attributes used to encrypt the data using the ISO 13492 methods for data encryption.
SplmtryDataSupplementary Data [0..*]SupplementaryData1Additional information that can not be captured in the structured fields and/or other specific block.
PlcAndNmPlace And Name [0..1]Max350TextUnambiguous reference to the location where the supplementary data must be inserted in the message instance.
EnvlpEnvelope [1..1]SupplementaryDataEnvelope1Technical element wrapping the supplementary data.
SctyTrlrSecurity Trailer [0..1]ContentInformationType41Trailer of the message containing a MAC.
MACDataMAC Data [1..1]MACData1Type of data protection.
MACMAC [1..1]Max8HexBinaryTextMessage Authentication Code data.
Have a cain.022 message? Paste it into the parser to see every element with its name and definition, and format checks on BICs, IBANs, dates and amounts.
External code sets used in cain.022
These elements take their values from ISO 20022 external code sets, which are published separately and updated every quarter without a new message version.
cain.022 questions
- What is the latest version of cain.022?
- The latest version in the ISO 20022 e-Repository release of 24 April 2025 is cain.022.001.03.
- What is the root element of cain.022?
- The XML document is Document with the namespace urn:iso:std:iso:20022:tech:xsd:cain.022.001.03, and its message element is RtrvlRspn (RetrievalResponse).
- Is there an MT equivalent of cain.022?
- No Swift MT message is listed as its direct equivalent on this site. Many ISO 20022 messages have no MT counterpart.
All ISO 20022 messages · ISO 20022 code sets · MT messages
The ISO 20022 message definitions, element names and definitions on this page are reproduced from material published at iso20022.org under the ISO 20022 Intellectual Property Rights policy. This is not the official source: the up-to-date ISO 20022 standards and repository material are published only at iso20022.org. Explanations in our own words are by ZagTrader. ZagTrader is not affiliated with or endorsed by ISO or Swift.