Mobile Change Initiate

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:

ParametersTypeDescription
existingMobileNumberStringExisting Mobile Number of the Customer
newMobileNumberStringNew 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

ParametersStringDescription
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": "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"
}
Language
Click Try It! to start a request and see the response here!