---
updatedAt: 2026-05-22T18:18:28.000Z
agentTools:
  projectIndex: https://docs.kyshi.co/llms.txt
---

# Resolve account name

Returns the account holder name registered against a bank account. Show it to whoever authorises the payout: bank transfers settle on account number alone, so this is the only practical protection against paying the wrong person.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "paths": {
    "/v1/transfer/name-enquiry": {
      "get": {
        "description": "Returns the account holder name registered against a bank account. Show it to whoever authorises the payout: bank transfers settle on account number alone, so this is the only practical protection against paying the wrong person.",
        "operationId": "resolveTransferAccountName",
        "parameters": [
          {
            "name": "bankCode",
            "required": true,
            "in": "query",
            "description": "Bank code from the bank list.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "accountNumber",
            "required": true,
            "in": "query",
            "description": "Account number to resolve.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "currency",
            "required": false,
            "in": "query",
            "description": "Payout currency.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success.",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/SuccessResponseDto"
                    },
                    {
                      "properties": {
                        "data": {
                          "$ref": "#/components/schemas/PublicNameEnquiryDto"
                        }
                      }
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "description": "Missing or invalid request parameter.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseDto"
                }
              }
            }
          },
          "401": {
            "description": "No valid API key provided.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseDto"
                }
              }
            }
          },
          "403": {
            "description": "The API key lacks permission for this request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseDto"
                }
              }
            }
          },
          "404": {
            "description": "Resource not found. A 404 on an object you just created is usually a test/live mode mismatch.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseDto"
                }
              }
            }
          },
          "422": {
            "description": "Business rule failure, such as an unsupported currency or insufficient balance.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseDto"
                }
              }
            }
          },
          "500": {
            "description": "Something went wrong on Kyshi’s end.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponseDto"
                }
              }
            }
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ],
        "summary": "Resolve account name",
        "tags": [
          "Transfers"
        ],
        "x-readme": {
          "code-samples": [
            {
              "language": "typescript",
              "name": "Kyshi SDK",
              "code": "import { Kyshi } from '@kyshi/mor-sdk';\n\nconst kyshi = new Kyshi({ secretKey: process.env.KYSHI_SECRET_KEY! });\n\nconst result = await kyshi.transfers.nameEnquiry({\n  \"bankCode\": \"code_123\",\n  \"accountNumber\": \"8092487322\"\n});",
              "install": "npm install @kyshi/mor-sdk"
            },
            {
              "language": "curl",
              "code": "curl --request GET \\\n  --url 'https://api.kyshi.co/v1/transfer/name-enquiry?bankCode=code_123&accountNumber=8092487322' \\\n  --header 'x-api-key: YOUR_API_KEY' \\\n  --header 'Content-Type: application/json'"
            },
            {
              "language": "javascript",
              "name": "Node.js (fetch)",
              "code": "const response = await fetch('https://api.kyshi.co/v1/transfer/name-enquiry?bankCode=code_123&accountNumber=8092487322', {\n  method: 'GET',\n  headers: {\n    'x-api-key': process.env.KYSHI_API_KEY,\n    'Content-Type': 'application/json',\n  },\n});\n\nconst result = await response.json();"
            }
          ]
        }
      }
    }
  },
  "info": {
    "title": "Kyshi MoR Public API",
    "description": "Public API reference for Kyshi integrators.",
    "version": "1.0",
    "contact": {}
  },
  "tags": [
    {
      "name": "Transfers",
      "description": "Send payouts from your available balance to a bank account."
    }
  ],
  "servers": [
    {
      "url": "https://api.kyshi.co",
      "description": "Production and Sandbox"
    }
  ],
  "components": {
    "securitySchemes": {
      "ApiKeyAuth": {
        "type": "apiKey",
        "in": "header",
        "name": "x-api-key"
      }
    },
    "schemas": {
      "SuccessResponseDto": {
        "type": "object",
        "properties": {
          "status": {
            "type": "boolean",
            "example": true,
            "description": "`true` on success."
          },
          "message": {
            "type": "string",
            "example": "Success"
          },
          "code": {
            "type": "number",
            "example": 200,
            "description": "Mirrors the HTTP status code."
          },
          "data": {
            "type": "object",
            "example": {},
            "description": "The endpoint-specific payload."
          }
        },
        "required": [
          "status",
          "message",
          "code",
          "data"
        ]
      },
      "ErrorResponseDto": {
        "type": "object",
        "properties": {
          "status": {
            "type": "boolean",
            "example": false,
            "description": "`false` on failure."
          },
          "message": {
            "type": "string",
            "example": "Unsupported Merchant Currency",
            "description": "Human-readable summary. Log it, but do not branch on it: the wording can change."
          },
          "code": {
            "type": "number",
            "example": 422,
            "description": "Mirrors the HTTP status code."
          },
          "data": {
            "type": "object",
            "example": {},
            "description": "Always empty on failure."
          }
        },
        "required": [
          "status",
          "message",
          "code",
          "data"
        ]
      },
      "PublicNameEnquiryDto": {
        "type": "object",
        "properties": {
          "accountName": {
            "type": "string",
            "example": "John Clam"
          },
          "accountNumber": {
            "type": "string",
            "example": "2250734567890"
          },
          "bankCode": {
            "type": "string",
            "example": "ORANGE_CIV"
          },
          "bankName": {
            "type": "string",
            "example": "Orange CIV"
          },
          "bvn": {
            "type": "string",
            "example": ""
          },
          "providerId": {
            "type": "string",
            "example": "ORANGE_CIV"
          }
        },
        "required": [
          "accountName",
          "accountNumber",
          "bankCode",
          "bankName"
        ]
      }
    }
  },
  "security": [
    {
      "ApiKeyAuth": []
    }
  ]
}
```