Skip to main content
GET
/
reports#getPayRun
getPayRun
curl --request GET \
  --url 'https://sandbox.rollfi.xyz/reports#getPayRun' \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "method": "getPayRun",
  "payPeriodId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'
{
  "payrollLineItems": [
    {
      "userId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "totalHours": 123,
      "wages": 123,
      "taxes": 123,
      "cash requirements": 123
    }
  ]
}

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
method
string
required
Example:

"getPayRun"

payPeriodId
string<uuid>
required

Response

200 - application/json
payrollLineItems
object[]
required