Get Default Bank Details
This API retrieves the default bank account details for a specific product.
Use this to obtain customer-linked bank account information like account number, bank name, and IFSC.
🛣️Path Parameters
| Field | Type | Required | Description | Example/ENUM |
|---|
| productId | integer | Yes | Unique identifier for product | 1 |
| Header | Type | Description | Example/ENUM |
|---|
| Authorization | string | Bearer token for user authentication. | {{access_token}} |
| Content-Type | string | Specifies the type of the request payload. | application/json |
| x-api-key | string | API key to authenticate the request. | {{x-api-key}} |
🟢Success Response - 200 Ok
| Field | Type | Description | Example/ENUM |
|---|
| status | string | Status of the API call. | "success" |
| code | string | Response code indicating the outcome. | "s-101" |
| message | string | A message indicating the success of the request. | "success message" |
| data | array of object | Array containing the default bank details. | See details below |
🏛️Bank Details (Array of objects)
| Field | Type | Description | Example/ENUM |
|---|
| sBankId | string | Unique identifier for the bank. | BID12345 |
| sBankName | string | Name of the bank. | State Bank of India |
| sAccountNo | string | Bank account number. | 1234567890 |
| sIFSC | string | IFSC code of the bank. | SBI0001234 |
| sCustomerId | string | Unique identifier for the customer. | CUST7890 |