VPay API Specification (Basic Guide)
  • Introduction
  • Key Definitions
  • Methods
    • login
    • get bank list
    • nuban lookup
    • outbound transfer
    • get wallet balance
    • account/wallet statement
    • create virtual account/customer
    • update virtual account/customer
    • get customer
    • get all customers
    • get customer by email
    • get transaction by reference number
    • re-query transaction by reference number
    • check customer status
    • remove customer
  • Inbound Webhook Notifications
  • Funding Methods
  • Glossary
Powered by GitBook
On this page
  1. Methods

get customer by email

Get details of a customer by email

Request

Method
URL

GET

{{baseUrl}}/api/service/v1/query/customer/showByEmail?email=email_address

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

Response 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"
        }
    ]
}

Previousget all customersNextget transaction by reference number

Last updated 1 year ago