📣 New Region Unlocked: You can now send payouts directly to Malawi! 🇲🇼
Account Enquiry API

Account Enquiry

This API endpoint retrieves details about a specific bank account in Nigeria (country=NG) using the Nigerian Naira (currency=NGN).

Endpoint

POST {baseurl}/v1/account/enquiry

Authentication

Header NameValueRequiredDescription
Content-Typeapplication/jsonYesSpecifies JSON request body format
X-API-KEYYOUR_API_KEYYesAPI key for authentication

Request Example

curl --location {{baseURL}}/v1/account/enquiry' \
--header 'Content-Type: application/json' \
--header 'x-api-key: YOUR_API_KEY' \
--data '{
    "currency": "NGN",
    "account": {
        "accountNumber": "0690000032",
        "sortCode": "044"
    },
    "country": "NG"
}'

Request Body Parameters

ParameterTypeRequiredDescription
currencystringYesCurrency code (Nigerian Naira - NGN)
countrystringYesCountry code (Nigeria - NG)
accountobjectYesAccount details object
account.accountNumberstringYesBank account number to enquire about
account.sortCodestringYesBank sort code (bank code)

Successful Response (200 OK)

{
  "message": "account details fetched successfully",
  "status": "success",
  "data": {
    "accountNumber": "0690000032",
    "accountName": "JOHN DOE",
    "bankName": "ACCESS BANK NIGERIA",
    "sortCode": "044",
    "currency": "NGN",
    "country": "NG"
  }
}

Error Responses

Status CodeDescriptionResponse Body Example
401Occurs if the API key is missing or invalid."Invalid API key"
400Occurs if any required parameter is missing or invalid."Missing required parameter: accountNumber"
404Occurs if the account number is not found."Account not found"
422Occurs if the account validation fails."Invalid account details"