Properties
| Name | Type | Description |
|---|---|---|
| request_id | string | The unique ID for the request. |
| charges | array | |
| total_charged | string | The total amount charged to the user's payment method. |
| total_owed | number | The total amount owed by the user. |
| currency_code | string | ISO 4217 currency code. |
| duration | string | Time duration of the trip in ISO 8601 format. |
| distance | string | Distance of the trip charged. |
| distance_label | string | The localized unit of distance. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/Receipt",
"title": "Receipt",
"type": "object",
"properties": {
"request_id": {
"type": "string",
"description": "The unique ID for the request."
},
"charges": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"amount": {
"type": "string"
},
"type": {
"type": "string"
}
}
}
},
"total_charged": {
"type": "string",
"description": "The total amount charged to the user's payment method."
},
"total_owed": {
"type": "number",
"description": "The total amount owed by the user."
},
"currency_code": {
"type": "string",
"description": "ISO 4217 currency code."
},
"duration": {
"type": "string",
"description": "Time duration of the trip in ISO 8601 format."
},
"distance": {
"type": "string",
"description": "Distance of the trip charged."
},
"distance_label": {
"type": "string",
"description": "The localized unit of distance."
}
}
}