curl --request POST \
--url 'https://sandbox.rollfi.xyz/payroll#addSupplementalPayPeriodWithLineItems' \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '{
"method": "addSupplementalPayPeriodWithLineItems",
"payPeriod": {
"companyId": "C8D57032-BF6F-4510-AA41-08A358365531",
"payPeriodType": "Off-Cycle",
"workerType": "W2",
"payBeginDate": "2024-01-15",
"payEndDate": "2024-01-15",
"payDate": "2025-10-15",
"payrollLineItem": [
{
"userId": "123DA511-5970-4C2F-AF7E-5C0FB11D23A3",
"amount": 500,
"paymentMethod": "Direct Deposit"
},
{
"userId": "3D971CE4-3DA9-4031-AB0E-D0E1A364444B",
"amount": 300
}
]
}
}'