Uber · Schema

RefundRequest

Ride-SharingRidesTaxisTransportationFood DeliveryDeliveryLogistics

Properties

Name Type Description
order_id string Order ID to refund.
reason string Reason for requesting a refund.
amount integer Refund amount in cents. If omitted, full refund.
View JSON Schema on GitHub

JSON Schema

uber-refundrequest-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/RefundRequest",
  "title": "RefundRequest",
  "type": "object",
  "required": [
    "order_id",
    "reason"
  ],
  "properties": {
    "order_id": {
      "type": "string",
      "description": "Order ID to refund."
    },
    "reason": {
      "type": "string",
      "description": "Reason for requesting a refund."
    },
    "amount": {
      "type": "integer",
      "description": "Refund amount in cents. If omitted, full refund."
    }
  }
}