Get All Supported Banks
POST /api/payments/get-bank-info
Get all banks supported by Pesawise to make payments to
Header Parameters
- api-key string required
- api-secret string required
Responses
- 200
- 400
Fetched banks
Response Headers
x-request-id any
Request Id for traceability
- */*
- Schema
- Example (from schema)
Schema
- Array [
- id int64 required
Pesawise Bank identifier
- bankCode string required
Kenya Bankers Association Code
- bankName string required
Name of Bank
- ]
[
{
"id": 2,
"bankCode": "0001",
"bankName": "KCB"
}
]
Error occurred - bad request
- */*
- Schema
- Example (from schema)
Schema
- detail string
Detail of the message.
- status string
Possible values: [
API_KEYS_INVALID
,INTERNAL_ERROR
,API_NOT_ACTIVATED
]Status
- requestId uuid
Request Id for traceability
{
"detail": "API key not valid or Internal error",
"status": "INTERNAL_ERROR",
"requestId": "d4265597-5317-45fd-8d2f-8012870633d5"
}
Loading...