To get card list of the customer
POST /cbs/card-list
{
"ver": "1.2", //required
"timestamp": "2021-12-31 23:59:59",//required
"txnid": "0b811819-9044-4856-b0ee-8c88035f8858", //required
"data":"AB1C505BE81959A0E20257AE.....4DF393C1" //required
}
Encrypted Data
"param_array": {
"customer":{
"bank_id":"99999ABC", //required
"branch_id":"", //optional
"customer_token": "eyJraWQiOiJUDzMyW14ze6cgW1S6XHx2kq0J" //required
},
}
Success Response
{
"ver": "1.2", //requried
"timestamp": "2021-12-31 23:59:59", //requried
"txnid": "4a4adbbe-29ae-11e8-a8d7-0289437bf331", //requried
"status": "success", //requried
"message": "Customer data feched sccessfully", //requried
"data":"AB1C505BE81959A0E20257AE.....4DF393C1" //required
}
Encrypted Data
"param_array":{
"cards":[
{
"card_number" : "9999-9999-9999-9999",//required
"brand":"VISA",//required
"exp_month": 8,//required
"exp_year": 2022,//required
"funding": "credit"//required
},
{
"card_number" : "9999-9999-9999-9999",//required
"brand":"Master Card",//required
"exp_month": 9,//required
"exp_year": 2024,//required
"funding": "debit"//required
}
]
}
Failure Response
{
"ver": "1.2", //requried
"timestamp": "2021-12-31 23:59:59", //required
"txnid": "4a4adbbe-29ae-11e8-a8d7-0289437bf331", //required
"status": "failed", //required
"message": "Unable to fetch card list",//required
}
To block card of the customer
POST /cbs/block-card