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

check customer status

Get the transaction status of a given cashpoint

This endpoint is throttled to 1 request every 300 milliseconds.

Request

Method
URL

GET

{{baseUrl}}/api/service/v1/query/customer/check?virtualaccount={{NUBAN}}

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

{ 
   status: true, 
   message: "This customer is transacting.", 
   data: { 
       virtualaccount: “4000000000,
       accountistransacting: true 
    }
}

OR

{ 
   status: true, 
   message: "This customer is not transacting.", 
   data: { 
       virtualaccount: “4000000000,
       accountistransacting: false 
    }
}

Previousre-query transaction by reference numberNextremove customer

Last updated 2 years ago