Get All Banks
Get All Banks:
Postman Collection
URL
GET : /v1/common/bankHeaders
Content-Type (String) required
application/json
application/json
Authorization (String) required
Basic Auth
Basic Auth
Accept (String) required
application/json
application/json
Request
Example Request
curl --location --request GET '/v1/common/bank' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic Og==' \
--data ''
Response Samples
- SUCCESS
- FAILED
{
"code": "0x0200",
"message": "Record fetched successfully.",
"status": "SUCCESS",
"data": [
{
"bankId": 1,
"iin": 608112,
"bank": "Allahabad Bank",
"url": "http://incognic.tech/banklogo/Allahabad%20Bank.jpg"
},
{
"bankId": 2,
"iin": 607024,
"bank": "Aryavart Bank / Gramin Bank of Aryavart",
"url": "http://incognic.tech/banklogo/CommonBank.png"
},
{
"bankId": 4,
"iin": 607198,
"bank": "Andhra Pradesh Grameena Vikash Bank",
"url": "http://incognic.tech/banklogo/Andhra-Pradesh-Grameena-Vikas-Bank.jpg"
},
{
"bankId": 5,
"iin": 607121,
"bank": "Andhra Pragathi Grameena Bank",
"url": "http://incognic.tech/banklogo/Andhra%20Pragathi%20Grameena%20Bank.jpg"
},
{
"bankId": 6,
"iin": 607064,
"bank": "Assam Gramin Vikash Bank",
"url": "http://incognic.tech/banklogo/Assam%20Gramin%20Vikash%20Bank.png"
},
{
"bankId": 7,
"iin": 607153,
"bank": "Axis Bank",
"url": "http://incognic.tech/banklogo/axis_bank.png"
}
]
}
{
"code": "0x0202",
"status": "FAILURE",
"message": "No record found"
}
Response Code
Status Code | Status | Message |
---|---|---|
0x0200 | SUCCESS | TRANSACTION SUCCESSFULL |
0x0201 | UNAUTHORIZED | UNAUTHORIZED USER |
0x0202 | FAILURE | FAILURE USER |
0x0203 | MISSING_PARAMETER | MISSING PARAMETER |
0x0204 | CONNECTION_TIMEOUT | CONNECTION TIMEOUT |
0x0205 | SOMETHING_WENT_WRONG | SOMETHING WENT WRONG |
0x0206 | PENDING | TRANSACTION PENDING |