Skip to main content

SCA Functional Specification

TESTMAC

Last updated: 04-Dec-2024

This command is used for validating the MAC.

Device UI Required: No

Request Packet
Field Rule Type Min Max Value Comments
FUNCTION_TYPE R S
SECURITY  
COMMAND R S
TEST_MAC  
MAC_LABEL R C 1 50 Got during REGISTER MAC label assigned to POS during original REGISTER
transaction
MAC R E
  COUNTER value encrypted by 128-AES MAC_KEY.
This value is Base64 encoded
COUNTER R N 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 C Match  
RESULT C OK or Error Code Refer to <Error Section>
RESULT_CODE N -1
59001
59020
59040
59051
 
TERMINATION_STATUS C SUCCESS or
Error Codes
 
COUNTER N 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