Add Health Trip Tip
POSThttps://api.uber.com/v1/health/trips/tip
¶ Use Case
Adds a tip to a completed trip.
¶ Authorization
OAuth 2.0 Bearer token with the health
scope.
¶ Request Parameters
Name | Type | Description |
---|---|---|
request_id |
string |
A unique identifier of a trip’s request returned when creating a trip (required) |
tip_amount |
float |
The amount of tip to add to the trip (required) |
¶ Example Request
Try It Replace the token and request id from a past trip in the below request to use it in a terminal to see the details.
curl -X POST \
-H 'authorization: Bearer $UBER_TOKEN' \
-H 'content-type: application/json' \
-d '{
"request_id": "REPLACEREQUESTID",
"tip_amount": 5
}' \
'https://sandbox-api.uber.com/v1/health/trips/tip'
¶ Example Response
HTTP 200 OK