cURL
curl --request GET \ --url 'https://sandbox.rollfi.xyz/reports#getPayStub' \ --header 'Authorization: Basic <encoded-value>' \ --header 'Content-Type: application/json' \ --data ' { "method": "getPayStub", "payPeriodId": "1701499A-1F6A-4D96-9A45-2021A19777E6", "userId": "e8bf98ec-0631-41d8-881d-d3ff3d1bb113" } '
{ "payrollLineItem": [ { "payPeriodId": "1701499A-1F6A-4D96-9A45-2021A19777E6", "payPeriod": { "payPeriod": "06/03/2023 - 06/16/2023", "payDate": "2023-06-15" }, "baseTotal": 8.33, "grossTotal": 8.33, "netTotal": 7.62, "taxDetails": [ { "taxCode": { "taxIdentifier": "CA - State Unemployment Insurance", "taxJurisdiction": "State" }, "taxAmount": 0.2 }, { "taxCode": { "taxIdentifier": "Social Security", "taxJurisdiction": "Federal" }, "taxAmount": 0.52 }, { "taxCode": { "taxIdentifier": "FUTA", "taxJurisdiction": "Federal" }, "taxAmount": 0.05 }, { "taxCode": { "taxIdentifier": "Medicare", "taxJurisdiction": "Federal" }, "taxAmount": 0.12 }, { "taxCode": { "taxIdentifier": "CA - State Employment Training Tax", "taxJurisdiction": "State" }, "taxAmount": 0.01 } ], "deductions": [], "additionalCompensations": [] } ] }
The getPayStub API retrieves detailed pay stub information for a specific employee and pay period.
getPayStub
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
"getPayStub"
Show child attributes