GET
/
reports#getTerminatedUsers
Authorization
Body
curl --request GET \
  --url 'https://sandbox.rollfi.xyz/reports#getTerminatedUsers' \
  --header 'Content-Type: application/json' \
  --data '{
  "method": "getTerminatedUsers",
  "companyId": "4c27f783-681a-4a7a-aaf2-03c719f5c9fc",
  "workerType": "W2"
}'
{
  "1": {
    "summary": "Success",
    "value": {
      "user": [
        {
          "user": "Nelson Mandor",
          "userId": "842A1486-6947-4095-88E0-0FE8ADB8C266",
          "companyId": "4C27F783-681A-4A7A-AAF2-03C719F5C9FC",
          "status": {
            "userStatus": "Terminate"
          },
          "firstName": "Nelson",
          "lastName": "Mandor",
          "middleName": null,
          "personalEmail": "hhjj@mail.com",
          "phoneNumber": "7788589652",
          "kycStatus": "passed",
          "jobTitle": "HR",
          "dateOfJoin": "2023-05-29",
          "email": "nelson789@mail.com",
          "userWages": [
            {
              "userWorkerType": {
                "workerType": "W2"
              }
            }
          ],
          "userAddress": {
            "address1": "663 Calle Tulipan",
            "address2": null,
            "city": "Thousand Oaks",
            "state": "CA",
            "zipcode": "91360",
            "country": "US"
          }
        }
      ]
    }
  }
}

Body

application/json
method
string
required
companyId
string
required
workerType
enum<string>
required
Available options:
W2,
1099-NEC

Response

200 - application/json
user
object[]
required