# Restrict or reinstate a customer

`POST /v1/platforms/{orgId}/customers/{customerId}/status`

Restricts (pauses outgoing payments) or reinstates a customer. Requires two-factor authentication.

When to use it: Pause a customer's outgoing payments (restrict) and resume them (reinstate). A reason is required and shown in their activity log.

Requires: organization platform (active); permission platform:customers_manage; second factor for browser sessions

## Request body

- `action` (enum, required): restrict pauses the customer's outgoing payments One of restrict, reinstate.
- `reason` (string): 

```json
{
  "action": "restrict",
  "reason": "Chargeback investigation, case 4411"
}
```

Events: platform_customer.updated

Errors: reason_required, not_restricted, not_active

```bash
curl -X POST "https://sandbox-api.payezy.io/v1/platforms/$ORG_ID/customers/$CUSTOMER_ID/status" \
  -H "Authorization: Bearer $PAYEZY_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "action": "restrict",
  "reason": "Chargeback investigation, case 4411"
}'
```
