Skip to content
HALOWERK

Geodata Tools

transit fare cash media difference

Cash versus transfer fare comparison prices the itinerary with a cash fare on every ride and a transfer-enabled ticket. Use it when an agent needs choosing between two payment media.

POST https://geo.halowerk.com/v1/transit-fare-cash-media-difference

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
boardingsarrayYes
fareintegerYes
windowintegerYes
transfersintegerYes
cash_fareintegerYes
Show full input schema
{
  "type": "object",
  "properties": {
    "boardings": {
      "type": "array",
      "items": {
        "type": "integer",
        "minimum": 0,
        "maximum": 44640
      },
      "maxItems": 80,
      "minItems": 1
    },
    "fare": {
      "type": "integer",
      "minimum": 0,
      "maximum": 100000
    },
    "window": {
      "type": "integer",
      "minimum": 0,
      "maximum": 10080
    },
    "transfers": {
      "type": "integer",
      "minimum": 0,
      "maximum": 100
    },
    "cash_fare": {
      "type": "integer",
      "minimum": 0,
      "maximum": 100000
    }
  },
  "required": [
    "boardings",
    "fare",
    "window",
    "transfers",
    "cash_fare"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "boardings": [
    0,
    38,
    92,
    164
  ],
  "fare": 225,
  "window": 120,
  "transfers": 2,
  "cash_fare": 250
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-12-05 UTC.

More endpoints in this hub

All endpoints in this hub โ†’