Generate Url

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
SNoHTTP Response CodeResponse CodeDescription
12001Data Successfully Generated
24012Unable to process request
34013Jwt Token Error
44014Authentication failed

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('data');
2- $decrypted_data = decode using JWT decryption with key provide by PAYSPRINT 
3- decode JSON using json_decode($decrypted_data,true);
Body Params
string

Unique reference id for each ticket booking

string

Redirect Url on which you wish to recieve the response from us

Headers
string
required
Defaults to eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJQQVlTUFJJTlQiLCJ0aW1lc3RhbXAiOjE2MTAwOTM0ODMsInBhcnRuZXJJZCI6IlBTMDAxIiwicHJvZHVjdCI6IldBTExFVCIsInJlcWlkIjoxNjEwMDkzNDgzfQ.uj-oKJly7XjXIuFMlsyufEb83yCjzOUwfnhQ6812rJA
Responses

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json