get https://api.instantpay.in/contacts/tag
Sample Request Parameters
curl --location --request GET 'https://api.instantpay.in/contacts/tag' \
--header 'X-Ipay-Auth-Code: 1' \
--header 'X-Ipay-Client-Id: YWY3OTAzYzNlM2ExZTJlOfh549Gzt+5IEcETrD5Yx+Q=' \
--header 'X-Ipay-Client-Secret: 679db35f926b8d0240a8c0d28729528ee8e6d5effa5fa0b20c04454004d2d825' \
--header 'X-Ipay-Endpoint-Ip: 125.0.0.1' \
--header 'Content-Type: application/json' \
--data '
'
GET /contacts/tag HTTP/1.1
Host: api.instantpay.in
X-Ipay-Auth-Code: 1
X-Ipay-Client-Id: YWY3OTAzYzNlM2ExZTJlOfh549Gzt+5IEcETrD5Yx+Q=
X-Ipay-Client-Secret: 679db35f926b8d0240a8c0d28729528ee8e6d5effa5fa0b20c04454004d2d825
X-Ipay-Endpoint-Ip: 125.0.0.1
Content-Type: application/json
Content-Length: 1
Response Parameters
Name | Type | Description |
---|---|---|
statuscode | String | InstantPay Status Code |
actcode | String | Action Code |
status | String | Status Message |
data | Array | Response Data (If Present) |
timestamp | String | Response time (YYYY-MM-DD HH:II:SS) |
ipay_uuid | String | Request reference number |
orderid | String | Transaction Id ( If transaction otherwise it is null ) |
enviroment | String | Live/Sandbox |
internalCode | String | It will be null |
Sample Response
{
"statuscode": "TXN",
"actcode": null,
"status": "Transaction Successful",
"data": [
{
"_id": "645381c92c8e9e093406ccb2",
"name": "Sample 1",
"hexColorCode": "#1EB626"
},
{
"_id": "645382c19e8fbf278408c4c3",
"name": "Sample 2",
"hexColorCode": "#FF9123"
},
{
"_id": "645383ba4acec95a32089823",
"name": "Sample 3",
"hexColorCode": "#FF9123"
},
{
"_id": "64538588930815be2e0e7d82",
"name": "Sample 4",
"hexColorCode": "#FF1931"
},
{
"_id": "64538c2a92b4b2217d02aee2",
"name": "Sample 5",
"hexColorCode": "#3BB1CD"
},
{
"_id": "64538c2b92b4b2217d02aee3",
"name": "Sample 6",
"hexColorCode": "#E76674"
},
{
"_id": "64538c2b92b4b2217d02aee4",
"name": "Sample 7",
"hexColorCode": "#66C61F"
}
],
"timestamp": "2023-05-04 16:21:48",
"ipay_uuid": "h0689915fef3-836b-4826-ac0f-f0f9d92d9a5e",
"orderid": null,
"environment": "LIVE",
"internalCode": null
}