Name | Type | Requirement | Description |
---|
name | String | Mandatory | Tag Name |
hexColorCode | String | Mandatory | Color Code |
curl --location '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 '{
"name": "Vendorss",
"hexColorCode": "#FF1934"
}'
POST /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: 57
{
"name": "Vendorss",
"hexColorCode": "#FF1934"
}
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 ) |
environment | String | Live/Sandbox |
internalCode | String | It will be null |
{
"statuscode": "TXN",
"actcode": null,
"status": "Tag Added Successfully",
"data": {
"userId": 432352,
"name": "Testing",
"hexColorCode": "#FF1934",
"updated_at": "2023-05-04T09:22:32.581000Z",
"created_at": "2023-05-04T09:22:32.581000Z",
"_id": "645379580f08b4af410594f2"
},
"timestamp": "2023-05-04 14:52:32",
"ipay_uuid": "h0069915df07-b290-4b6f-9fd0-84e7601a52e9",
"orderid": null,
"environment": "LIVE",
"internalCode": null
}