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

# Account Resolver

> Resolve and verify account details across multiple payment methods and currencies. This endpoint routes the request to the appropriate provider based on the `currency` and `method` combination, returning a normalised account name and ID.



## OpenAPI

````yaml POST /api/b2b/utilities/account/resolve
openapi: 3.1.0
info:
  title: Zerocash API
  version: 1.0.0
  description: >-
    The Zerocash API lets you collect payments (charges) and disburse funds
    (payouts) across supported markets through a single, unified integration.
servers:
  - url: https://api.zerocash.tech
security:
  - bearerAuth: []
tags:
  - name: Authentication
    description: Obtain and manage API credentials.
  - name: Reference Data
    description: Look up countries, banks, operators, and rates before transacting.
  - name: Charges
    description: Collect payments from your customers.
  - name: Payouts
    description: Disburse funds to recipients.
  - name: Transactions
    description: Retrieve and reconcile transactions.
  - name: Webhooks
    description: Receive and replay real-time event notifications.
paths:
  /api/b2b/utilities/account/resolve:
    post:
      tags:
        - Reference Data
      summary: Account Resolver
      description: >-
        Resolve and verify account details across multiple payment methods and
        currencies. This endpoint routes the request to the appropriate provider
        based on the `currency` and `method` combination, returning a normalised
        account name and ID.
      operationId: account-resolver
      requestBody:
        content:
          application/json:
            schema:
              type: object
              required:
                - accountNumber
                - currency
                - method
              properties:
                accountNumber:
                  type: string
                currency:
                  type: string
                  description: Currency must be in ISO 4217 format.
                method:
                  type: string
                  description: 'Must be one of: bank, momo, nuban, iban, paybill, till'
                bankCode:
                  type: string
                  description: Required for bank method
                momoOperator:
                  type: string
                  description: Required for momo methods
            examples:
              Momo:
                value:
                  accountNumber: '25471234567'
                  currency: KES
                  method: momo
                  momoOperator: mpesa
              Bank:
                value:
                  accountNumber: '11111111111111111'
                  currency: KES
                  method: bank
                  bankCode: '01'
              Paybill:
                value:
                  accountNumber: '522522'
                  currency: KES
                  method: paybill
              Till:
                value:
                  accountNumber: '166732'
                  currency: KES
                  method: till
      responses:
        '200':
          description: '200'
          content:
            application/json:
              examples:
                Result:
                  value:
                    success: true
                    data:
                      accountId: '8014311'
                      accountName: Wayne Industries
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    example: true
                    default: true
                  data:
                    type: object
                    properties:
                      accountId:
                        type: string
                        example: '8014311'
                      accountName:
                        type: string
                        example: Wayne Industries
        '400':
          description: '400'
          content:
            application/json:
              examples:
                Result:
                  value:
                    success: false
                    message: Account does not exist.
                    errorCode: E-CH-PY.S-37
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    example: false
                    default: true
                  message:
                    type: string
                    example: Account does not exist.
                  errorCode:
                    type: string
                    example: E-CH-PY.S-37
      deprecated: false
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````