book_ride
Book a Rovv ride. Requires pickup/dropoff coordinates, a vehicle_type ID (from get_fare_estimate), and payment method. Returns booking confirmation with ride number.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| drop_lat | Yes | Dropoff latitude | |
| drop_lng | Yes | Dropoff longitude | |
| is_later | No | Set to true for scheduled rides | |
| pick_lat | Yes | Pickup latitude | |
| pick_lng | Yes | Pickup longitude | |
| payment_opt | No | Payment method: 0 = card, 1 = cash, 2 = wallet | |
| drop_address | Yes | Dropoff address text | |
| pick_address | Yes | Pickup address text | |
| vehicle_type | Yes | The zone_type_id from get_fare_estimate results | |
| trip_start_time | No | For scheduled rides: datetime in Y-m-d H:i:s format |