Three lines

Uber

Developers

Add Health Trip Tip

POSThttps://api.uber.com/v1/health/trips/tip

Privileged and Confidential This endpoint design has been confidentially shared with you. It is still under development and is subject to change without notice. Please do not share this document or API endpoint details with anyone who is not authorized to have access. For more information read about scopes.

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

Uber

Developers
© 2023 Uber Technologies Inc.