cURL
curl --request GET \ --url 'https://sandbox.rollfi.xyz/reports#getProcessedPayperiodsDetails' \ --header 'Authorization: Basic <encoded-value>' \ --header 'Content-Type: application/json' \ --data '{ "method": "getProcessedPayperiodsDetails", "companyId": "4934E42A-F448-4AF5-8273-850ECF17647C", "workerType": "W2" }'
{ "processedPayPeriods": [ { "payPeriodId": "5D23FFB1-A33D-453C-BBBA-15D3320B9D70", "payPeriod": "06/11/2024 - 06/24/2024", "payPeriodType": "Regular", "payBeginDate": "2024-06-11", "payEndDate": "2024-06-24", "payDate": "2024-06-25", "deadLineToRunPayroll": "2024-06-21", "workerType": "W2" } ] }
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
The response is of type object.
object