The getPayPeriod API retrieves pay period information for a company based on worker type.
companyId and workerType (W2 or 1099) parametersinitiatePayrollBasic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
new, submitted, cancelled, inProcess, processed, failed, returned, skipped