Lock / Unlock / Block Card

Lock / Unlock / Block a physical card


Header Parameters

For Header Reference Click here

Request Parameters

NameTypeMandatory (M) , Optional (O)Description
kitNumberStringMKit number of physical card
mobileStringMCustomer Number

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": "1700025373",
    "mobile": "7428585742",
    "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": "1700025373",
    "mobile": "7428585742",
    "action": "unlock"


Response Parameters

For Response Reference Click here

Sample Response

   "statuscode": "TXN",
   "actcode": null,
   "status": "Transaction Successful",
   "data": null,
   "timestamp": "2023-04-24 21:56:20",
   "ipay_uuid": "h0059be29cf0-9bc1-49ed-86bd-36ca6d0f6ed9-LmzZmBCOb7tc",
   "orderid": "1230424215619QEDEL",
   "environment": "LIVE",
   "internalCode": null



Action Code Details

For Action Code details Click here

Click Try It! to start a request and see the response here!