...
Setting necessary webhooks
Employee webhook on Keypay
To setup the employee webhook, use Keypay API webhookregistrations
with the following payload, replacing all {{variables}}
:
Code Block | ||
---|---|---|
| ||
// POST https://api.yourpayroll.com.au/api/v2/business/{businessId}/webhookregistrations
{
"webHookUri": "https://integration.tatou.app/production/keypay/employee",
"secret": "",
"description": "employee-tatou",
"isPaused": false,
"filters": [
"EmployeeTerminated",
"EmployeeUpdated"
],
"headers": {},
"properties": {
"tatou_token": "{{tatou_token}}",
"keypay_token": "{{keypay_token}}",
"keypay_business_id": "{{keypay_business_id}}"
}
} |
PayRun webhook on Keypay
PayRun webhook is responsible for sending awards interpretation back to Tātou.
Code Block | ||
---|---|---|
| ||
// POST https://api.yourpayroll.com.au/api/v2/business/{businessId}/webhookregistrations
{
"webHookUri": "https://integration.tatou.app/production/keypay/pay-earnings",
"secret": "",
"description": "pay-earnings-tatou",
"isPaused": true,
"filters": [
"PayRunFinalised"
],
"headers": {},
"properties": {
"tatou_token": "{{tatou_token}}",
"keypay_token": "{{keypay_token}}",
"keypay_business_id": "{{keypay_business_id}}"
}
} |
PayPeriod webhook on Tātou
On tātou you can use the Office interface to setup your webhooks. On Subscriptions, you should enable the PayPeriod - Send
event.
...
Data gap between platforms
...