GET
/
reports#getPayPeriod
getPayPeriod
curl --request GET \
  --url 'https://sandbox.rollfi.xyz/reports#getPayPeriod' \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{
  "method": "getPayPeriod",
  "companyId": "AFB94AFD-D9EE-4018-A718-304D43702C9C",
  "workerType": "W2"
}'
{
  "payPeriodId": "04EAAFB4-3029-466A-814F-207A1493F037",
  "payPeriod": "05/01/2025 - 05/31/2025",
  "payBeginDate": "2025-05-01",
  "payEndDate": "2025-05-31",
  "payDate": "2025-05-30",
  "deadLineToRunPayroll": "2025-05-28",
  "payrollAmount": 29468.43
}

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.