A. Initiate Add Same Bank Payee

To add same bank payee.

POST /cbs/add-payee


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": {
	"request_id":"eyJraWQiOiJUDzMyW14ze6cgW1S6XHx2kq0J", //alphanumeric string generated by onestack
	"expire_on":"2021-12-31 23:59:59",
	"customer":{
		"bank_id":"99999ABC", //required
		"branch_id":"", //optional
		"customer_token": "eyJraWQiOiJUDzMyW14ze6cgW1S6XHx2kq0J" //required
		"account_no":"999999999999"  //required
	},	 
	"payee":{
		"type":"same_bank", //required
		"account_holder_name":"John Doe", //required
		"account_number":"999999999999", //required
		"nickname":"JohnDoe" //required
	}
}
//nickname : alphanumeric no space no special characters

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": "Process initiated", //required
}

Failure Response

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

B. Initiate Add Other Bank Payee

To add other bank payee

CBS will send OTP in success response

POST /cbs/add-payee