Events
Action |
Event name |
creating a payment terminal |
paymentTerminals.created |
updating a payment terminal |
paymentTerminals.updated |
delete an existing payment terminal |
paymentTerminals.deleted |
Payload example created and updated
{
"id": "string",
"attemptId": "string",
"livemode": "boolean",
"created": "int",
"event": "string",
"data": {
"_id": "5f243d100617680712e78dd5",
"accountId": "5f243d100617680712e78dd6",
"name": "Terminal 1",
"protocol": "ws",
"ip": "192.168.10.10",
"locationId": "5f243d100617680712e78dd7",
"partNumber": "TRD30110877A",
"serialNumber": "string",
"createdBy": "5f243d100617680712e78dd7",
"updatedBy": "5f243d100617680712e78dd7",
"createdAt": {
"value": "2020-11-10T15:02:10Z",
"offset": 0
},
"updatedAt": {
"value": "2020-11-10T15:02:10Z",
"offset": 0
}
}
Payload example deleted
{
"id": "string",
"attemptId": "string",
"livemode": "boolean",
"created": "int",
"event": "string",
"data": {
"paymentTerminalId": "string"
}
}