The paystubs.partially_synced webhook is sent when paystubs going back a specified number of days prior (starting from the date when the account was added) have been retrieved. By default, this period is set to 30 days.
You can subscribe to this webhook multiple times with different numbers of specified days.
Of note:
paystubs.fully_synced webhook will be sent.Username = api_key_id, Password = api_key_secret
Request body for subscribing to the paystubs.partially_synced webhook.
List of events to subscribe to. Must include paystubs.partially_synced.
Value is paystubs.partially_synced
paystubs.partially_synced Your name for the webhook subscription. Name used for the webhook subscription.
Where you want to receive webhook delivery. This can be either a backend URL that you manage, or a URL provided by a webhook management service. URL where you want to receive webhook delivery.
Optional secret used to verify webhooks. Secret used to verify webhooks.
"days_synced": <Integer> specifies how many days of synced paystubs (starting from the date of the most recent paystub) are needed to trigger the webhook.
specifies how many days of synced paystubs are needed to trigger the webhook.