POST /cbs/accounts-discover
{
"ver": "1.2", //required
"timestamp": "2021-12-31 23:59:59",//required
"txnid": "0b811819-9044-4856-b0ee-8c88035f8858", //required
"data":"AB1C505BE81959A0E20257AE.....4DF393C1" //required
}
Encrypted Payload
"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 accounts fetched successfully", //requried
"data":"AB1C505BE81959A0E20257AE.....4DF393C1" //required
}
Encrypted Payload
"param_array":{
"accounts": [
{
"is_primary_account":1,
"account_no": "999999999999",//required
"account_type": "savings/current/loan/fd/rd/pigmy",//required
"account_status": "active/inactive/dormant/freezed", //required
"fi_type": "deposit/loan", //optional
"product_code": "", //optional
"account_ref_no": "", //optional
"created_on": "2021-12-31 23:59:59", //optional
"last_updated_on": "2021-12-31 23:59:59", //optional
"fi_name": "", //optional
"ifsc_code": "", //optional
"mcc": "", //optional
"turnovertype": "", //optional
"ownershiptype": "", //optional
"date_of_incorporation": "", //optional format : YYYY-mm-dd
"upi_id": ["",...] //optional
},
{
"is_primary_account":0,
"account_no": "999999999998",//required
"account_type": "savings/current/loan/fd/rd",//required
"account_status": "active/inactive/dormant/freezed", //required
"fi_type": "deposit/loan", //optional
"product_code": "", //optional
"account_ref_no": "", //optional
"created_on": "2021-12-31 23:59:59", //optional
"last_updated_on": "2021-12-31 23:59:59", //optional
"fi_name": "", //optional
"ifsc_code": "", //optional
"mcc": "", //optional
"turnovertype": "", //optional
"ownershiptype": "", //optional
"date_of_incorporation": "", //optional format : YYYY-mm-dd
"upi_id":["",...] //optional
}
]
}
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": "Provided customer token does not match with bank database." //required
}
To fetch account balance of customer account
POST /cbs/account-balance