remove customer

Delete the record of a non-transacting customer

This endpoint is throttled to 1 request every 300 milliseconds.

Request

MethodURL

DELETE

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

HeaderValue

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."
}

Last updated