URL: {{base_url}}/modules/payroll/pay_salaries

Method: POST

Bearer Token: Replace this with an actual token in the request

Headers

Subscription: Replace this with the subscription value

Access_Token: Replace this with the actual access token value

Request Body

KeyValuesRequired
uidEnter employee unique idYes
narrationEnter short narrationYes
calculate_taxState whether tax and statutory contributions should be included on the payslip.Value should either be yes or noYes

Response Codes

CodeDescription
200Successful
500Internal Server Error
401Unauthorized: Check error message

Example of Request Body

   {
       "uid": 1,
       "narration":January salaries,
       "calculate_tax":"yes"
   }