<aside> 💡 Note : Content in regional languages except English will not accepted

</aside>

Existing Customer KYC

To get customer details such as First Name and Last Name of the customer

This API will call only once.

POST /cbs/get-customer-details


Request Body

{
  "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
		},
}

Response Body

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

Either (first_name, last_name) OR entity_name should be there in the response

"param_array":{
		"first_name": "AAAAA", // (empty value acccepted if  passing entity_name)
		"middle_name": "", //optional
		"last_name": "ZZZZZ", // (empty value acccepted if  passing entity_name)
    "entity_name":"",//(value is mendatory in case of empty first_name and last_name)
		"dob": "", //optional format : YYYY-mm-dd
		"pan_no": "", //optional
		"aadhar_no": "", //optional
		"credit_score": "", //optional
		"email_id": "", //optional
		"mobile_no": "", //optional
		"address_line_1": "", //optional
		"address_line_2": "", //optional 
		"city": "", //optional
		"district": "", //optional
		"state": "", //optional
		"state_code": "", //optional
		"latitude": "", //optional
		"longitude": "", //optional
		"country": "", //optional
		"postal_code": "", //optional
		"gst": "" //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
}