# Always allow merchant

Marks a merchant as always allowed for the organization, optionally up to max_amount_base_units per purchase, replacing any block. Console session or API key with mandate:edit.

`POST /v1/merchants/{id}/allow`

Marks a merchant as always allowed for the organization, optionally up to max_amount_base_units per purchase, replacing any block. Console session or API key with mandate:edit.

Requires permission `mandate:edit`.

## Parameters

| Name | In | Required | Description |
| --- | --- | --- | --- |
| `id` | path | yes | Merchant id (mch_...). |

## Request body

```json
{
  "max_amount_base_units": "50000"
}
```

## Responses

- **200**: Success.
- **400**: Invalid request: a field is missing or malformed (VALIDATION_ERROR).
- **401**: No valid session, API key or agent credential (UNAUTHENTICATED, AGENT_CREDENTIAL_INVALID).
- **403**: Authenticated but not allowed: missing permission, passkey step-up required, or denied by policy.
- **404**: The resource does not exist or belongs to another organization.

Example 200 response:

```json
{
  "merchant_id": "mch_01jd2x3k4m5n6p7q8r9s0t1v2w",
  "rule": {
    "id": "id_01jd2x3k4m5n6p7q8r9s0t1v2w",
    "org_id": "org_01jd2x3k4m5n6p7q8r9s0t1v2w",
    "merchant_id": "mch_01jd2x3k4m5n6p7q8r9s0t1v2w",
    "kind": "string",
    "max_amount_base_units": "50000",
    "created_by": "string",
    "created_by_name": "string",
    "created_at": "2026-11-16T12:00:00Z"
  },
  "blocked": true,
  "blocked_at": "2026-11-16T12:00:00Z",
  "blocked_by": "string",
  "allowed": true,
  "allow_max_amount_base_units": "50000"
}
```
