# Block a customer.

`POST https://api.wajub.com/customers/{id}/block`

## Path parameters

- `id` (string, required): The customer `id`.

## Body (application/json)

- `reason` (string, nullable): Why the customer is blocked, up to 500 characters, returned as `block_reason`.

## Responses

- `200`: Customer blocked
- `400`: Already blocked
- `404`: Not found

## Example response (200)

```json
{
  "code": 200,
  "status": "OK",
  "message": "Customer blocked",
  "customer": {
    "id": "cus_Qe7Tb2Wn5Lr9Xc4Mv8Hk1Zs3",
    "status": "blocked",
    "blocked": true,
    "block_reason": "Repeated chargebacks"
  }
}
```
