Passes

Events

Action Event name
purchasing a flex pass pass.created
scanning a flex pass pass.updated
purchasing a pass (receive scan) pass.scan.created
scanning a pass pass.scan.created
changing pass status pass.scan.created

Payload example

{
  "id": "string",
  "attemptId": "string",
  "livemode": "boolean",
  "created": "int",
  "event": "string",
  "data": {
    "fareId": "string",
    "journeyFromId": "string",
    "productType": "string",
    "seat": "string",
    "couponCode": "string",
    "to": "string",
    "departureTime": "string",
    "ssrs": [],
    "movements": "string",
    "productFamily": "string",
    "currentScansPerDay": {},
    "discounts": "int",
    "accountId": "string",
    "manifestDate": {},
    "from": "string",
    "taxes": [
      {
        "value": "int",
        "name": "string",
        "calculated": "int"
      }
    ],
    "isExpirationDateCalculated": true,
    "shiftNumber": "string",
    "language": "string",
    "email": "string",
    "row": "string",
    "agentId": "string",
    "eventName": "string",
    "firstName": "string",
    "synchEntry": "string",
    "productId": "string",
    "scheduleDisplayName": "string",
    "availableUses": "int",
    "fareClassName": "string",
    "refundId": "string",
    "arrivalDate": {},
    "fromId": "string",
    "journeyPriceVersionId": "",
    "ticketTypeName": "string",
    "journeyOrder": 1,
    "comments": "string",
    "status": "string",
    "createdBy": "string",
    "extra": {},
    "bagsWeight": "int",
    "numOfBags": "int",
    "journeyTo": "string",
    "toId": "string",
    "productLine": "string",
    "customerNumber": "string",
    "fareClassId": "string",
    "sectionName": "string",
    "paxWeight": "int",
    "_id": "string",
    "rounding": {
      "policy": "string",
      "decimals": "string"
    },
    "expirationDate": {
      "value": "string",
      "offset": "int"
    },
    "userComments": "string",
    "journeyPriceId": "string",
    "transactionId": "string",
    "journeyToId": "string",
    "agentUserName": "string",
    "channel": "string",
    "agencyId": "string",
    "brandId": "string",
    "price": "int",
    "brandName": "string",
    "cancellable": "boolean",
    "fare": "string",
    "createdByUserEmail": "string",
    "redemptions": [],
    "gate": "string",
    "seatId": "string",
    "shiftLocation": {
      "stationId": "string",
      "name": "string"
    },
    "expire": "int",
    "fees": [],
    "totalTaxes": "int",
    "ticketType": "string",
    "journeyId": "string",
    "trxId": "string",
    "fareClassTerms": "string",
    "ticketNumber": "string",
    "routeId": "string",
    "year": "int",
    "section": "string",
    "userId": "string",
    "month": "int",
    "tripIds": [],
    "lastName": "string",
    "journeyFrom": "string",
    "changeable": "boolean",
    "scans": [],
    "promo": {},
    "total": "int",
    "shiftId": "string",
    "agencyName": "string",
    "totalUses": -1,
    "refId": "string",
    "schedule": "string",
    "overridesChangeFees": [],
    "totalForTransaction": "int",
    "deleted": "boolean",
    "createdAt": {
      "value": "string",
      "offset": "int"
    },
    "updatedAt": {
      "value": "string",
      "offset": "int"
    }
  }
}