Skip to content

Development environment: content is being written, nothing points to production.

Documentation contents

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

  • countryanyquery

    ISO 3166-1 alpha-2 country, TN by default

Responses

  • 200

    • codestringrequired

      BCT code in Tunisia (the two first digits of a RIB), Bank Al-Maghrib code (three digits) in Morocco

    • countrystringrequired

      ISO 3166-1 alpha-2 country of the bank

    • kindstringrequired

      postal for La Poste Tunisienne, payment_institution for IZI: they hold merchant accounts but are not banks

      • enum: "bank", "postal", "payment_institution"
    • namestringrequired
    • shortNamestringrequired
    • isSmtMemberbooleanrequired

      Member of SMT: can issue a ClicToPay affiliation

    • swiftCodestring

      Absent when unknown

    • logoUrlstring

      Logo 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"
  }
]