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

# Service status

> Current health of collections and payouts.



## OpenAPI

````yaml GET /api/b2b/status/currencies
openapi: 3.1.0
info:
  title: Tanda API
  version: 1.0.0
  description: >-
    Collect and send KES payments in Kenya through M-PESA, Airtel Money and bank
    transfer.
servers:
  - url: https://api.tandapay.io
    description: Sandbox and production (your keys decide which)
security:
  - bearerAuth: []
tags:
  - name: Authentication
  - name: Account
  - name: Checkout
  - name: Collections
  - name: Payouts
  - name: Beneficiaries
  - name: Transactions
  - name: Reference data
  - name: Webhooks
paths:
  /api/b2b/status/currencies:
    get:
      tags:
        - Reference data
      summary: Service status
      description: >-
        Returns the current health of collections and payouts. Check it before
        retrying a batch of failures; retrying into a degraded service only adds
        failures.
      operationId: currency-uptime-checker
      parameters:
        - name: currency
          in: query
          required: false
          description: Filter by currency.
          schema:
            type: string
            enum:
              - KES
          example: KES
        - name: timeframeInHours
          in: query
          required: false
          description: Look-back window in hours (1–24).
          schema:
            type: integer
            minimum: 1
            maximum: 24
            default: 1
      responses:
        '200':
          description: Service health.
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        currency:
                          type: string
                        overallStatus:
                          type: string
                        collectionStatus:
                          type: string
                        payoutStatus:
                          type: string
                        lastUpdated:
                          type: string
                          format: date-time
              example:
                success: true
                data:
                  - currency: KES
                    overallStatus: operational
                    collectionStatus: operational
                    payoutStatus: operational
                    lastUpdated: '2026-10-28T09:00:00.000Z'
        '401':
          description: Missing, invalid or expired bearer token.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                success: false
                message: Unauthorized
components:
  schemas:
    Error:
      type: object
      properties:
        success:
          type: boolean
          example: false
        message:
          type: string
          description: Human-readable; may change.
        errorCode:
          type: string
          description: Stable code to branch on.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: Token from Generate bearer token.

````

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