> ## Client identification
>
> Requests to this API should include a `Client-Platform` header alongside
> `Authorization`, identifying the application, tool, or model making the
> request. This is used for integration support and analytics.
>
> Use your model or tool name, for example `claude-code` or `chatgpt`.
>
> Example:
>
> ```bash
> curl https://api.salaryboxapp.com/... \
>   -H "Authorization: Api-Key <api-key>" \
>   -H "Client-Platform: claude-code"
> ```

# Fetch Single Staff Bank Verification

GET https://api.salaryboxapp.com/v2/customer/v1/verification/staff/{salarybox_id}/bank

Returns the bank verification status of the bank account or UPI ID saved on a staff member's profile, as shown in My Team, Bank Details in the app. Reading is free.

- `verification_status` is `not_added` (no bank account or UPI ID saved), `not_verified` (saved, never checked), `pending_review` (the bank answered, waiting for an admin) or `verified` (an admin marked it verified in the app).
- `warning` is `null`, `name_mismatch` (the name at the bank differs from the profile name) or `issues_found` (the bank couldn't verify the details; `failure_reason` says why).
- `payment_mode` is `bank` or `upi`. `account_number` and `upi_id` are masked. Bank account numbers are never accepted or returned in full.
- `name_at_bank`, `bank_name`, `branch` and `city` are filled once the bank has answered. `verified_by` and `verified_on` are set once an admin marked it verified.
- When `verification_status` is `not_verified`, `already_paid` says whether a check was paid for but didn't finish, so the next Verify Staff Bank Account isn't charged.
- `fee` is what Verify Staff Bank Account costs right now, as a 2-decimal string.
- Not available through the API: adding or editing bank details and marking them verified. Do these in the SalaryBox app.
- Needs the Bank Verification feature on your plan, else `403` with the plan upgrade message.


Reference: https://docs.salarybox.in/api-reference/staff-verification/verification-staff-bank-retrieve

## Authentication

- `Authorization` header (required) (prefixed with ` Api-Key   `) — Format: "Api-Key \{api-key}"

## Request

### Path parameters

- `salarybox_id` (string, required) — SalaryBox ID of the staff member.

## Response

### 200

The staff member's bank verification status.

- `message` (string, required)
- `status` (boolean, required)
- `data` (StaffBankVerificationResult, required)

## Errors

### 403 Forbidden Error

Your company has no active subscription.

- `message` (string, required)
- `status` (boolean, required)
- `errors` (map from string to any, optional, nullable)

### 404 Not Found Error

No eligible active staff member with this `salarybox_id` exists in your company.

- `message` (string, required)
- `status` (boolean, required)
- `errors` (map from string to any, optional, nullable)

## Types

### StaffBankVerificationResult

- `salarybox_id` (string, optional)
- `name` (string, optional) — Name on the staff profile.
- `verification_status` (enum, optional)
  - Allowed values: `not_added`, `not_verified`, `pending_review`, `verified`
- `warning` (enum, optional, nullable) — `name_mismatch` when the name at the bank differs from the profile name; `issues_found` when the bank couldn't verify the details.
  - Allowed values: `name_mismatch`, `issues_found`
- `payment_mode` (enum, optional, nullable)
  - Allowed values: `bank`, `upi`
- `account_number` (string, optional, nullable) — Masked. All but the last 4 characters are `X`.
- `ifsc_code` (string, optional, nullable)
- `upi_id` (string, optional, nullable) — Masked. The part before `@` is hidden except its first and last character.
- `name_at_bank` (string, optional, nullable) — Name the bank returned. Set once the bank has answered.
- `bank_name` (string, optional, nullable)
- `branch` (string, optional, nullable)
- `city` (string, optional, nullable)
- `failure_reason` (string, optional, nullable) — Why the bank couldn't verify the details, when `warning` is `issues_found`.
- `verified_by` (string, optional, nullable) — Admin who marked the details verified in the app.
- `verified_on` (datetime, optional, nullable)
- `already_paid` (boolean, optional) — Fetch Single Staff Bank Verification only, when `verification_status` is `not_verified`: `true` if a check was paid for but didn't finish, so the next one isn't charged.
- `fee` (string, optional) — Fetch Single Staff Bank Verification only. What Verify Staff Bank Account costs right now, as a 2-decimal string.

## Examples

### Checked, waiting for an admin

**Response**

```json
{
  "message": "Success",
  "status": true,
  "data": {
    "salarybox_id": "SB1001",
    "name": "Ravi Kumar",
    "verification_status": "pending_review",
    "warning": null,
    "payment_mode": "bank",
    "account_number": "XXXXXXXX4321",
    "ifsc_code": "HDFC0001234",
    "upi_id": null,
    "name_at_bank": "RAVI KUMAR",
    "bank_name": "HDFC Bank",
    "branch": "Andheri East",
    "city": "Mumbai",
    "failure_reason": null,
    "verified_by": null,
    "verified_on": null,
    "fee": "10.00"
  }
}
```

**SDK Code**

```python Checked, waiting for an admin
import requests

url = "https://api.salaryboxapp.com/v2/customer/v1/verification/staff/ABCDEFGHIJ/bank"

headers = {"Authorization": "Api-Key  <apiKey>"}

response = requests.get(url, headers=headers)

print(response.json())
```

```javascript Checked, waiting for an admin
const url = 'https://api.salaryboxapp.com/v2/customer/v1/verification/staff/ABCDEFGHIJ/bank';
const options = {method: 'GET', headers: {Authorization: 'Api-Key  <apiKey>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go Checked, waiting for an admin
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://api.salaryboxapp.com/v2/customer/v1/verification/staff/ABCDEFGHIJ/bank"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("Authorization", "Api-Key  <apiKey>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby Checked, waiting for an admin
require 'uri'
require 'net/http'

url = URI("https://api.salaryboxapp.com/v2/customer/v1/verification/staff/ABCDEFGHIJ/bank")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Api-Key  <apiKey>'

response = http.request(request)
puts response.read_body
```

```java Checked, waiting for an admin
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://api.salaryboxapp.com/v2/customer/v1/verification/staff/ABCDEFGHIJ/bank")
  .header("Authorization", "Api-Key  <apiKey>")
  .asString();
```

```php Checked, waiting for an admin
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://api.salaryboxapp.com/v2/customer/v1/verification/staff/ABCDEFGHIJ/bank', [
  'headers' => [
    'Authorization' => 'Api-Key  <apiKey>',
  ],
]);

echo $response->getBody();
```

```csharp Checked, waiting for an admin
using RestSharp;

var client = new RestClient("https://api.salaryboxapp.com/v2/customer/v1/verification/staff/ABCDEFGHIJ/bank");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Api-Key  <apiKey>");
IRestResponse response = client.Execute(request);
```

```swift Checked, waiting for an admin
import Foundation

let headers = ["Authorization": "Api-Key  <apiKey>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://api.salaryboxapp.com/v2/customer/v1/verification/staff/ABCDEFGHIJ/bank")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```

### Saved, never checked

**Response**

```json
{
  "message": "Success",
  "status": true,
  "data": {
    "salarybox_id": "SB1001",
    "name": "Ravi Kumar",
    "verification_status": "not_verified",
    "warning": null,
    "payment_mode": "upi",
    "account_number": null,
    "ifsc_code": null,
    "upi_id": "rXXXXXXr@okhdfc",
    "name_at_bank": null,
    "bank_name": null,
    "branch": null,
    "city": null,
    "failure_reason": null,
    "verified_by": null,
    "verified_on": null,
    "already_paid": false,
    "fee": "10.00"
  }
}
```

**SDK Code**

```python Saved, never checked
import requests

url = "https://api.salaryboxapp.com/v2/customer/v1/verification/staff/ABCDEFGHIJ/bank"

headers = {"Authorization": "Api-Key  <apiKey>"}

response = requests.get(url, headers=headers)

print(response.json())
```

```javascript Saved, never checked
const url = 'https://api.salaryboxapp.com/v2/customer/v1/verification/staff/ABCDEFGHIJ/bank';
const options = {method: 'GET', headers: {Authorization: 'Api-Key  <apiKey>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go Saved, never checked
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://api.salaryboxapp.com/v2/customer/v1/verification/staff/ABCDEFGHIJ/bank"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("Authorization", "Api-Key  <apiKey>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby Saved, never checked
require 'uri'
require 'net/http'

url = URI("https://api.salaryboxapp.com/v2/customer/v1/verification/staff/ABCDEFGHIJ/bank")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Api-Key  <apiKey>'

response = http.request(request)
puts response.read_body
```

```java Saved, never checked
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://api.salaryboxapp.com/v2/customer/v1/verification/staff/ABCDEFGHIJ/bank")
  .header("Authorization", "Api-Key  <apiKey>")
  .asString();
```

```php Saved, never checked
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://api.salaryboxapp.com/v2/customer/v1/verification/staff/ABCDEFGHIJ/bank', [
  'headers' => [
    'Authorization' => 'Api-Key  <apiKey>',
  ],
]);

echo $response->getBody();
```

```csharp Saved, never checked
using RestSharp;

var client = new RestClient("https://api.salaryboxapp.com/v2/customer/v1/verification/staff/ABCDEFGHIJ/bank");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Api-Key  <apiKey>");
IRestResponse response = client.Execute(request);
```

```swift Saved, never checked
import Foundation

let headers = ["Authorization": "Api-Key  <apiKey>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://api.salaryboxapp.com/v2/customer/v1/verification/staff/ABCDEFGHIJ/bank")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```