Send payslip to its employee by email as pdf
Headers
-
TARGET-ORGANIZATION-ID integer(int32)
ID of organization, for which the operation must be performed
-
API token (can be retrieved from account settings)
POST
/api-v1/payroll/{id}/send-by-email
curl \
-X POST http://wyzio.app/api-v1/payroll/{id}/send-by-email \
-H "TARGET-ORGANIZATION-ID: 42" \
-H "WEAL-TOKEN: string"
Response examples (200)
{
"email": "string",
"id": 42,
"status": "UNPAID"
}