List Address

Request Parameters

NameTypeRequirementDescription
gcIdStringMandatoryContact Id(You will get from Add Contact Response)

Sample Request

curl --location --request GET 'https://api.instantpay.in/contacts/address' \
--header 'Content-Type: application/json' \
--header 'X-Ipay-Client-Id: YWY3OTAzYzNlM2ExZTJlOQ8l80uxEOrgU6T3Oc4znVc=' \
--header 'X-Ipay-Client-Secret: 4dae76a4a01eb55f56ae4be9e3042ea899a70e9a5d965549a139e0e2c4a45532' \
--header 'X-Ipay-Endpoint-Ip: 223.190.59.168' \
--header 'X-Ipay-Auth-Code: 1' \
--data '{
    "gcId":"645383ba4acec95a320898227"
}
'
GET /contacts/address HTTP/1.1
Host: api.instantpay.in
Content-Type: application/json
X-Ipay-Client-Id: YWY3OTAzYzNlM2ExZTJlOQ8l80uxEOrgU6T3Oc4znVc=
X-Ipay-Client-Secret: 55bb356f8d28953c47b40286db23b3aba8e3902e6a0d923f90730e9f6e4b3fcb
X-Ipay-Endpoint-Ip:  14.142.186.142
X-Ipay-Auth-Code: 1
Content-Length: 41

{
    "gcId":"645383ba4acec95a320898227"
 }

Response Parameter

NameTypeDescription
statuscodeStringInstantpay status code
actcodeStringAction code
statusStringStatus message
dataArrayResponse data(if Present)
ipay_uuidStringRequest reference number
timestampStringResponse time (YYYY-MM-DD HH:II:SS)
orderidStringTransaction Id ( If transaction otherwise it is null )
environmentStringLive/Sandbox
internalCodeStringIt will be null
{
    "statuscode": "TXN",
    "actcode": null,
    "status": "Transaction Successful",
    "data": [
        {
            "_id": "6453883b1b3f10b8f1093092",
            "gcId": "645383ba4acec95a32089822",
            "addressType": "Billing",
            "address": "13 Karjhan Dubey, GT Road",
            "city": "Aligarh",
            "state": "Uttar pradesh",
            "pincode": "202001",
            "countryCode": "IN",
            "updated_at": "2023-05-04T10:32:41.435000Z",
            "created_at": "2023-05-04T10:26:03.447000Z"
        }
    ],
    "timestamp": "2023-05-04 16:23:13",
    "ipay_uuid": "h0059915ff76-3a56-4a6d-ae8f-83526a5de99e",
    "orderid": null,
    "environment": "LIVE",
    "internalCode": null
}
Language
Click Try It! to start a request and see the response here!