> ## Documentation Index
> Fetch the complete documentation index at: https://docs.keette.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Resolve Kenya

> Kenya bank and deposit-taking MFI catalog (M-Pesa → bank paybill codes).
Omit filters to list all. Pass `code` (paybill) and/or `name` to match
one or more entries. Use `code` as `routing.bank_code` on `ke_eft`
beneficiaries.




## OpenAPI

````yaml /openapi.yaml get /banks/ke
openapi: 3.1.0
info:
  title: Keette API
  version: 1.0.0
  description: |
    Public HTTP API for Keette workspaces. One base URL — live vs sandbox is
    selected by your API key (`sk_live_…` / `sk_test_…`).

    Endpoints are added as each implementation phase ships.
  contact:
    name: Keette Support
    email: talk@keette.com
servers:
  - url: https://1178-41-90-137-132.ngrok-free.app/v1
    description: Local tunnel (ngrok → core :8080)
  - url: https://api.keette.com/v1
    description: Production
security:
  - bearerAuth: []
tags:
  - name: Account
    description: Identity for the authenticating API key
  - name: Utilities
    description: |
      Lookup helpers for building beneficiaries and payouts — corridors
      (schemes + routing field keys), bank directory codes, account resolve,
      and SWIFT/BIC lookup.
  - name: Balances
    description: Wallet books
  - name: Beneficiaries
    description: Payout recipients
  - name: Transactions
    description: Unified transaction index
  - name: FX
    description: Indicative rates and firm quotes
  - name: Payouts
    description: Send money to a beneficiary
  - name: Payins
    description: Collect money into your books
  - name: Swaps
    description: FX between your own books
  - name: Webhooks
    description: Durable event log, ping, and webhook delivery helpers
paths:
  /banks/ke:
    get:
      tags:
        - Utilities
      summary: Resolve Kenya
      description: |
        Kenya bank and deposit-taking MFI catalog (M-Pesa → bank paybill codes).
        Omit filters to list all. Pass `code` (paybill) and/or `name` to match
        one or more entries. Use `code` as `routing.bank_code` on `ke_eft`
        beneficiaries.
      operationId: resolveKenya
      parameters:
        - name: code
          in: query
          required: false
          description: |
            Paybill / bank code (exact). Aliases `bank_code` and `bankCode`.
          schema:
            type: string
            example: '247247'
        - name: name
          in: query
          required: false
          description: |
            Case-insensitive name substring. Alias `q`.
          schema:
            type: string
            example: Equity
      responses:
        '200':
          description: Matching Kenya banks
          content:
            application/json:
              schema:
                type: object
                properties:
                  object:
                    type: string
                    enum:
                      - list
                  country:
                    type: string
                    example: KE
                  data:
                    type: array
                    items:
                      type: object
                      additionalProperties: true
              examples:
                equity:
                  value:
                    object: list
                    country: KE
                    data:
                      - object: bank
                        country: KE
                        currency: KES
                        code: '247247'
                        name: Equity Bank
                        kind: bank
                        ussd: '*247#'
                all:
                  summary: Full catalog when no filters
                  value:
                    object: list
                    country: KE
                    data:
                      - object: bank
                        country: KE
                        currency: KES
                        code: '522522'
                        name: KCB
                        kind: bank
                        ussd: '*522#'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          description: No bank matched the filters
components:
  responses:
    Unauthorized:
      description: Missing or invalid API key
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error:
              type: authentication_error
              code: invalid_api_key
              message: Invalid API key provided.
  schemas:
    Error:
      type: object
      required:
        - error
      properties:
        error:
          type: object
          required:
            - type
            - code
            - message
          properties:
            type:
              type: string
              description: Broad error class for client handling.
              enum:
                - invalid_request
                - authentication_error
                - permission_error
                - rate_limit
                - api_error
            code:
              type: string
              description: Stable machine-readable code (e.g. `parameter_invalid`).
            message:
              type: string
              description: Human-readable explanation safe to show developers.
            param:
              type: string
              description: Request field that failed validation, when applicable.
            doc_url:
              type: string
              format: uri
              description: Optional link to docs for this error.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API key
      description: |
        Secret API key from **Settings → Developers → API keys**.
        Example: `Authorization: Bearer sk_test_…`

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.