Here “End user” is your retailer
“Merchant site” is Rechargkit
“Partner site ” is your site
User access IRCTC site and select ticket and decide to make payment. After clicking on payment and chose payment method, user redirect to Merchant site Insert end user id alongside partner id and user password of partner site.:like bellow
And merchant site call for authentication API to Partner site After authenticate by user name and password merchant will call for balance manage API to partner site Manage balance on partner site and return back to response to Merchant site. Merchant site return response to IRCTC and user redirect to IRCTC site
Request and Reponses are exchange after encryption with SHA1 method Data are encrypt and decrypt at your end using your API key from Rechargkit. Request are made on http POST Method Only Response are made on JSON Only and as per