Endpoints
Endpoints
All endpoints require:
Base URL (UAT): https://uat.feryrides.co.in
Use the API Reference for full schemas. This page summarizes each endpoint.
Fare estimate
POST /ride/fare-estimate
Returns trip distance, duration, and fare quotes.
Request body
Response 200
Create order
POST /ride/create-order
Creates a ride. Rider details must be sent in this request. Fery creates or updates the rider from the user object.
Request body
Response 201
Response 200 — active ride already exists
If the rider already has an active ride, Fery returns the existing order with code: USER_HAVE_ACTIVE_RIDE.
Cancel order
POST /ride/cancel
Cancels an active ride. Fery also sends webhook status customer_cancelled to your saved webhookURL.
Request body
Response 200
code: RIDE_CANCELLED
Feedback
POST /ride/feedback
Optional endpoint to submit feedback after a completed ride.
Request body
Response 200
code: FEEDBACK_SUBMITTED