Stay updated with real-time notifications via our Webhooks service.
user-payroll-submitted
user-payroll-submitted
subscription enabled, a webbook will be delivered with the respective user information enclosed.
user-payroll-submitted
- notifies when any user creates an entry with new payroll data.
Includes the payroll data entry as json if include_payload
is set in the configuration.user-payroll-submitted
for targeted notifications.signing_secret
was provided in the webhook subscription, it can be used to validate incoming webhook
signatures, ensuring data integrity and authenticity.
When encryption is enabled, the message is first encrypted and then signed.
Therefore, the signature should be verified against the encrypted message,
not the decrypted content.
To verify if a received webhook event is authentic:
signing_secret
using HMAC-SHA512
. You can then check that the result of this encoding matches the contents in the
X-Teal-Signature
header. If it matches then the webhook received is genuine. Example verification:signing_secret
was mysecret
and you received the following webhook payload:
encryption_key
, the webhook payload will be encrypted using AES/GCM/NoPadding. To decrypt:
X-Teal-Encryption-IV
header (Base64 encoded)GET /webhooks
.
DELETE /webhooks/{webhook_id}
signing_secret
and encryption_key
confidential.include_payload
in your webhook configuration."include_payload": "true"
in POST /webhooks
request body.
If the payroll data comes from uploading a payslip the account_id
whould be null
but document_external_id
and document_filename
would be populated
is related to uploading a payslip.