Skip to main content

SCA Functional Specification

TESTMAC

Last updated: 23-Jul-2025

This command is used for validating the MAC.

Device UI Required: No

Request Packet
Field Rule Type Min Max Value Comments
FUNCTION_TYPE Required Static
Value
NA NA SECURITY Type of function.
COMMAND Required Static
Value
NA NA TEST_MAC Command name
MAC_LABEL Required Character 1 50 Got during REGISTER MAC label assigned to POS during original REGISTER
transaction
MAC Required Base64
Encoded
Data
NA NA   COUNTER value encrypted by 128-AES MAC_KEY.
This value is Base64 encoded
COUNTER Required Numeric 1 10   The value of counter is incremented by the POS for each
request. Min value: 1 and Max value: 4294967295
Response Packet
Field Type Value Comments
RESPONSE_TEXT Character Match  
RESULT Character OK or Error Code Refer to <Error Section>
RESULT_CODE Numeric -1,
59001,
59020,
59040,
59051,
 
TERMINATION_STATUS Character SUCCESS or
Error Codes
 
COUNTER Numeric Value entered by
user
Echoes counter sent in the request

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