Mobile to Name Lookup

A Name Lookup API that allows users or applications to look up the owner’s name associated with a given phone number. These APIs are used in cases where you need to verify the identity of a caller, enhance user profiles, or validate the legitimacy of phone numbers.

Header Parameters

NameTypeDescriptionMandatory (M) , Optional (O)Provided by INSTANTPAY (Y/N)
X-Ipay-Auth-CodeStringAuth Code is "1" (Fixed)MY
X-Ipay-Client-IdStringUnique Client Id Provided by InstantpayMY
X-Ipay-Client-SecretStringUnique Client Secret Provided by InstantpayMY
X-Ipay-Endpoint-IpStringEnd customer IP AddressMY

Request Parameters

Parameter NameTypeRequirementDescription
mobileNumberStringMandatoryUser Mobile Number
latitudeStringMandatoryEnd Customer Latitude.
longitudeStringMandatoryEnd Customer Longitude
externalRefStringMandatoryYour Unique Transaction id
consentStringMandatoryConsent should be
accepted by
customer

Sample Request

curl --location 'https://api.instantpay.in/identity/mobile/nameLookup' \
--header 'X-Ipay-Auth-Code: 1' \
--header 'X-Ipay-Client-Id: YWY3Oxxxxxxxxxx5IEcETrD5Yx+Q=' \
--header 'X-Ipay-Client-Secret: 82e4755xxxxxxxxxxxxxx7f3000aa5b56fc926d1' \
--header 'X-Ipay-Endpoint-Ip: 14.142.186.142' \
--header 'Content-Type: application/json' \
--data '{
    "mobileNumber" : 9876543210,
    "consent" : "Y",
    "latitude": "11.1009",
    "longitude": "26.9119",
    "externalRef": "1729743447"
}'
POST /identity/mobile/nameLookup HTTP/1.1
Host: api.instantpay.in
X-Ipay-Auth-Code: 1
X-Ipay-Client-Id: YWY3OTAzxxxxxxxxxxxxcETrD5Yx+Q=
X-Ipay-Client-Secret: 82e4755d7xxxxxxxxxxxxxxxxxxxx87f3000aa5b56fc926d1
X-Ipay-Endpoint-Ip: 14.142.186.142
Content-Type: application/json
Content-Length: 144

{
    "mobileNumber" : 9876543210,
    "consent" : "Y",
    "latitude": "11.1009",
    "longitude": "26.9119",
    "externalRef": "1729743474"
}

Response Parameters

Parameter NameTypeDescription
statuscodeStringInstantpay Status Code
actcodeStringAction Code
statusArrayStatus message
dataStringResponse Data(if Present)
timestampStringResponse time (YYYY-MM-DD HH:II:SS)
ipay_uuidStringRequest reference number
orderidStringTransaction Id(if transaction otherwise it is null)
environmentStringLive/Sandbox
internalCodeStringIt will be null

Sample Response

{
    "statuscode": "TXN",
    "actcode": null,
    "status": "Transaction Successful",
    "data": {
        "result": {
            "mobileLinkedName": "Ravi"
        },
        "poolReferenceId": "1241023100643TTMGX",
        "pool": {
            "openingBal": "98921.48",
            "mode": "DR",
            "amount": "2.36",
            "closingBal": "98919.12"
        }
    },
    "timestamp": "2024-10-23 15:36:43",
    "ipay_uuid": "h0009d503448-becb-4280-96e9-a97caf1a7e93-QFUQCEKHB3Rv",
    "orderid": "1241023100643TTMGX",
    "environment": "SANDBOX"
}



📘

Consent Text :

I hereby give my consent and submit voluntarily at my own discretion, my Voter ID for the
purpose of establishing my identity on the portal. The Voter ID submitted herewith shall not be used for
any purpose other than mentioned, or as per the requirements of the law.

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