Enable / Disable Specific Channel

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

Physical card kit number (10 Digit)

mobile

String

O

Customer mobile number

otp

String

C

6 digit number. In the first case this field is not mandatory . If a customer received otp then if again send the same request then otp is mandatory.

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"
}'
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"
}

πŸ“˜

Response Parameters

For Response Reference Click here

Sample Response

{
    "statuscode": "TXN",
    "actcode": "OtpGenerated",
    "status": "One Time Password sent to 91******01 and a****[email protected]",
    "data": {
        "recipient": {
            "mobile": "91******01",
            "email": "a****[email protected]"
        }
    },
    "timestamp": "YYYY-MM-DD HH:II:SS",
   "ipay_uuid": "**********-****-****-****-**********",
    "orderid": null,
    "environment": "LIVE"
}

Sample Request (Same Endpoint URL)

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": "ECOM/ATM/POS/CL",
   "transactionFlag": "Enable/Disable",
   "kitNumber": "17******73"
   "mobile":"91******01",
   "otp":"******",
 
}'
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": "ECOM/ATM/POS/CL",
    "transactionFlag": "Enable/Disable",
    "kitNumber": "17******73"
    "mobile":"91******01",
    "otp":"******",
 }

Sample Response

{
   "statuscode": "TXN",
   "actcode": null,
   "status": "Transaction Successful",
   "data": null,
   "timestamp": "YYYY-MM-DD HH:II:SS",
  "ipay_uuid": "**********-****-****-****-**********",
   "orderid": null,
   "environment": "LIVE"
}

πŸ“˜

Action Code Details

For Action Code details Click here

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