REST cancellation policy requires 48 hour advance notice. For scheduled rides booked by the hour, first a 24 hour notice of cancellation is required in order to avoid a two hour booking fee.
Moreover, for on demand rides, the cancellation window is open on the REST app until the driver is within 3 minutes of pick up location.