Set Physical Card Pin

πŸ“˜

Header Parameters

For Header Reference Click here

Request Parameters

Name

Type

Mandatory (M) , Optional (O), Conditional (C)

Description

kitNumber

String

M

Kit number of physical card

mobile

String

M

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/setPhysicalCardPin' \
--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": "17******73",
    "mobile" : "97******31"
}'
POST /cards/prepaid/setPhysicalCardPin 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": "17******73",
    "mobile" : "97******31"
}

πŸ“˜

Response Parameters

For Response Reference Click here

Sample Response

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

Sample Request (Same Endpoint URL)

{
   "kitNumber": "17******73",
   "mobile": "97******31",
   "otp": "******"
}

Sample Response

{
   "statuscode": "TXN",
   "actcode": null,
   "status": "Transaction Successful",
   "data": {
       "url": "https://yespaywallet.yesbank.in/physical_card/****************************************************88/set_pin"
   },
   "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!