post https://api.instantpay.in/cards/prepaid/changeCardChannelStatus
Enable or disable a specific channel of a physical card
Header Parameters
For Header Reference Click here
Request parameters
Name | Type | Mandatory (M) , Optional (O),Conditional (C) | Description |
---|---|---|---|
channelType | String | M | ECOM/ATM/POS/CL |
transactionFlag | String | M | Enable / Disable |
kitNumber | String | M | card kit number (10 Digit) |
mobile | String | O | Customer mobile number |
Sample Request
curl --location --request POST 'https://api.instantpay.in/cards/prepaid/changeCardChannelStatus' \
--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 '{
"channelType": "CL",
"transactionFlag": "Enable",
"kitNumber": "17******73",
"mobile" : "9876543210"
}'
POST /cards/prepaid/changeCardChannelStatus 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
{
"channelType": "CL",
"transactionFlag": "Enable",
"kitNumber": "17******73",
"mobile" : "9876543210"
}
Response Parameters
For Response Reference Click here
Sample Response
{
"statuscode": "TXN",
"actcode": null,
"status": "Transaction Successful",
"data": null,
"timestamp": "2023-09-19 12:02:15",
"ipay_uuid": "h0689a2b3df1-702f-473d-92d1-43d90fffd3bb-tUSgzN2cIjkw",
"orderid": null,
"environment": "LIVE",
"internalCode": null
}
Action Code Details
For Action Code details Click here