GET
/
reports#getPayrollHistoryBasedOnPayPeriod
getPayrollHistoryBasedOnPayPeriod
curl --request GET \
  --url 'https://sandbox.rollfi.xyz/reports#getPayrollHistoryBasedOnPayPeriod' \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{
  "method": "getPayrollHistoryBasedOnPayPeriod",
  "payPeriodId": "FD8B55C3-FB80-4DF3-89DF-D48E65750BF2"
}'
{
  "payPeriod": [
    {
      "payPeriodId": "FD8B55C3-FB80-4DF3-89DF-D48E65750BF2",
      "payPeriod": "06/15/2025 - 06/28/2025",
      "deadLineToRunPayroll": "2025-06-27",
      "total": 4.62,
      "employeeTaxSum": 0.36,
      "employerTaxSum": 0.48,
      "isProcessed": true,
      "payDate": "2025-07-01",
      "payEndDate": "2025-06-28",
      "payBeginDate": "2025-06-15",
      "workerType": "W2",
      "payrollLineItems": [
        {
          "baseTotal": 4.62,
          "numberOfLeaveDays": 0,
          "lop": 0,
          "retroAmount": 0,
          "grossTotal": 4.62,
          "netTotal": 4.26,
          "userId": "C88011F6-954A-445B-B5B5-EAFCCBA95D98",
          "employee": "Jad Abisaleh",
          "employeeTax": 0.36,
          "payrollLineItemDeductions": [],
          "payDetails": [
            {
              "payPercentage": 100,
              "amount": 4.26,
              "employeePayAccount": "savings ... 1111"
            }
          ],
          "payrollLineItemOverTimes": [],
          "payrollLineItemAdditionalCompensations": []
        }
      ]
    }
  ]
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json

Response

200 - application/json

The response is of type object.