Skip to navigation

Verify Staff

This call is charged per check from the SalaryBox Wallet. You must send confirm_charge: true. Without it you get 400 with the current fee and nothing is charged; Fetch Single Staff Verification also returns it as fee. One charge covers every lookup in that check. A Verification Package already bought in the Android app for this staff member covers it, with no new charge (Fetch Single Staff Verification shows already_paid: true before the first check).

Starts a staff verification check: looks up the staff member’s phone number and every government ID on their profile (PAN, driving license, voter ID, UAN) against government records. Shared rules: see Writing data.

  • salarybox_id goes in the URL path, not the body.
  • confirm_charge must be exactly true, or you get 400 “Set confirm_charge to true: this check is paid for from the SalaryBox Wallet.”
  • The call runs synchronously and can take several seconds.
  • The phone number is looked up for a PAN, driving license and UAN, as well as the IDs on the profile. If neither gives an ID, the check is still charged, ids is empty and next_step says to continue verification in the SalaryBox app.
  • A check that was paid for but didn’t finish carries on without charging again: send Verify Staff again.
  • A staff member who has already been checked is refused with 400, so it never charges twice. To check again use Verify Staff Again, which is charged again.
  • To have more IDs checked, put them on the staff profile first (Update Staff).
  • If the wallet balance is too low you get 402. If the wallet can’t be charged right now you get 502 and nothing is charged.
  • The result is the same object Fetch Single Staff Verification returns. Marking a staff member verified is done in the SalaryBox app, not in this API.
  • Needs the Background Verification feature on your plan, else 403 with the plan upgrade message.

Authentication

AuthorizationApi-Key

Format: “Api-Key {api-key}”

Path parameters

salarybox_idstringRequired
SalaryBox ID of the staff member.

Request

This endpoint expects an object.
confirm_chargebooleanRequired

Must be exactly true. Confirms that this check is paid for from the SalaryBox Wallet.

Response

The check was done. data is the verification result.

messagestring
statusboolean
dataobject

A staff member’s verification result. Returned by Fetch Single Staff Verification and, as data, by every verification write.

Errors

400
Bad Request Error
402
Payment Required Error
403
Forbidden Error
404
Not Found Error
502
Bad Gateway Error