SuperWalletChangePassword
The SuperWalletChangePassword request will allow the customer to change password
URL: https://secure1.sandbox.directpay.online/API/v6/
Variables to send:
Parameter | Data type | Description | |
---|---|---|---|
Request | Text | SuperWalletChangePassword | Mandatory |
CompanyToken | Token | Token you got from 3G to operate this API | Mandatory |
customerToken | Token | Token of the customer | Mandatory |
customerCurrentPassword | Password | Current password of the customer includes !@#$%&()? chars | Mandatory |
customerNewPassword | Password | New password of the customer includes !@#$%&()? chars | Mandatory |
Request example
<?xml version="1.0" encoding="utf-8"?> <API3G> <CompanyToken>68B90B5E-25F6-4146-8AB1-C7A3A0C41A7F</CompanyToken> <Request>SuperWalletChangePassword</Request> <customerToken>C34F09A5-A6BA-46BD-9245-38AC7E32CC20</customerToken> <customerCurrentPassword>pass123!</customerCurrentPassword> <customerNewPassword>321pass!</customerNewPassword> </API3G>
Response:
The server will respond for the SuperWalletChangePassword request according to the following results:
Parameter | Data type | Description |
---|---|---|
Result | Number | Result Code |
ResultExplanation | Text | Free text of the response |
Values:
Result | Result Explanation |
---|---|
000 | Password updated |
902 | Data mismatch in one of the fields |
999 | Current password does not match / User not found |
Response example
<?xml version="1.0" encoding="utf-8"?> <API3G> <Result>000</Result> <ResultExplanation>Password updated</ResultExplanation> </API3G>