---
title: "Verify bank account details if it is correct"
method: GET
path: "/bank/name-enquiry"
tags: ["Bank Account"]
---

# Verify bank account details if it is correct

`GET /bank/name-enquiry`

## Request

- Base URL: `https://staging.api.mavapay.co/api/v1`
- URL: `https://staging.api.mavapay.co/api/v1/bank/name-enquiry`
- Auth: API key in header `X-API-KEY`
- TypeScript: <https://skmtc.dev/stealthmoney/apis/mavapay-api/docs/bank/name-enquiry/get.ts> (a function with typed inputs; its response is checked against the schema)

Verify bank account details if it is correct. The response returned should match the account number and account name of the user. This endpoint is currently limited to Nigeria(NGN) only

## Query parameters

- `accountNumber` string, string, required
- `bankCode` string, string, required

## Response `200`

Bank name enquiry response

- BankNameEnquiry
  - `status` string, string
  - `message` string, string
  - `data` object
    - `accountName` string, string
    - `accountNumber` string, string
    - `kycLevel` string, string
    - `nameInquiryReference` string, string
    - `channelCode` string, string

## Other responses

- `400`: Unexpected error

## Changes

- **2024-06-14** `2d988bc5fda5`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/stealthmoney/apis/mavapay-api/changes/bank/name-enquiry/get.md)

---

[API](https://skmtc.dev/stealthmoney/apis/mavapay-api.md) - [All operations](https://skmtc.dev/stealthmoney/apis/mavapay-api/llms.txt) - [OpenAPI document](https://skmtc.dev/stealthmoney/apis/mavapay-api/revisions/6e0362fa13b5?raw)
