patch https://api.instantpay.in/cards/gift/tag/{{Kitnumber}}?tag=gift
To update tag on your gift card.
Header Parameters
For Header references Click here
Query Params
Name | Description |
---|---|
kitnumber | pass the kitNumber of the card in the url body |
Sample Request
curl --location --request PATCH 'https://api.instantpay.in/cards/gift/tag/{{kitNumber}}?tag=gift' \
--header 'X-Ipay-Auth-Code: {{authCode}}' \
--header 'X-Ipay-Client-Id: {{clientId}}' \
--header 'X-Ipay-Client-Secret: {{clientSecret}}' \
--header 'X-Ipay-Endpoint-Ip: {{endPointIP}}' \
PATCH /cards/gift/tag/3110000556?tag=gift HTTP/1.1
Host: api.instantpay.in
X-Ipay-Auth-Code: {{authCode}}
X-Ipay-Client-Id: {{clientId}}
X-Ipay-Client-Secret: {{clientSecret}}
X-Ipay-Endpoint-Ip: {{endPointIP}}
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 | Current 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 |
Sample Response
{
"statuscode": "TXN",
"actcode": null,
"status": "Card tag updated successfully",
"data": null,
"timestamp": "2022-04-11 16:33:20",
"ipay_uuid": "h00696097d3d-b1d1-4443-a43b-93ebaf164114",
"orderid": null,
"environment": "LIVE",
}