Verify Staff Bank Account
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 Bank Verification also returns it as fee.
Checks the bank account or UPI ID already saved on a staff member’s profile with the bank. It takes no bank details: add or correct them in the SalaryBox app. Shared rules: see Writing data.
salarybox_idgoes in the URL path, not the body.- The call runs synchronously and can take several seconds.
- Only details that haven’t been checked can be verified (
verification_statusnot_verified). No saved details, details the bank couldn’t verify, and details already checked are refused with400, so it never charges twice. - After a check,
verification_statusispending_review. Marking the details verified is done in the SalaryBox app, not in this API. - If the wallet balance is too low you get
402. If the wallet couldn’t be charged, or the bank check didn’t finish, you get502. A check that was paid for but didn’t finish is not charged again: seealready_paidin Fetch Single Staff Bank Verification, then send Verify Staff Bank Account again. - The result is the same object Fetch Single Staff Bank Verification returns, without
already_paidandfee. - Needs the Bank Verification feature on your plan, else
403with the plan upgrade message.
Authentication
AuthorizationApi-Key
Format: “Api-Key {api-key}”
Path parameters
salarybox_id
SalaryBox ID of the staff member.
Request
This endpoint expects an object.
confirm_charge
Must be exactly true. Confirms that this check is paid for from the SalaryBox Wallet.
Response
The check was done. data is the bank verification result.
message
status
data
Errors
400
Bad Request Error
402
Payment Required Error
403
Forbidden Error
404
Not Found Error
502
Bad Gateway Error
