cURL
curl --request GET \ --url 'https://sandbox.rollfi.xyz/reports#getPayRun' \ --header 'Authorization: Basic <encoded-value>' \ --header 'Content-Type: application/json' \ --data ' { "method": "getPayRun", "payPeriodId": "1701499A-1F6A-4D96-9A45-2021A19777E6" } '
{ "payrollLineItems": [ { "userId": "50070F09-2923-499A-850B-F12ED4C2FD69", "totalHours": 40, "wages": 960, "taxes": 129.99, "cash requirements": 960 }, { "userId": "9E3CBA77-9035-471F-AA1E-F77A13AFE5C2", "totalHours": 40, "wages": 2000, "taxes": 429.74, "cash requirements": 2000 } ] }
The getPayRun API retrieves payroll line item information for a specific pay period.
getPayRun
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Basic <encoded-value>
<encoded-value>
username:password
"getPayRun"
Show child attributes