Name | Type | Requirement | Description |
---|
gcId | String | Mandatory | Contact Id(You will get from Add Contact Response) |
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"
}
Name | Type | Description |
---|
statuscode | String | Instantpay status code |
actcode | String | Action code |
status | String | Status message |
data | Array | Response data(if Present) |
ipay_uuid | String | Request reference number |
timestamp | String | Response time (YYYY-MM-DD HH:II:SS) |
orderid | String | Transaction Id ( If transaction otherwise it is null ) |
environment | String | Live/Sandbox |
internalCode | String | It 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
}