Transaction Message
A transaction message is the start point of the transaction. It also an endpoint of the last transaction. All items following the transaction message belong to it. The transaction message contains the counts and amount of items within the transaction.
| Parameter Name | Value | Description |
|---|---|---|
| reverse | True, False | Transaction reverse is set to false when created. If a reverse transaction message is received, the field is set to true and the totals are set to 0. |
| userField | User field of the transaction message | |
| transactionSequenceNumber | Unique transaction sequence number in the batch | |
| captureDateTime | The capture date and time parameter is in the form yyyy-mm-ddThh:mm:ss. The "T" starts the time area. | |
| captureSiteID | Capture site identifier | |
| captureDeviceID | Capture device identifier | |
| captureDeviceType | Capture device type | |
| captureOperatorID | Capture operator identifier | |
| transactionType | Transaction type | |
| transactionAccount | Transaction account number | |
| customerID | Customer identifier | |
| tellerID | Teller identifier | |
| cashBoxID | Cash box identifier | |
| totalItemCount | Total number of all kinds of items in the transaction | |
| debitItemCount | Total number of debit items in the transaction | |
| debitTotalAmount | Total amount of all debit items in the transaction | |
| creditItemCount | Total number of all credit items in the transaction | |
| creditTotalAmount | Total amount of all credit items in the transaction | |
| cashInItemCount | Total number of all cash in items in the transaction | |
| cashInTotalAmount | Total amount of all cash in items in the transaction | |
| cashOutItemCount | Total number of all cash out items in the transaction | |
| cashOutTotalAmount | Total amount of all cash out items in the transaction | |
| originalRecordData | The original record data of the transaction message. The format attribute is IR. |
The payload portion of a sample transaction message in XML is shown:
<cap:transactionRecord reverse="false" xmlns:cap="http://www.ibm.com/PayDirCapture"
xmlns:xsi="http://www.w3.org/2001/xmlSchema-instance">
<transactionSequenceNumber>0</transactionSequenceNumber>
<captureDateTime>2008-10-24T08:32:03</captureDateTime>
<captureSiteID>captureSiteID0</captureSiteID>
<captureDeviceID>captureDeviceID0</captureDeviceID>
<captureDeviceType>readerSorter</captureDeviceType>
<captureOperatorID>captureOperatorID0</captureOperatorID>
<transactionType>deposit</transactionType>
<transactionAccount>3973594384</transactionAccount>
<customerID>customerID0</customerID>
<tellerID>tellerID0</tellerID>
<cashBoxID>cashboxID0</cashBoxID>
<totalItemCount>7</totalItemCount>
<debitItemCount>4</debitItemCount>
<debitTotalAmount>5400000</debitTotalAmount>
<creditItemCount>1</creditItemCount>
<creditTotalAmount>453200</creditTotalAmount>
<cashInItemCount>0</cashInItemCount>
<cashInTotalAmount>0</cashInTotalAmount>
<cashOutItemCount>2</cashOutItemCount>
<cashOutTotalAmount>2678600</cashOutTotalAmount>
<originalRecordData format="IR">
Transaction Test Original Record Data
</originalRecordData>
</cap:transactionRecord>