log_trip
Record one public transport trip (date, from, to, fare, mode, which account paid) so it counts towards a monthly total and the subsidy estimate. Writes to your own ledger; a bearer API key is required and the call counts against the same monthly allowance as the REST endpoint.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Destination, e.g. "Tsim Sha Tsui". | |
| date | Yes | Travel date, YYYY-MM-DD. | |
| fare | Yes | Fare paid in HKD, e.g. 10.6 | |
| from | Yes | Origin, e.g. "Central". | |
| mode | Yes | Transport mode. | |
| paid_with | Yes | Which account paid the fare. |