BANK FOR SELECTED PRODUCT
This API returns the list of bank accounts mapped to a specific product for the user.
🔗 Path Parameters
| Parameter | Type | Required | Description | Example |
|---|
| productId | integer | Yes | Product ID | 1 |
🔍 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 | object | Bank details associated with the selected product | Product-specific bank information |