Suspend and Activate payroll
A comprehensive testing strategy is crucial to ensure the successful integration of SmartpayGenie into your application. Here are some key testing types:
Suspend and activate payroll
https://api.smartpaygenie.com/payroll/{payroll_id}/status
'PUT'
Request parameters
Parameters
Type
Description
payroll_id
String
Unique identifier of the payroll
Request Payload
JSON
{ "id": "payroll_id_1", "employee_id": "employee_id - 1", "amount": 1000, "currency": "USD", "pay_date": "2023-12-10", "status": "suspend", "created_at": "2023-11-22T13:37:20Z" }
Response
200 - OK successful response
[ { "id": "payroll_id_1", "employee_id": "employee_id_1", "amount": 1000, "currency": "USD", "status": "suspend", "pay_date": "2023-12-10", "metadata": "Optional" } ]
Support
If you encounter any issues or have questions, please feel free to contact our dedicated support team.
We are committed to providing you with the best possible experience and support.