Uber · Schema

Payment

Ride-SharingRidesTaxisTransportationFood DeliveryDeliveryLogistics

Properties

Name Type Description
category string Payment category type.
cash_collected number Cash amount collected from rider.
breakdown object Breakdown of payment components.
rider_fees object Fees charged to the rider.
event_time integer Unix timestamp of when the payment event occurred.
trip_id string Associated trip identifier.
currency_code string ISO 4217 currency code.
View JSON Schema on GitHub

JSON Schema

uber-payment-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Payment",
  "title": "Payment",
  "type": "object",
  "properties": {
    "category": {
      "type": "string",
      "description": "Payment category type."
    },
    "cash_collected": {
      "type": "number",
      "description": "Cash amount collected from rider."
    },
    "breakdown": {
      "type": "object",
      "description": "Breakdown of payment components."
    },
    "rider_fees": {
      "type": "object",
      "description": "Fees charged to the rider."
    },
    "event_time": {
      "type": "integer",
      "description": "Unix timestamp of when the payment event occurred."
    },
    "trip_id": {
      "type": "string",
      "description": "Associated trip identifier."
    },
    "currency_code": {
      "type": "string",
      "description": "ISO 4217 currency code."
    }
  }
}