POST enquiry/GetAccountDetails

Fetches enriched account information from NIBSS

Request Information

URI Parameters

None.

Body Parameters

accountDetailsRequest
NameDescriptionTypeAdditional information
request_id

string

None.

bankcode

string

None.

accountnumber

string

None.

customerId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "request_id": "sample string 1",
  "bankcode": "sample string 2",
  "accountnumber": "sample string 3",
  "customerId": "sample string 4"
}

application/xml, text/xml

Sample:
<accountDetailsRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/sales_portal_common">
  <accountnumber>sample string 3</accountnumber>
  <bankcode>sample string 2</bankcode>
  <customerId>sample string 4</customerId>
  <request_id>sample string 1</request_id>
</accountDetailsRequest>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'accountDetailsRequest'.

Response Information

Resource Description

AccountDetailsResponse
NameDescriptionTypeAdditional information
accdetails

ThirdpartyAccount

None.

response_descr

string

None.

response_code

string

None.

full_description

string

None.

DisplayMessage

string

None.

Response Formats

application/json, text/json

Sample:
{
  "accdetails": {
    "Id": "sample string 1",
    "BeneficiaryName": "sample string 2",
    "AccountNumber": "sample string 3",
    "Bankcode": "sample string 4",
    "Bvn": "sample string 5",
    "LastName": "sample string 6",
    "FirstName": "sample string 7",
    "MiddleName": "sample string 8",
    "Phone": "sample string 9",
    "Dob": "sample string 10",
    "BankName": "sample string 11",
    "Status": "sample string 12",
    "ModuleName": "sample string 13",
    "CustomerId": 1
  },
  "response_descr": "sample string 1",
  "response_code": "sample string 2",
  "full_description": "sample string 3",
  "DisplayMessage": "sample string 4"
}

application/xml, text/xml

Sample:
<AccountDetailsResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/sales_portal_common">
  <DisplayMessage>sample string 4</DisplayMessage>
  <full_description>sample string 3</full_description>
  <response_code>sample string 2</response_code>
  <response_descr>sample string 1</response_descr>
  <accdetails xmlns:d2p1="http://schemas.datacontract.org/2004/07/AccessBank.SPLocal.Data.Models">
    <d2p1:AccountNumber>sample string 3</d2p1:AccountNumber>
    <d2p1:BankName>sample string 11</d2p1:BankName>
    <d2p1:Bankcode>sample string 4</d2p1:Bankcode>
    <d2p1:BeneficiaryName>sample string 2</d2p1:BeneficiaryName>
    <d2p1:Bvn>sample string 5</d2p1:Bvn>
    <d2p1:CustomerId>1</d2p1:CustomerId>
    <d2p1:Dob>sample string 10</d2p1:Dob>
    <d2p1:FirstName>sample string 7</d2p1:FirstName>
    <d2p1:Id>sample string 1</d2p1:Id>
    <d2p1:LastName>sample string 6</d2p1:LastName>
    <d2p1:MiddleName>sample string 8</d2p1:MiddleName>
    <d2p1:ModuleName>sample string 13</d2p1:ModuleName>
    <d2p1:Phone>sample string 9</d2p1:Phone>
    <d2p1:Status>sample string 12</d2p1:Status>
  </accdetails>
</AccountDetailsResponse>