Skip to main content
GET
/
reports#getUser
getUser
curl --request GET \
  --url 'https://sandbox.rollfi.xyz/reports#getUser' \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "method": "getUser",
  "companyId": "2DFCA586-C2D4-4FD7-B823-063F2575A5E7",
  "userId": "AD5BBA6F-B0F3-41E7-B98E-63603F5E115F"
}
'
{
"user": [
{
"user": "Molly Phelps",
"userId": "A9A61FBE-7C7F-48E6-9CA8-1AD8A8CB3980",
"userReferenceId": "12370808",
"companyId": "C2019899-9EEF-49F7-9B51-70744AFAFE61",
"status": {
"userStatus": "Active"
},
"WorkerType": {
"WorkerType": "W2"
},
"firstName": "Molly",
"lastName": "Phelps",
"middleName": "",
"phoneNumber": "9988776655",
"kycStatus": "passed",
"jobTitle": "Developer",
"dateOfJoin": "2023-02-02",
"email": "[email protected]",
"userWages": [
{
"userWageId": "9C86DE50-1EFF-4982-B174-CB1BE05977E1",
"standardWorkingHours": 8,
"WageRate": 4000,
"WageBasis": {
"WageBasis": "Per Month"
},
"paymentMethod": {
"PaymentMethod": "Direct Deposit"
},
"employeeRefTaxExempt": "Yes, as an owner/corporate officer",
"employeeType": "Commission only/Eliglble for overtime",
"differentialPay": "No",
"employmentStatus": "Full Time (30+ Hours per week)"
}
],
"userAddress": {
"address1": "102 Fallsgrove Blvd",
"city": "Seattle",
"state": "WA",
"zipcode": "98101",
"country": "US"
},
"userRemoteLocations": [],
"companyLocationCategory": {
"companyLocationCategory": "Remote"
},
"companyLocation": null,
"stateCode": "WA",
"W4Informations": [
{
"W4FilingStatus": {
"W4FilingStatus": "Head of household"
},
"HaveMultipleJob": true,
"Dependents": 3,
"DependentsAbove18": 2,
"OtherIncome": 1500,
"OtherDeduction": 150,
"ExtraWithholding": 10,
"HasMilitarySpouseExemption": false,
"StateAdditionalDeduction": 0,
"IsNonResident": false,
"AZDeductionPercent": 0
}
],
"ssn": "523656325",
"dateOfBirth": "2006-01-01",
"userRemoteLocation": null,
"stateW4Informations": [],
"employeeMiscellaneousStateTax": {
"RiskClassCode": "643609",
"CompositeRate": "9",
"RiskClassNameEmployee": "Plumber",
"PayrollDeductionRate": "4.5"
},
"bankAccounts": [
{
"userPayAccountEntityId": "D48DA316-ED8C-4815-B0EC-14057D344951",
"bankName": "THE UNION BK OF MENA",
"accountName": "LEGACY BANK",
"accountNumber": "XXXXXXXXX2500",
"payPercentage": 100,
"accountType": "savings",
"status": "ready",
"accountPriority": "Primary"
}
],
"timeOffRequests": []
}
]
}

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
method
string
required
companyId
string
required
userId
string
required

Response

user
object[]
required