post https://api.instantpay.in/user/outlet/mobileUpdate
This API is used to change the mobile number of the customers.
In this call you will get the OTP to verify.
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 |
Sample Request
curl --location --request POST 'https://api.instantpay.in/user/outlet/mobileUpdate' \
--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"
}'
POST user/outlet/mobileUpdate 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"
}'
Response Parameters
Parameters | String | 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": "Outlet mobile change request accepted, please verify OTP to complete this process",
"data": {
"existing": "OTP send on ********42",
"new": "OTP send on ********10"
},
"timestamp": "2022-05-26 17:44:52",
"ipay_uuid": "h06896641d1b-5539***********-9d98c265546d",
"orderid": null,
"environment": "LIVE"
}