Skip to navigation

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_id goes 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_status not_verified). No saved details, details the bank couldn’t verify, and details already checked are refused with 400, so it never charges twice.
  • After a check, verification_status is pending_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 get 502. A check that was paid for but didn’t finish is not charged again: see already_paid in 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_paid and fee.
  • Needs the Bank 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 bank verification result.

messagestring
statusboolean
dataobject

Errors

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