curl --request GET \
--url 'https://sandbox.rollfi.xyz/reports#getIndividualPayrollHistory' \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"method": "getIndividualPayrollHistory",
"userId": "30da3ca7-8b39-4a3c-8ab9-050f17fbcb3b"
}
'{
"user": [
{
"userName": "Benjamin Harris",
"payrollLineItems": [
{
"payPeriod": {
"payPeriodId": "D549C3D1-A9B1-4073-828B-0008743D8875",
"payPeriod": "11/01/2025 - 11/30/2025",
"payEndDate": "2025-11-30",
"payBeginDate": "2025-11-01",
"payPeriodType": {
"payPeriodType": "Regular"
}
},
"grossTotal": 1952.2,
"netTotal": 1795.13,
"payrollLineItemTaxAggregation": {
"employerTax": 200.1
}
},
{
"payPeriod": {
"payPeriodId": "3C068DE4-038F-4874-B99B-4AFD7CB39351",
"payPeriod": "09/01/2025 - 09/30/2025",
"payEndDate": "2025-09-30",
"payBeginDate": "2025-09-01",
"payPeriodType": {
"payPeriodType": "Regular"
}
},
"grossTotal": 2060.85,
"netTotal": 1795.13,
"payrollLineItemTaxAggregation": {
"employerTax": 238.42
}
},
{
"payPeriod": {
"payPeriodId": "43CCBBDF-8CF3-472E-874D-888E7911BB1F",
"payPeriod": "10/01/2025 - 10/31/2025",
"payEndDate": "2025-10-31",
"payBeginDate": "2025-10-01",
"payPeriodType": {
"payPeriodType": "Regular"
}
},
"grossTotal": 2363.73,
"netTotal": 2142.86,
"payrollLineItemTaxAggregation": {
"employerTax": 248.72
}
}
],
"employeePayrollLineItemsAggregate": {
"aggregate": {
"sum": {
"netTotal": 5733.12,
"ytdGrossTotal": 0,
"ytdBaseTotal": 0,
"ytdNetTotal": 0
}
}
},
"employerTaxCalculationResponsesAggregate": {
"aggregate": {
"sum": {
"taxAmount": 448.82
}
}
}
}
]
}The getIndividualPayrollHistory API retrieves comprehensive payroll history details for a specific employee.
curl --request GET \
--url 'https://sandbox.rollfi.xyz/reports#getIndividualPayrollHistory' \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"method": "getIndividualPayrollHistory",
"userId": "30da3ca7-8b39-4a3c-8ab9-050f17fbcb3b"
}
'{
"user": [
{
"userName": "Benjamin Harris",
"payrollLineItems": [
{
"payPeriod": {
"payPeriodId": "D549C3D1-A9B1-4073-828B-0008743D8875",
"payPeriod": "11/01/2025 - 11/30/2025",
"payEndDate": "2025-11-30",
"payBeginDate": "2025-11-01",
"payPeriodType": {
"payPeriodType": "Regular"
}
},
"grossTotal": 1952.2,
"netTotal": 1795.13,
"payrollLineItemTaxAggregation": {
"employerTax": 200.1
}
},
{
"payPeriod": {
"payPeriodId": "3C068DE4-038F-4874-B99B-4AFD7CB39351",
"payPeriod": "09/01/2025 - 09/30/2025",
"payEndDate": "2025-09-30",
"payBeginDate": "2025-09-01",
"payPeriodType": {
"payPeriodType": "Regular"
}
},
"grossTotal": 2060.85,
"netTotal": 1795.13,
"payrollLineItemTaxAggregation": {
"employerTax": 238.42
}
},
{
"payPeriod": {
"payPeriodId": "43CCBBDF-8CF3-472E-874D-888E7911BB1F",
"payPeriod": "10/01/2025 - 10/31/2025",
"payEndDate": "2025-10-31",
"payBeginDate": "2025-10-01",
"payPeriodType": {
"payPeriodType": "Regular"
}
},
"grossTotal": 2363.73,
"netTotal": 2142.86,
"payrollLineItemTaxAggregation": {
"employerTax": 248.72
}
}
],
"employeePayrollLineItemsAggregate": {
"aggregate": {
"sum": {
"netTotal": 5733.12,
"ytdGrossTotal": 0,
"ytdBaseTotal": 0,
"ytdNetTotal": 0
}
}
},
"employerTaxCalculationResponsesAggregate": {
"aggregate": {
"sum": {
"taxAmount": 448.82
}
}
}
}
]
}Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Show child attributes