Interline invitation

Events

Action Event name
sending an invitation interlineinvitation.created
updating an invitation interlineinvitation.updated

Payload example created

{
  "attemptId": "310bb1cf-becd-4f12-bb49-a00133be22ec",
  "created": 1635870188,
  "data": {
    "_id": "618165e8df685b060a2fa9af",
    "accountId": "612e3e5a9afc794cdd77f8ff",
    "accountName": "Consumer Company",
    "createdAt": {
      "offset": 0,
      "value": "2021-11-02T16:23:04.109Z"
    },
    "createdBy": "612e3e5a9afc794cdd77f8f4",
    "enabled": false,
    "providerDomain": "providercompany.betterez.com",
    "providerEmail": "provider@company.com",
    "providerId": "52a377ec430c7d4e220001ff",
    "providerName": "Provider Company",
    "status": "pending",
    "updatedAt": {
      "offset": 0,
      "value": "2021-11-02T16:23:04.109Z"
    },
    "updatedBy": "612e3e5a9afc794cdd77f8f4"
  },
  "event": "interlineinvitation.created",
  "id": "b3dc6378-489c-4b39-b5ae-afc35f2747a4",
  "livemode": false
}

Payload example updated

{
  "attemptId": "aba96a02-9aaf-4345-8805-1caa0f76fbd1",
  "created": 1635877861,
  "data": {
    "_id": "6181833bdf685b060a2fa9bc",
    "accountId": "612e3e5a9afc794cdd77f8ff",
    "accountName": "Consumer Company",
    "createdAt": {
      "offset": 0,
      "value": "2021-11-02T18:28:11.546Z"
    },
    "createdBy": "612e3e5a9afc794cdd77f8f4",
    "enabled": false,
    "networkId": "618183bfc1149e0610d0ba93",
    "providerDomain": "providercompany.betterez.com",
    "providerEmail": "provider@company.com",
    "providerId": "52a377ec430c7d4e220001ff",
    "providerName": "Provider Company",
    "status": "approved",
    "updatedAt": {
      "offset": 0,
      "value": "2021-11-02T18:30:23.969Z"
    },
    "updatedBy": "60e2f9e02fe4c044072249d5"
  },
  "event": "interlineinvitation.updated",
  "id": "7b272521-1375-47e4-935f-4f5248bf86fc",
  "livemode": false
}