# remove customer

{% hint style="danger" %}
This endpoint is throttled to 1 request every 300 milliseconds.
{% endhint %}

Request

<table><thead><tr><th width="196.5">Method</th><th>URL</th></tr></thead><tbody><tr><td><mark style="color:red;"><strong>DELETE</strong></mark></td><td><mark style="color:blue;"><strong>{{baseUrl}}</strong>/api/service/v1/query/customer/delete?virtualaccount={{NUBAN}}</mark></td></tr></tbody></table>

<table><thead><tr><th width="195.5">Header</th><th width="348">Value</th><th></th></tr></thead><tbody><tr><td>Content-Type</td><td>application/json</td><td></td></tr><tr><td>publicKey</td><td>{{publicKey}}</td><td></td></tr><tr><td>b-access-token</td><td>{{accessToken}}</td><td>Use the accessToken that was given in response to /api/service/v1/query/merchant/login</td></tr></tbody></table>

Response

```json
{ 
   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."
}
```
