Generate / Retrived MMID

POST /cbs/generate-mmid


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
			"account_no": "999999999999" //required
	}
}

Response Body

Success Response

{
  "ver": "1.2", //required
  "timestamp": "2021-12-31 23:59:59", //required
  "txnid": "4a4adbbe-29ae-11e8-a8d7-0289437bf331", //required
  "status": "success", //required
  "message": "MMID allotted successfully", //required
	"data":"AB1C505BE81959A0E20257AE.....4DF393C1" //required
}

Encrypted Payload

"params": {
	"mmid": "9229796" //reqiured
}

Failure Response

{
  "ver": "1.2", //required
  "timestamp": "2021-12-31 23:59:59", //required
  "txnid": "4a4adbbe-29ae-11e8-a8d7-0289437bf331", //required
  "status": "failed",  //required
  "message": "Unable to allot MMID", //required
}

Sample Code

CBS now can use this codes to build handshake with OneStack

CBS will have to add the DB & Customer Details so that we can get the data dynamically

.NET

For external libraries and other information please click on ‣

IIMPSController.cs