# Bank Account - Pennydrop

Data extraction of bank account - penny drop refers to the process of collecting and retrieving information from a bank account.

## &#x20;ind\_bank\_account

<mark style="color:green;">`POST`</mark> `https://secctrl.tutelar.io/api/v1/kyc/banking/ind_bank_account`

### Post parameters description is given below,

<table><thead><tr><th width="197">Post Parameter </th><th width="139">Type</th><th>Is  Mandatory</th><th>Description</th></tr></thead><tbody><tr><td>account_number </td><td>String </td><td>Yes </td><td>Account Number</td></tr><tr><td>ifsc_code</td><td>String</td><td>Yes</td><td>IFSC Code</td></tr></tbody></table>

#### Sample Post Parameters

```json
{
    "account_number": "6147380000",
    "ifsc_code": "IDIB088T000"
}
```

{% tabs %}
{% tab title="200: Success Response" %}

```json
{
    "success": true,
    "code": 200,
    "message": "The request has been successfully completed.",
    "reference_id": "10cc9473-ce11-425e-ac89-1f51ce6e78de",
    "status": "completed",
    "result": {
        "message": "Transaction Successful",
        "name_at_bank": "R  GOWTHAM",
        "account_number": "6147380000",
        "ifsc_code": "IDIB000T000",
        "account_exists": "YES",
        "amount_deposited": "1"
    },
    "requested_at": "2024-04-22T05:28:49.245Z",
    "completed_at": "2024-04-22T05:28:52.000Z"
}
```

{% endtab %}

{% tab title="200: InProgress Response" %}

```json
{
    "success": true,
    "code": 200,
    "message": "The request is being processed. Please wait for completion.",
    "reference_id": "10cc9473-ce11-425e-ac89-1f51ce6e78de",
    "status": "in_progress",
    "requested_at": "2024-04-22T05:28:49.245Z"
}
```

{% endtab %}

{% tab title="400: Validation Error Response " %}

```json
{
    "success": false,
    "code": 400,
    "message": "Invalid input. Please check your request and try again.",
    "error": {
        "message": "Invalid ifsc code",
        "field": "ifsc_code",
        "code": "BAD_REQUEST"
    }
}
```

{% endtab %}

{% tab title="200: Failure Response" %}

```json
{
    "success": true,
    "code": 200,
    "message": "The request could not be completed due to an error.",
    "reference_id": "3c94fbf2-1dd0-4d8b-ac9b-d0cccfb1d02a",
    "status": "failed",
    "error": {
        "message": "Invalid details were provided. Please submit valid details.",
        "code": "ERROR"
    },
    "requested_at": "2024-04-22T05:34:58.477Z",
    "completed_at": "2024-04-22T05:35:06.000Z"
}
```

{% endtab %}
{% endtabs %}

#### Check Document Status

## &#x20;Get document details

This Get details API using to fetch the latest updated response when the above API gave the status as in-progress by using the reference\_id

<mark style="color:blue;">`GET`</mark> `https://secctrl.tutelar.io/api/v1/kyc/document/details`

### Query parameters description is given below,

<table><thead><tr><th width="197">Query Parameter </th><th width="139">Type</th><th>Is  Mandatory</th><th>Description</th></tr></thead><tbody><tr><td>reference_id </td><td>String </td><td>Yes </td><td>Document reference id</td></tr></tbody></table>

{% tabs %}
{% tab title="200: Success Response" %}

```json
{
    "success": true,
    "code": 200,
    "message": "The request has been successfully completed.",
    "reference_id": "10cc9473-ce11-425e-ac89-1f51ce6e78de",
    "status": "completed",
    "result": {
        "message": "Transaction Successful",
        "name_at_bank": "R  GOWTHAM",
        "account_number": "6147380000",
        "ifsc_code": "IDIB088T000",
        "account_exists": "YES",
        "amount_deposited": "1"
    },
    "requested_at": "2024-04-22T05:28:49.245Z",
    "completed_at": "2024-04-22T05:28:52.000Z"
}
```

{% endtab %}

{% tab title="200: InProgress Response" %}

```json
{
    "success": true,
    "code": 200,
    "message": "The request is being processed. Please wait for completion.",
    "reference_id": "10cc9473-ce11-425e-ac89-1f51ce6e78de",
    "status": "in_progress",
    "requested_at": "2024-04-22T05:28:49.245Z"
}
```

{% endtab %}

{% tab title="200: Failure Response" %}

```json
{
    "success": true,
    "code": 200,
    "message": "The request could not be completed due to an error.",
    "reference_id": "3c94fbf2-1dd0-4d8b-ac9b-d0cccfb1d02a",
    "status": "failed",
    "error": {
        "message": "Invalid details were provided. Please submit valid details.",
        "code": "ERROR"
    },
    "requested_at": "2024-04-22T05:34:58.477Z",
    "completed_at": "2024-04-22T05:35:06.000Z"
}
```

{% endtab %}
{% endtabs %}
