Change Card PIN – Function 005
Function 005 API call allows you to change the PIN on a given card. The constraint on this call is that one needs to know the old pin in order to change it. If the old PIN is unknown, then you need to reset the PIN to a natural status of “0000” using the RESET PIN function.
Inputs | Description | Required | Data Type |
---|---|---|---|
FunctionID | 005 | Y | |
P1 | PAN OR ALT ID | Y | (16,19) numeric |
P2 | Old PIN (encrypted-Base64) | Y | (12) varchar |
P3 | New PIN (encrypted-Base64) | Y | (12) varchar |
Outputs | Description | ||
P1 | Error Code | Y | |
P2 | Error Text | Y |
Example PIN Change Request
https://api.m2fin.com:8443/AuthENGINAPI/AuthENGINAPI?CID=5&CUSR=someusername&CPWD=somepassword&FUNC=005&MSGID=00001000006000023&P1=CARDNUMBER OR ALTID&P2=0000&P3=1X48SHS568394
Example PIN Change Response
P1=0000&P2=Change PIN Successful