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": "Harshita Anil Bhangale",
"userId": "AD5BBA6F-B0F3-41E7-B98E-63603F5E115F",
"companyId": "2DFCA586-C2D4-4FD7-B823-063F2575A5E7",
"status": {
"userStatus": "Active"
},
"WorkerType": {
"WorkerType": "W2"
},
"firstName": "Harshita",
"lastName": "Bhangale",
"middleName": "Anil",
"phoneNumber": "9876543265",
"kycStatus": "passed",
"jobTitle": "shop_employee",
"dateOfJoin": "2024-11-10",
"email": "harshita14@gmail.com",
"userWages": [
{
"WageRate": 50,
"WageBasis": {
"WageBasis": "Per Year"
},
"paymentMethod": {
"PaymentMethod": "Direct Deposit"
},
"employeeRefTaxExempt": "Yes, as a member of the clergy or a religious order",
"employeeType": "Paid by the hour",
"differentialPay": "No",
"employmentStatus": "Part Time (20-29 Hours per week)"
}
],
"userAddress": {
"address1": "102 Fallsgrove Blvd",
"address2": "",
"city": "Rockville",
"state": "MD",
"zipcode": "20850-4713",
"country": "US"
},
"companyLocationCategory": {
"companyLocationCategory": "Office"
},
"companyLocation": {
"companyLocation": "Office Address",
"companyLocationId": "F04B0367-1A82-4A42-BAD9-A36EAF77DAD8",
"Address1": "test",
"Address2": "test",
"City": "test",
"Country": "US",
"State": "VA",
"Zipcode": "46664"
},
"stateCode": "MD",
"W4Informations": [
{
"W4FilingStatus": {
"W4FilingStatus": "Head of household"
},
"HaveMultipleJob": true,
"Dependents": 3,
"DependentsAbove18": 2,
"OtherIncome": 1500,
"OtherDeduction": 150,
"ExtraWithholding": 10,
"HasMilitarySpouseExemption": false,
"StateAdditionalDeduction": 12,
"IsNonResident": false,
"AZDeductionPercent": 0
}
],
"ssn": "569852369",
"dateOfBirth": "2006-01-01",
"stateW4Informations": [],
"bankAccounts": [
{
"userPayAccountEntityId": "41DB5136-C99F-42F4-8F80-A61E8213326F",
"bankName": "First Gingham Credit Union",
"accountName": "Plaid Checking",
"accountNumber": "XXXXXXXXX0000",
"payPercentage": 100,
"accountType": "checking"
}
]
}
]
}
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": "Harshita Anil Bhangale",
"userId": "AD5BBA6F-B0F3-41E7-B98E-63603F5E115F",
"companyId": "2DFCA586-C2D4-4FD7-B823-063F2575A5E7",
"status": {
"userStatus": "Active"
},
"WorkerType": {
"WorkerType": "W2"
},
"firstName": "Harshita",
"lastName": "Bhangale",
"middleName": "Anil",
"phoneNumber": "9876543265",
"kycStatus": "passed",
"jobTitle": "shop_employee",
"dateOfJoin": "2024-11-10",
"email": "harshita14@gmail.com",
"userWages": [
{
"WageRate": 50,
"WageBasis": {
"WageBasis": "Per Year"
},
"paymentMethod": {
"PaymentMethod": "Direct Deposit"
},
"employeeRefTaxExempt": "Yes, as a member of the clergy or a religious order",
"employeeType": "Paid by the hour",
"differentialPay": "No",
"employmentStatus": "Part Time (20-29 Hours per week)"
}
],
"userAddress": {
"address1": "102 Fallsgrove Blvd",
"address2": "",
"city": "Rockville",
"state": "MD",
"zipcode": "20850-4713",
"country": "US"
},
"companyLocationCategory": {
"companyLocationCategory": "Office"
},
"companyLocation": {
"companyLocation": "Office Address",
"companyLocationId": "F04B0367-1A82-4A42-BAD9-A36EAF77DAD8",
"Address1": "test",
"Address2": "test",
"City": "test",
"Country": "US",
"State": "VA",
"Zipcode": "46664"
},
"stateCode": "MD",
"W4Informations": [
{
"W4FilingStatus": {
"W4FilingStatus": "Head of household"
},
"HaveMultipleJob": true,
"Dependents": 3,
"DependentsAbove18": 2,
"OtherIncome": 1500,
"OtherDeduction": 150,
"ExtraWithholding": 10,
"HasMilitarySpouseExemption": false,
"StateAdditionalDeduction": 12,
"IsNonResident": false,
"AZDeductionPercent": 0
}
],
"ssn": "569852369",
"dateOfBirth": "2006-01-01",
"stateW4Informations": [],
"bankAccounts": [
{
"userPayAccountEntityId": "41DB5136-C99F-42F4-8F80-A61E8213326F",
"bankName": "First Gingham Credit Union",
"accountName": "Plaid Checking",
"accountNumber": "XXXXXXXXX0000",
"payPercentage": 100,
"accountType": "checking"
}
]
}
]
}
Basic authentication header of the form Basic <encoded-value>
, where <encoded-value>
is the base64-encoded string username:password
.
The response is of type object
.