Skip to main content

SCA Functional Specification

Card Totals

Last updated: 04-Dec-2024

This command runs the Card Totals report. Card totals is the request/response sequence for getting transaction totals for each card issuer as identified in the cardbrands parameter.

  

Note

Available for First Data Rapid Connect at time of publication. Generated from local batch file – no communication with host needed.

Device UI Required: No

Request Packet
Field Rule Type Minimum Maximum Value(s) Description
FUNCTION_TYPE Required Static value N/A N/A REPORT Type of function
COMMAND Required Static value N/A N/A CARD_TOTALS Command name
COUNTER Required Numeric 1 10   COUNTER is used for a given MAC label. Each COUNTER should be higher than the last one. This is sed to authenticate the POS. Example: 100
MAC Required Base64 Encoded Data N/A N/A   Message Authentication Code. This is used to authenticate the POS.
MAC_LABEL Required Character 1 50   Associated label that tells the device which MAC_KEY to use to decrypt the value of MAC. This is used to authenticate the POS. Example: REG1
Example

Following is an example of request packet

<TRANSACTION>
<FUNCTION_TYPE>REPORT</FUNCTION_TYPE>
<COMMAND>CARD_TOTALS</COMMAND>
<COUNTER>1</COUNTER>
<MAC></MAC>
<MAC_LABEL>REG2</MAC_LABEL>
</TRANSACTION>
Response Packet
Field Type Value Description
RESPONSE_TEXT Character   Processor response text. Example: Report Completed
RESULT Character   This indicates the Result details. Example: OK
RESULT_CODE Numeric Expected result codes: -1 This indicates the result code.
TERMINATION_STATUS Character SUCCESS and FAILURE This indicates the transaction termination status. This is the overall status of the transaction irrespective of approved or declined. Like, if the output is generated then the status is SUCCESS and if no output is generated then the status will be FAILURE.
COUNTER Numeric   Echoes COUNTER sent in the request. Example: 100
FUNCTION_TYPE Character REPORT Returns the type of function.
COMMAND Numeric CARD_TOTALS Returns the command name.
CARD_TOTALS_REPORT     Refer to Response example below for more details on CARD_TOTALS_DATA Receipt Text Elements.
Example

Following is an example of response packet

<RESPONSE>
<RESPONSE_TEXT>Report Completed</RESPONSE_TEXT>
<RESULT>OK</RESULT>
<RESULT_CODE>-1</RESULT_CODE>
<TERMINATION_STATUS>SUCCESS</TERMINATION_STATUS>
<COMMAND>CARD_TOTALS</COMMAND>
<FUNCTION_TYPE>REPORT</FUNCTION_TYPE>
<CARD_TOTALS_REPORT>
        <CARD_TOTALS_DATA>
                <TEXTLINE>              VERIFONE SCA              </TEXTLINE>
                <TEXTLINE>          11700 Great Oaks Way          </TEXTLINE>
                <TEXTLINE>               Suite 210                </TEXTLINE>
                <TEXTLINE>          Alpharetta, GA 30022          </TEXTLINE>
                <TEXTLINE>                                        </TEXTLINE>
                <TEXTLINE>                                        </TEXTLINE>
                <TEXTLINE>                                        </TEXTLINE>
                <TEXTLINE>Merchant ID:             RCTST0000042337</TEXTLINE>
                <TEXTLINE>Terminal ID:                         001</TEXTLINE>
                <TEXTLINE>                                        </TEXTLINE>
                <TEXTLINE>12/26/17                        16:32:45</TEXTLINE>
                <TEXTLINE>                                        </TEXTLINE>
                <TEXTLINE>           CARD TOTALS REPORT           </TEXTLINE>
                <TEXTLINE>                                        </TEXTLINE>
                <TEXTLINE>                                        </TEXTLINE>
                <TEXTLINE>               MASTERCARD               </TEXTLINE>
                <TEXTLINE>                                        </TEXTLINE>
                <TEXTLINE>                                        </TEXTLINE>
                <TEXTLINE>Count:                                 7</TEXTLINE>
                <TEXTLINE>Sale Amt Total:            $        8.23</TEXTLINE>
                <TEXTLINE>Tip Amt Total:             $        0.00</TEXTLINE>
                <TEXTLINE>CB Total:                  $        0.00</TEXTLINE>
                <TEXTLINE>Surcharge Tot:             $        0.00</TEXTLINE>
                <TEXTLINE>Grand Total:               $        8.23</TEXTLINE>
                <TEXTLINE>                                        </TEXTLINE>
                <TEXTLINE>                                        </TEXTLINE>
                <TEXTLINE>                DISCOVER                </TEXTLINE>
                <TEXTLINE>                                        </TEXTLINE>
                <TEXTLINE>                                        </TEXTLINE>
                <TEXTLINE>Count:                                 2</TEXTLINE>
                <TEXTLINE>Sale Amt Total:            $        3.29</TEXTLINE>
                <TEXTLINE>Tip Amt Total:             $        0.00</TEXTLINE>
                <TEXTLINE>CB Total:                  $        0.00</TEXTLINE>
                <TEXTLINE>Surcharge Tot:             $        0.00</TEXTLINE>
                <TEXTLINE>Grand Total:               $        3.29</TEXTLINE>
                <TEXTLINE>                                        </TEXTLINE>
                <TEXTLINE>              GRAND TOTALS              </TEXTLINE>
                <TEXTLINE>                                        </TEXTLINE>
                <TEXTLINE>                                        </TEXTLINE>
                <TEXTLINE>Sale Total:       8         $      11.52</TEXTLINE>
                <TEXTLINE>Tip Total:        0         $       0.00</TEXTLINE>
                <TEXTLINE>Surcharges:       0         $       0.00</TEXTLINE>
                <TEXTLINE>Refunds:          0         $       0.00</TEXTLINE>
                <TEXTLINE>CB Total:         0         $       0.00</TEXTLINE>
                <TEXTLINE>Grand Tot:        8         $      11.52</TEXTLINE>
                <TEXTLINE>                                        </TEXTLINE>
                <TEXTLINE>                                        </TEXTLINE>
                <TEXTLINE>                                        </TEXTLINE>
                <TEXTLINE>                                        </TEXTLINE>
        </CARD_TOTALS_DATA>
</CARD_TOTALS_REPORT>
</RESPONSE>

Need help?

Do you have a question? If you didn’t find the answer you are looking for in our documentation, you can contact our Support teams for more information. If you have a technical issue or question, please contact us. We are happy to help.

Not yet a Verifone customer?

We’ll help you choose the right payment solution for your business, wherever you want to sell, in-person or online. Our team of experts will happily discuss your needs.

Verifone logo