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": "1711012345",
"mobile" : "7428585742"
}'
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": "1711012345",
"mobile" : "7428585742"
}
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