banks
Version 0.1.02 operations
Active banks of a country (public)
GET/banks
Banks first, then La Poste Tunisienne and the payment institutions (kind), each by name. The dashboard passes the country of the organisation.
Parameters
countryanyqueryISO 3166-1 alpha-2 country,
TNby default
Responses
200
codestringrequiredBCT code in Tunisia (the two first digits of a RIB), Bank Al-Maghrib code (three digits) in Morocco
countrystringrequiredISO 3166-1 alpha-2 country of the bank
kindstringrequiredpostalfor La Poste Tunisienne,payment_institutionfor IZI: they hold merchant accounts but are not banks- enum: "bank", "postal", "payment_institution"
namestringrequiredshortNamestringrequiredisSmtMemberbooleanrequiredMember of SMT: can issue a ClicToPay affiliation
swiftCodestringAbsent when unknown
logoUrlstringLogo URL: the logo served by GET /banks/{code}/logo, or an override set by Konnect; absent when none
400invalid_query
Code samples
curl -X GET "$KONNECT_API_URL/banks"Example: 200
[
{
"code": "24",
"country": "TN",
"kind": "bank",
"name": "Banque de Tunisie et des Emirats",
"shortName": "BTE",
"isSmtMember": true,
"swiftCode": "BCMAMAMCXXX",
"logoUrl": "https://api.konnect.network/banks/24/logo"
}
]Logo of a bank (public, PNG, 96 px)
GET/banks/{code}/logo
Parameters
codestringpathrequired
Responses
200The image
404bank_logo_not_found
Code samples
curl -X GET "$KONNECT_API_URL/banks/code/logo"Example: 200
"string"