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

# Validate a routing number

> Checks a routing number, sort code or IFSC on its own, and names the bank where a directory exists (India today). This is about the bank, never the account holder.



## OpenAPI

````yaml /api-reference/openapi.json post /v1/validate/routing
openapi: 3.1.0
info:
  title: Chipper Platform API
  version: '2026-02-20'
  description: >-
    Payouts, collections, and FX across African rails (bank, mobile money, and
    stablecoins) through one API.
servers:
  - url: https://api.platform.chipper.ai
    description: Production (sk_live_ keys)
  - url: https://sandbox-api.platform.chipper.ai
    description: 'Sandbox (sk_test_ keys: simulated rails, no real money)'
security:
  - bearerAuth: []
paths:
  /v1/validate/routing:
    post:
      tags:
        - Validation
      summary: Validate a routing number
      description: >-
        Checks a routing number, sort code or IFSC on its own, and names the
        bank where a directory exists (India today). This is about the bank,
        never the account holder.
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                code:
                  type: string
                  minLength: 1
                routingNumber:
                  type: string
                  minLength: 1
              required:
                - code
                - routingNumber
      responses:
        '200':
          description: The routing number result.
          content:
            application/json:
              schema:
                type: object
                properties:
                  routing:
                    $ref: '#/components/schemas/RoutingValidation'
                required:
                  - routing
        '400':
          description: 'Invalid request: the body failed validation.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error: validation_error
                message: Request validation failed
                requestId: req_q7vei435zifs51ia0lqr
        '401':
          description: Missing or invalid API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error: unauthorized
                message: Invalid API key
                requestId: req_q7vei435zifs51ia0lqr
        '404':
          description: No such resource in this organization.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error: not_found
                message: Payment method not found
                requestId: req_q7vei435zifs51ia0lqr
      security:
        - bearerAuth: []
components:
  schemas:
    RoutingValidation:
      type: object
      properties:
        validFormat:
          type: boolean
          description: >-
            Whether this is a routing number the method can use: the right shape
            and, for the US, a correct ABA check digit.
        bankFound:
          type: boolean
          description: >-
            Only present when a bank directory answered. False: no bank has this
            number.
        bankName:
          type: string
          example: HDFC Bank
        branch:
          type: string
          example: BHUJ
        message:
          type: string
      required:
        - validFormat
    Error:
      type: object
      properties:
        error:
          type: string
          description: Stable machine-readable code.
        message:
          type: string
          description: Human-readable explanation.
        requestId:
          type: string
          description: Echoed in the x-request-id response header. Quote it to support.
      required:
        - error
        - message
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 'Your API key: `sk_test_…` (sandbox) or `sk_live_…` (production).'

````

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