Add Guest Trip Tip
POSThttps://api.uber.com/v1/guests/trips/tip
¶ 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