BANK DETAILS
This API returns all bank account details mapped to the user, including account information, branch details, product mappings, and withdrawal eligibility.
🔍 Query Parameters
| Parameter | Type | Required | Description | Example |
|---|
| userId | string | Yes | User ID (UCC) | "{{user_id}}" |
| Header | Type | Description | Example |
|---|
| Content-Type | string | Request payload format | application/json |
| Authorization | string | Access token for authenticated requests | {{access_token}} |
| x-api-key | string | API key used to authorize request | {{x-api-key}} |
🟢 Success Response - 200 OK
Content-Type: application/json
| Field | Type | Description | Example |
|---|
| status | string | Status of API call | "success" |
| code | string | Response code | "s-101" |
| message | string | Success message | "Bank details fetched successfully" |
| data | array | List of bank account details | Refer Data Object Fields |
📦 Data Object Fields
| Field | Type | Description | Example |
|---|
| sAccountNo | string | Account number | "XXXXXXXX1234" |
| sIFSC | string | IFSC code of the bank | "HDFC0001234" |
| sCustomerId | string | Customer ID | "CUST001" |
| sAccountType | string | Account type | "Savings", "Current" |
| nProductCode | string | Product code | "1" |
| sProductType | string | Product type | "EQ+FO" |
| sBankBranchId | string | Bank branch ID | "BR001" |
| sBankId | string | Bank ID | "HDFC" |
| sBankName | string | Bank name | "HDFC Bank" |
| sBranchName | string | Branch name | "MG Road" |
| sBranchCity | string | Branch city | "Bengaluru" |
| sManagerIP | string | Manager IP address | "192.168.1.1" |
| sGroupId | string | Group ID associated with the user | "GRP01" |
| bWithdrawAllowed | boolean | Indicates whether withdrawal is allowed | true, false |