8. Get Receipt

GET https://api.uber.com/v1/guests/trips/:request_id/receipt

https://developer.uber.com/docs/guest-rides/references/api/v1/guest-trips-request_id-receipt-get

Use this endpoint to retrieve the receipt for a given trip.

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
x-uber-organizationuuidstring

RESPONSES

status: OK

{"request_id":"3390be27-99e0-4498-bf71-92943400e5fd","guest":{"guest_id":"76a3b473-1ab9-56ea-bbf9-c2af0b76c493","first_name":"Test","last_name":"last name","phone_number":"+1234566","locale":"en"},"charges":[{"name":"Base Fare","amount":2.48},{"name":"Time","amount":15.19},{"name":"Distance","amount":21.08}],"total_owed":"$0.00","total_fare":"$40.95","subtotal":"$38.75","normal_fare":"$38.75","currency_code":"USD","duration":"00:42:10","distance":"25.09","distance_label":"miles","expense_memo":"testing_api_2_26","charge_adjustments":[{"name":"Booking Fee","amount":2.2,"type":"transport.fare.booking_fee"}],"home_currency_total_fare":{"currency_code":"USD","amount":40.95},"taxes":[]}