API Docs
When invoking the QueryTransactionsDetail operation, there are two detail formats defined by the TransactionDetailFormat enumeration—CWSTransaction and SerializedCWS.
CWSTransaction represents a complete transaction using the CWS object model. Refer to the CWSTransaction object for additional information.
A serialized XML representation of the CWSTransaction object in the CWS object model.
<CWSTransaction> <TransactionClass>CREDIT</TransactionClass> <TransactionType>AUTH</TransactionType> <SequenceNumber>36</SequenceNumber> <ServiceId>#SVCID#</ServiceId> </TransactionMetaData> <MerchantProfileMerchantData xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <CustomerServicePhone>303 3333333</CustomerServicePhone> <Language>ENG</Language> <Address> <Street1>123 Main Street</Street1> <City>Denver</City> <StateProvince>CO</StateProvince> <PostalCode>80202</PostalCode> <CountryCode>USA</CountryCode> </Address> <MerchantId>XXXXXXXXXXXX</MerchantId> <Name>Acme Inc</Name> <Phone>303 3334444</Phone> <BankcardMerchantData> <AgentBank>123456</AgentBank> <ClientNumber>1224</ClientNumber> <IndustryType>NotSet</IndustryType> <PrintCustomerServicePhone>false</PrintCustomerServicePhone> <SIC>7777</SIC> <StoreId>1234</StoreId> <TerminalId>123</TerminalId> </BankcardMerchantData> </MerchantProfileMerchantData> <ApplicationData xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <ApplicationAttended>true</ApplicationAttended> <ApplicationLocation>OnPremises</ApplicationLocation> <ApplicationName>#APPNAME#</ApplicationName> <DeveloperId>Joe Developer</DeveloperId> <HardwareType>PC</HardwareType> <PINCapability>PINNotSupported</PINCapability> <ReadCapability>HasMSR</ReadCapability> <SerialNumber>12346578901</SerialNumber> <SoftwareVersion>2.0</SoftwareVersion> <SoftwareVersionDate>0001-01-01T00:00:00</SoftwareVersionDate> <VendorId>1234</VendorId> </ApplicationData> <BankcardTransaction xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <CustomerData> <BillingData/> </CustomerData> <BankcardTenderData> <CardData> <CardType>AmericanExpress</CardType> <PAN>XXXXXXXXXXXXXXXX</PAN> <Expire>1210</Expire> </CardData> <CardSecurityData> <AVSData> <StateProvince>NotSet</StateProvince> <Country>NotSet</Country> </AVSData> <CVDataProvided>NotSet</CVDataProvided> </CardSecurityData> </BankcardTenderData> <BankcardTransactionData> <Amount>10.00</Amount> <CurrencyCode>USD</CurrencyCode> <TransactionId>36</TransactionId> <AccountType>NotSet</AccountType> <CashBackAmount>0.00</CashBackAmount> <CustomerPresent>NotSet</CustomerPresent> <EmployeeId>001</EmployeeId> <EntryMode>NotSet</EntryMode> <GoodsType>NotSet</GoodsType> <IndustryType>NotSet</IndustryType> <SignatureCaptured>false</SignatureCaptured> <TipAmount>0.00</TipAmount> </BankcardTransactionData> </BankcardTransaction> <BankcardTransactionResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <Status>Successful</Status> <StatusCode>000</StatusCode> <StatusMessage>APPROVED</StatusMessage> <TransactionId/> <OriginatorTransactionId>36</OriginatorTransactionId> <ServiceTransactionId>53851</ServiceTransactionId> <ServiceTransactionDateTime/> <AdviceResponse>NotSet</AdviceResponse> <Amount>10.00</Amount> <CardType>AmericanExpress</CardType> <CommercialCardResponse>NotSet</CommercialCardResponse> <FeeAmount>0.05</FeeAmount> <ApprovalCode>28030</ApprovalCode> <AVSResult> <ActualResult>N</ActualResult> <AddressResult>NoMatch</AddressResult> <PostalCodeResult>NoMatch</PostalCodeResult> </AVSResult> <BatchId/> <CVResult>NotSet</CVResult> <CardLevel/> <DowngradeCode/> <MaskedPAN>XXXXXXXXXXXXXXXX</MaskedPAN> <PaymentAccountDataToken>cfdfc429-9a98-4004-8e9d-c1288c9b4429e23fb2a0-741c-42a7-b33d-1eebbb857b6b</PaymentAccountDataToken> <RetrievalReferenceNumber/> <Resubmit>Unspecified</Resubmit> <ReturnedACI>NotSet</ReturnedACI> <SettlementDate>0001-01-01T00:00:00</SettlementDate> <FinalBalance>0</FinalBalance> </BankcardTransactionResponse> </CWSTransaction>
Updated: June 2, 2017
SUBMIT A DEVELOPER SUPPORT REQUEST
Agent or a merchant? Contact NAB support at 866.485.8999 EXT 2341