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 SuperWalletChangePasswordMandatory
CompanyTokenTokenToken you got from 3G to operate this APIMandatory
customerTokenTokenToken of the customerMandatory
customerCurrentPasswordPasswordCurrent password of the customer includes !@#$%&()? charsMandatory
customerNewPasswordPasswordNew password of the customer includes !@#$%&()? charsMandatory

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
ResultNumberResult Code
ResultExplanationTextFree text of the response

Values:

ResultResult Explanation
000Password updated
902Data mismatch in one of the fields
999Current 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>