Validate PIN – Function 012
Function 012 call validates the PIN against the card. This API call accepts the card number and the PIN you are trying to validate as parameters. If the PIN cannot be validated, an appropriate response is generated.
Inputs | Description | Required | Data Type |
---|---|---|---|
FunctionID | 012 | Y | |
P1 | PAN OR ALT IDr | Y | (16,19) numeric |
P2 | PIN (encrypted-Base64) | Y | (12) varchar |
Remote_Host | Remote host IP address | N | IP address |
Outputs | Description | ||
P1 | Error Code | Y | |
P2 | Error Text | Y |
Example
https://api.m2fin.com:8443/AuthENGINAPI/AuthENGINAPI?CID=5&CUSR=myuseraccount&CPWD=passwordassignedtome&FUNC=012&MSGID=00001297700000093&P1= PAN OR ALT ID&P2=384740SW0000
Example
P1=000&P2=Pin Validation Successful
NOTE: The Remote_Host parameter is optional and is used for velocity checks.