Skip to main content

LocationData

Optional location data for transactions that occur on vehicles, or handheld. For devices in fixed locations, it's not required if device information is stored within tikpay Back Office, but still valid to send.

latnumber

Latitude where transaction occurred, if available

Example: -37.840935
lngnumber

Longitude where transaction occurred, if available

Example: 144.946457
bearingnumber

The direction you are headed. Number of degrees from north.

Example: 22
locationIdstring

Identifier of location

Example: RING_STAT
locationTitlestring

Title of location

Example: Ringwood Station
zoneIdstring

Identifier of zone of location

Example: ZONE2
zoneTitlestring

Title of zone of location

Example: Zone 2
LocationData
{
"lat": -37.840935,
"lng": 144.946457,
"bearing": 22,
"locationId": "RING_STAT",
"locationTitle": "Ringwood Station",
"zoneId": "ZONE2",
"zoneTitle": "Zone 2"
}