Fallback codes

Events

Action Event name
creating a fallback code fallbackcode.created
redemption of a fallback code fallbackcode.updated
redemption of a fallback code fallbackcode.scan.created

Payload example

{
  "id": "string",
  "attemptId": "string",
  "livemode": "boolean",
  "created": "int",
  "event": "string",
  "data": {
    "userId": "string",
    "updatedBy": "string",
    "productId": "string",
    "payOnAccountId": "string",
    "name": "string",
    "fareId": "string",
    "disabled": "boolean",
    "createdBy": "string",
    "code": "string",
    "accountId": "string",
    "_id": "string",
    "deleted": "boolean",
    "createdAt": {
      "value": "string",
      "offset": "int"
    },
    "updatedAt": {
      "value": "string",
      "offset": "int"
    }
  }
}