Change Password – ChangePswd
Function “ChangePswd” call can be used to change the API client’s password. The current password is required. Once changed that password (the old password) can no longer be used and it will be considered invalid. Note that if more than 3 attempts are made to submit an API call with an invalid password the Client User ID will be suspended. You will be required to contact Digital Payments to have your account re-enabled and password reset.
Inputs | Description | Required | Data Type |
---|---|---|---|
CID | Client ID | Y | (1,4) numeric |
CUSR | Client User ID | Y | (5,12) varchar |
CPWD | Client Password | Y | (8,20) varchar |
MSGID | Message ID | Y | numeric |
FUNC | ChangePswd | Y | numeric |
P1 | New Client Password | Y | (8,20) varchar |
Outputs | Description | ||
P1 | Error Code | Y | |
P2 | Error Text | Y |
Example: Change API access password
https://api.m2fin.com:8443//AuthENGINAPI/AuthENGINAPI?CID=5&CUSR=myuserid&CPWD=currapipswd&
FUNC=ChangePswd&MSGID=00005539228226466&P1=newapipswd
FUNC=ChangePswd&MSGID=00005539228226466&P1=newapipswd
Example: Change API access password Response
P1=0000&P2=Function changePswd Successful