Edit payroll
A comprehensive testing strategy is crucial to ensure the successful integration of SmartpayGenie into your application. Here are some key testing types:
Edit payroll
https://api.smartpaygenie.com/payroll/{payroll_id}
'PUT'
Request parameters
Parameters
Type
Description
Required
amount
Number
Updated amount to be paid
Optional
currency
String
Updated currency
Optional
pay_date
String
Updated payment date
Optional
metadata
Object
Updated metadata
Optional
Request Payload
JSON
{ "id": "payroll_id_1", "employee_id": "employee_id - 1", "amount": 1000, "currency": "USD", "pay_date": "2023-12-10", "status": "pending", "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.