Three lines

Uber

Developers

Add Guest Trip Tip

POSThttps://api.uber.com/v1/guests/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

Use this endpoint to add a tip to a completed trip.

If the request is from a third party (3P) app, please add x-uber-organizationuuid header and the Organization UUID as the value or the request will be denied.

Note: This endpoint doesn’t have sandbox capabilities yet. Can only be used in production environment.

Authorization

OAuth 2.0 Bearer token with the guests.trips scope.

Request
Example request
curl -X POST \
  -H 'authorization: Bearer <access_token>' \
  -H 'content-type: application/json' \
  -d '{
        "request_id": "<request_id>",
        "tip_amount": 5
      }' \
  'https://api.uber.com/v1/guests/trips/tip'
Request body Parameters
Field 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).
Response
Example response
HTTP 200 OK

Uber

Developers
© 2023 Uber Technologies Inc.