post https://api.instantpay.in/cards/prepaid/changePhysicalCardStatus
Lock / Unlock / Block a physical card
Header Parameters
For Header Reference Click here
Request Parameters
Name | Type | Mandatory (M) , Optional (O) | Description |
---|---|---|---|
kitNumber | String | M | Kit number of physical card |
mobile | String | M | Customer Number |
action | String | M | ‘lock’,’unlock’,’block’ |
Sample Request
curl --location --request POST 'https://api.instantpay.in/cards/prepaid/changePhysicalCardStatus' \
--header 'X-Ipay-Auth-Code: {{authCode}}' \
--header 'X-Ipay-Client-Id: {{clientId}}' \
--header 'X-Ipay-Client-Secret: {{clientSecret}}' \
--header 'X-Ipay-Endpoint-Ip: {{endPointIP}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"kitNumber": "71******73",
"mobile": "97******31",
"action": "unlock"
}'
POST /cards/prepaid/changePhysicalCardStatus 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}}
Content-Type: application/json
{
"kitNumber": "71******73",
"mobile": "97******31",
"action": "unlock"
}
Response Parameters
For Response Reference Click here
Sample Response
{
"statuscode": "TXN",
"actcode": null,
"status": "Transaction Successful",
"data": null,
"timestamp": "YYYY-MM-DD HH:II:SS",
"ipay_uuid": "**********-****-****-****-**********",
"orderid": null,
"environment": "LIVE",
"internalCode": null
}
Action Code Details
For Action Code details Click here