Events
Action |
Event name |
purchasing a gift certificate |
giftcertificate.created |
paying with a gift certificate |
giftcertificate.updated |
Payload example
{
"id": "string",
"attemptId": "string",
"livemode": "boolean",
"created": "int",
"event": "string",
"data": {
"_id": "string",
"userId": "string",
"trxId": "string",
"transactionsPaid": [],
"transactionId": "string",
"total": "int",
"displayTotal": "int",
"taxes": [
{
"value": "int",
"name": "string",
"calculated": "int"
}
],
"taxable": "boolean",
"status": "string",
"shiftNumber": "string",
"shiftLocation": {
"stationId": "string",
"name": "string"
},
"shiftId": "string",
"rounding": {
"policy": "string",
"decimals": "string"
},
"price": "int",
"displayPrice": "int",
"lastName": "string",
"firstName": "string",
"fees": [],
"email": "string",
"description": "string",
"customerNumber": "string",
"certDefId": "string",
"balance": "int",
"agencyName": "string",
"agencyId": "string",
"accountId": "string",
"deleted": "boolean",
"createdAt": {
"value": "string",
"offset": "int"
},
"updatedAt": {
"value": "string",
"offset": "int"
},
"displayCurrency": {
"buy": "float",
"sell": "float",
"isocode": "string",
"symbol": "string"
}
}
}