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:

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/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" : "72******21",
    "newMobileNumber" : "99******01",
    "otp" : {
        "existingMobileNumber" : "7****1",
        "newMobileNumber" : "1****9"
    }
}'
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" : "72******21",
    "newMobileNumber" : "99******01",
    "otp" : {
        "existingMobileNumber" : "7****1",
        "newMobileNumber" : "1****9"
    }
}

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