List of Bank
GET/v2/general/banks
This endpoint will return list of bank codes, along with several other information. We recommend you to hit this endpoint before creating a disbursement so that you can give information like queue or status to your user or customer.
Request
Query Parameters
code string
Flip’s bank code. cimb is the code for both CIMB Niaga and CIMB Niaga Syariah
Responses
- 200
- 401
- 422
Sample expected response
- application/json; charset=UTF-8
- Schema
- Example (from schema)
- List of banks
- Bank Specific
Schema
Array [
]
bank_code string
name string
fee integer
queue integer
status string
Possible values: [OPERATIONAL, DISTURBED, HEAVILY_DISTURBED]
[
{
"bank_code": "mandiri",
"name": "Mandiri",
"fee": 5000,
"queue": 8,
"status": "OPERATIONAL"
}
]
[
{
"bank_code": "mandiri",
"name": "Mandiri",
"fee": 5000,
"queue": 8,
"status": "DISTURBED"
},
{
"bank_code": "bca",
"name": "BCA",
"fee": 4000,
"queue": 6,
"status": "OPERATIONAL"
},
{
"bank_code": "bni",
"name": "BNI",
"fee": 4000,
"queue": 10,
"status": "HEAVILY_DISTURBED"
}
]
[
{
"bank_code": "mandiri",
"name": "Mandiri",
"fee": 5000,
"queue": 8,
"status": "DISTURBED"
}
]
Sample response when Your Flip api secret key value for Authorization is missing or invalid
- application/json; charset=UTF-8
- Schema
- Example (from schema)
Schema
name string
message string
status integer
{
"name": "Unauthorized",
"message": "Your request was made with invalid credentials.",
"status": 401
}
Sample responses when your bank code parameter is not found
- application/json; charset=UTF-8
- Schema
- Example (from schema)
Schema
message string
{
"message": "BANK_NOT_FOUND"
}
Loading...