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

remove customer

Delete the record of a non-transacting customer

This endpoint is throttled to 1 request every 300 milliseconds.

Request

Method
URL

DELETE

{{baseUrl}}/api/service/v1/query/customer/delete?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: "Successfully Deleted.",  
   data: { 
     virtualaccount:  “4000000000”
   } 
}

OR

{
    "status": false,
    "message": "You can't delete accountnumber since you have recieved some transaction(s) on it."
}

Previouscheck customer statusNextInbound Webhook Notifications

Last updated 2 years ago