post https://api.instantpay.in/user/outlet/mobileUpdateVerify
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:
Parameters | Type | Description |
---|---|---|
existingMobileNumber | String | Existing Mobile Number of the Customer |
newMobileNumber | String | New Mobile number of the Customer |
otp.existingMobileNumber | String | OTP of the existing Mobile Number |
otp.newMobileNumber | String | OTP 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
Parameters | Type | Description |
---|---|---|
statuscode | string | InstantPay Status Code |
actcode | string | Action Code |
status | string | Status message |
data | Array | Response Data (If Present) |
timestamp | string | Current time (YYYY-MM-DD HH:II:SS) |
ipay_uuid | string | Request reference number |
orderid | string | Transaction Id ( If transaction otherwise it is null ) |
environment | string | Live/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
}