Events
Action |
Event name |
purchasing an insurance |
insurance.created |
cancelling an insurance |
insurance.updated |
Payload example
{
"attemptId": "string",
"created": "int",
"data": {
"pricesIncludeTaxes": "boolean",
"displayTotalTaxes": "int",
"displayTotal": "int",
"totalForTransaction": "int",
"agencyName": "string",
"shiftId": "string",
"total": "int",
"changeable": "boolean",
"createdAt": {
"offset": "int",
"value": "string"
},
"promos": [],
"trxId": "string",
"totalTaxes": "int",
"fees": [],
"_purchaseGroupId": "string",
"shiftLocation": {
"name": "string",
"stationId": "string"
},
"displayPrice": "int",
"createdByUserEmail": "string",
"cancellable": "boolean",
"displayTotalForTransaction": "int",
"price": "int",
"agencyId": "string",
"transactionId": "string",
"taxablePercentage": "int",
"_id": "string",
"taxExempted": "boolean",
"customerNumber": "string",
"createdBy": "string",
"displayId": "string",
"displayTaxableDiscounts": "int",
"deleted": "boolean",
"itemId": "string",
"agentId": "string",
"shiftNumber": "string",
"taxes": [
{
"calculated": "int",
"displayCalculated": "int",
"name": "string",
"province": "string",
"value": "int"
}
],
"accountId": "string",
"displayDiscounts": "int",
"discounts": "int",
"taxableDiscounts": "int",
"productFamily": "string",
"ssrs": [],
"displayTaxablePrice": "int",
"productType": "string",
"nonTaxablePrice": "int",
"taxablePrice": "int",
"displayNonTaxablePrice": "int"
},
"event": "string",
"id": "string",
"livemode": "boolean"
}