Skip to content

Set Pin

| View as Markdown

This API is used to set pin for the card which needs to be entered for making the payment transaction. We must pass entity id, kit no, pin and expiry date in request. If the request has valid details, we will get a success response.

https://kraken.airpay.co.in/airpay/ms/cards/api/set-pin
ParameterType ValueDescriptionValue Like
token requiredtext
(1-10)
91f5evhk72f56432ec678sdfes685h42sd2t21k430912508233b7r37562g2hps
checksum requiredtext$string = $param.self::$secret_key; sha256(<concate all values+SECRET KEY>);(dynamic, required)91f5evhk72f56432ec678sdfes685h42sd2t21k430912508233b7r37562g2hps
ParameterType ValueDescriptionValue Like
entity_id requiredtext
(1-50)
The Customer Id registered with the system91f5evhk72f56432ec678sdfes685h42sd2t21k430912508233b7r37562g2hps
kit_no requiredtext
(1-16)
Kit no. for which the pin needs to be set100000001203
pin requirednumeric
(1-4)
PIN is 4 digits .Pin will expire in 365 days1234
expiryDate requiredtext
(1-4)
MMYY Format EG:10210224
ParameterType ValueDescriptionValue Like
status requirednumeric
(1-3)
airpay status400,200
message requiredtextairpay status messageSuccess,Fail
data requiredjson{""}
{
"status": 200,
"message": "SUCCESS",
"data": []
}
{
"status": 400,
"message": "fail"
}