You can get quick answer of your question by entering here
Why I am getting same fare in the car search response for oneway and round trip?
You must check "TripType" value, which are Triptype (0-OneWay, 1-Return, 2-Local). We would suggest please check the API documents before passing any API request.