Lyft
  1. User
Lyft
  • Public
    • Cost estimates
      GET
    • Available drivers nearby
      GET
    • Pickup ETAs
      GET
    • Types of rides
      GET
  • User
    • The user's general info
      GET
    • List rides
      GET
    • Request a Lyft
      POST
    • Get the ride detail of a given ride ID
      GET
    • Cancel a ongoing requested ride
      POST
    • Update the destination of the ride
      PUT
    • Add the passenger's rating, feedback, and tip
      PUT
    • Get the receipt of the rides.
      GET
  • Sandbox
    • Preset Prime Time percentage
      PUT
    • Propagate ride through ride status
      PUT
    • Preset types of rides for sandbox
      PUT
    • Driver availability for processing ride request
      PUT
  1. User

Get the receipt of the rides.

GET
/rides/{id}/receipt
Get the receipt information of a processed ride by providing the ride id. Receipts will only be available to view once the payment has been processed. In the case of canceled ride, cancellation penalty is included if applicable.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.lyft.com/v1/rides//receipt'
Response Response Example
200 - Example 1
{
    "charges": [
        {
            "amount": 500,
            "currency": "USD",
            "payment_method": "Card"
        },
        {
            "amount": 405,
            "currency": "USD",
            "payment_method": "Lyft Credit"
        }
    ],
    "line_items": [
        {
            "amount": 500,
            "currency": "USD",
            "type": "Ride"
        },
        {
            "amount": 250,
            "currency": "USD",
            "type": "Prime Time"
        },
        {
            "amount": 155,
            "currency": "USD",
            "type": "Service fee"
        }
    ],
    "price": {
        "amount": 905,
        "currency": "USD",
        "description": "Total ride price"
    },
    "requested_at": "2023-08-15T05:38:32.976Z",
    "ride_id": 123456789,
    "ride_profile": "personal"
}

Request

Path Params

Responses

🟢200Detailed ride receipt information including cancel penalty if applicable.
application/json
Body

🟠403User or client does not have permission to complete this request
🟠404No ride receipt found with provided ride ID
Modified at 2023-08-15 05:38:33
Previous
Add the passenger's rating, feedback, and tip
Next
Preset Prime Time percentage
Built with