GET
/
reports#getPayStub
curl --request GET \
  --url 'https://sandbox.rollfi.xyz/reports#getPayStub' \
  --header 'Content-Type: application/json' \
  --data '{
  "method": "getPayStub",
  "payPeriodId": "1701499A-1F6A-4D96-9A45-2021A19777E6",
  "userId": "e8bf98ec-0631-41d8-881d-d3ff3d1bb113"
}'
{
  "1": {
    "summary": "Success",
    "value": {
      "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": []
        }
      ]
    }
  }
}

Body

application/json
method
string
default: getPayStubrequired
payPeriodId
string
required
userId
string
required

Response

200 - application/json
payrollLineItem
object[]
required