> ## Documentation Index
> Fetch the complete documentation index at: https://docs.iterapay.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete Merchant — DELETE /merchants/{merchantID}

> Permanently delete a merchant by its UUID. This action cannot be undone. Returns 204 No Content on success with no response body.

The Delete Merchant endpoint permanently removes a merchant and all associated data. This action is irreversible — balances, invoices, API keys, and settings tied to the merchant will no longer be accessible after deletion.

**`DELETE /merchants/{merchantID}`**

<Warning>
  Deleting a merchant is permanent. Ensure you have withdrawn all remaining funds and that no active integrations depend on this merchant before proceeding.
</Warning>

## Authentication

Accepts a Bearer token (`Authorization: Bearer <token>`) or an API key (`X-Api-Key: <key>`).

## Path parameters

<ParamField path="merchantID" type="string" required>
  The UUID of the merchant to delete.
</ParamField>

## Response

Returns `204 No Content` with no response body on success.

## Example request

```bash theme={null}
curl --request DELETE \
  --url https://api.iterapay.com/merchants/b0fcc813-a7ce-4bbc-932f-dbef6f59ca7f \
  --header 'Authorization: Bearer <token>'
```

## Example response

```
HTTP/1.1 204 No Content
```

## Error responses

| Status | Description                                     |
| ------ | ----------------------------------------------- |
| `401`  | Missing or invalid credentials.                 |
| `403`  | Valid credentials but insufficient permissions. |
| `404`  | No merchant found with the given `merchantID`.  |
