Add payroll
A comprehensive testing strategy is crucial to ensure the successful integration of SmartpayGenie into your application. Here are some key testing types:
Add payroll
https://api.smartpaygenie.com/payroll
'POST'
Request parameters
Parameters
Type
Description
Required
employee _id
String
Unique identifier of the employee
Yes
amount
Number
Amount to be paid
Yes
currency
String
ISO 4217 currency code
Yes
pay-date
String
Date of payment
Yes
metadata
Object
Additional metadata (optional)
No
Note:
Currency must be supported by SmartpayGenie. Check our currencysection to see our supported list.
Request Payload
JSON
{ "id": "payroll_id_1", "employee_id": "employee_id - 1", "amount": 1000, "currency": "USD", "pay_date": "2023-12-10", "status": "pending", "metadata": { "description": "Main wallet" } }
Response
200 - OK successful response
[ { "status": "success", "id": "payroll_id_1", "employee_id": "employee_id_1", "amount": 1000, "currency": "USD", "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.