get customer

Get details of a customer (including all associated bank accounts)

Request

Method
URL

GET

{{baseUrl}}/api/service/v1/query/customer/{{customerId}}/show

Header
Value

Content-Type

application/json

publicKey

{{publicKey}}

b-access-token

{{accessToken}}

Use the accessToken that was given in response to /api/service/v1/query/merchant/login

Request Payload Sample

{
    "_id": "64a7f4ee40aab6b20cddb014",
    "nuban": "4600020122",
    "email": "customeremail@xyz.com",
    "phone": "TECY_01958293845",
    "contactfirstname": "A",
    "contactlastname": "Customer",
    "createdon": "2023-05-07T11:19:06.227Z",
    "virtualaccounts": [
        {
            "bank": "Providus Bank",
            "nuban": "9601925506"
        },
        {
            "bank": "VFD MICROFINANCE BANK",
            "nuban": "4610020122"
        }
    ]
}

Last updated