Mobile Change Validate

This API is used to change the mobile number of the customers.

📘

Header Parameters

For Header reference Click here

Request Parameters

Following are the parameters to be sent in the request body:

ParametersTypeDescription
existingMobileNumberStringExisting Mobile Number of the Customer
newMobileNumberStringNew Mobile number of the Customer
otp.existingMobileNumberStringOTP of the existing Mobile Number
otp.newMobileNumberStringOTP of the new Mobile Number

Sample Request

curl --location --request POST 'https://api.instantpay.in/user/outlet/mobileUpdateVerify' \
--header 'X-Ipay-Auth-Code: {{authCode}}' \
--header 'X-Ipay-Client-Id: {{clientId}}' \
--header 'X-Ipay-Client-Secret: {{clientSecret}}' \
--header 'X-Ipay-Endpoint-Ip: {{endPointIP}}' \
--header 'Content-Type: application/json' \
--data-raw '{
    "existingMobileNumber" : "7428585742",
    "newMobileNumber" : "9876543210",
    "otp" : {
        "existingMobileNumber" : "12345",
        "newMobileNumber" : "54321"
    }
}'
POST user/outlet/mobileUpdateVerify HTTP/1.1
Host: api.instantpay.in
X-Ipay-Auth-Code: {{authCode}}
X-Ipay-Client-Id: {{clientId}}
X-Ipay-Client-Secret: {{clientSecret}}
X-Ipay-Endpoint-Ip: {{endPointIP}}
Content-Type: application/json

{
    "existingMobileNumber" : "7428585742",
    "newMobileNumber" : "9876543210",
    "otp" : {
        "existingMobileNumber" : "12345",
        "newMobileNumber" : "54321"
    }
}'

Response Parameters

ParametersTypeDescription
statuscodestringInstantPay Status Code
actcodestringAction Code
statusstringStatus message
dataArrayResponse Data (If Present)
timestampstringCurrent time (YYYY-MM-DD HH:II:SS)
ipay_uuidstringRequest reference number
orderidstringTransaction Id ( If transaction otherwise it is null )
environmentstringLive/Sandbox

Sample Response

{
    "statuscode": "TXN",
    "actcode": null,
    "status": "Mobile Number successfully changed",
    "data": null,
    "timestamp": "2022-05-26 17:45:44",
    "ipay_uuid": "h00596641d6a-6c80-**********430dd3d1408f",
    "orderid": null,
    "environment": "LIVE",
    "internalCode": null

}
Language
Click Try It! to start a request and see the response here!