post https://xyz.xyz.in/service-api/api/v1/service/wallet-money/generateurl/index
PROCESS
Call Generate Url api with valid parameter define above. and In Response, in success case encdata and Url will received .
You have to auto redirect POST form to response url with encdata field having response value
<form method="post" action="URL received from generate url API">
<textarea name="encdata" style="display:none">value received from generate url API</textarea>
<input type="submit" value="Submit">
</form>
Form submit will redirect you to bus seat booking layout and you will get encrypted json response callback url in data field
1- $response = $this->input->post('encdata');
2- $decrypted_data = decode using JWT decryption with key provide by PAYSPRINT
3- decode JSON using json_decode($decrypted_data,true);