# Update a Provider's Visibility

Turns a single provider on or off. Idempotent, and turning it off **keeps** its instruction override, so your wording survives the toggle.

The response is the provider's refreshed overlay, with `allowed` reflecting the `visible` you sent.

<Warning>
Your allowlist is opt-in: a white-label organization with no allowlist entries offers no provider at all. Sending `visible: true` on such an organization **starts** the allowlist with that single provider — the rest stay unoffered until you add them one by one, or in bulk with [Update Visibility for Several Providers](/reference/organizations/whitelabel/update-providers-visibility) or [Replace the Provider Allowlist](/reference/organizations/whitelabel/replace-provider-allowlist).
</Warning>

### Path Parameters

<ParamField path="provider_id" type="string" required>
  WHITELABEL catalogue provider id in UPPER_SNAKE_CASE. Case-insensitive — it is normalized to upper case, so `stripe` and `STRIPE` address the same provider.
</ParamField>

### Body

<ParamField body="visible" type="boolean" required>
  Whether your organization offers this provider. `true` adds it to the allowlist, `false` removes it.

  Required. A body that omits it, or sends an explicit `null`, is a `400` — it is never treated as `false`.
</ParamField>

### Response

The provider's refreshed overlay, in the same shape as [Retrieve a Provider Overlay](/reference/organizations/whitelabel/retrieve-provider).

<ResponseField name="provider_id" type="string">
  WHITELABEL catalogue provider id, normalized to upper case.
</ResponseField>
<ResponseField name="allowed" type="boolean">
  Whether your organization offers this provider, after this change.
</ResponseField>
<ResponseField name="name" type="string">
  Display name replacing the catalogue's, when overridden.
</ResponseField>
<ResponseField name="instructions" type="object[]">
  Connection steps replacing the catalogue's, when overridden.
</ResponseField>
<ResponseField name="setup_instructions" type="object[]">
  Grouped setup steps replacing the catalogue's, when overridden.
</ResponseField>
<ResponseField name="more_info_url" type="string">
  Documentation link replacing the catalogue's, when overridden.
</ResponseField>
<ResponseField name="logo_url" type="string">
  Presigned on this read and short-lived.
</ResponseField>

<CodeGroup>
```bash cURL
curl -X PATCH 'https://api.whitelabel.com/v1/whitelabel/providers/ADYEN' \
  -H 'public-api-key: <YOUR_PUBLIC_KEY>' \
  -H 'private-secret-key: <YOUR_SECRET_KEY>' \
  -H 'Content-Type: application/json' \
  -d '{ "visible": true }'
```

```json 200 OK
{
  "provider_id": "ADYEN",
  "allowed": true
}
```

```json 400 Bad Request
{
  "code": "VALIDATION_ERROR",
  "messages": ["provider_id is invalid"]
}
```
</CodeGroup>

### Errors

<div className="code-nowrap-table dense-table">

| HTTP | `code` | When |
|---|---|---|
| `400` | `VALIDATION_ERROR` | Invalid `provider_id`, or a body with a missing or null `visible`. |
| `401` | `NOT_AUTHENTICATED` | Missing or invalid API keys. |
| `413` | — | Request body larger than 256 KB. |

</div>

**PATCH** `/whitelabel/providers/{provider_id}`

Base URL: `https://api-sandbox.whitelabel.com/v1`

Turns a single provider on or off. Idempotent, and turning it off keeps its instruction override so your wording survives the toggle.

The response is the provider's refreshed overlay, with `allowed` reflecting the `visible` you sent.

## Authorization

- PUBLIC-API-KEY (apiKey in header)
- PRIVATE-SECRET-KEY (apiKey in header)

## Path parameters

- `provider_id` (string, required)
  WHITELABEL catalogue provider id in UPPER_SNAKE_CASE. Case-insensitive; normalized to upper case.

## Body

Content type: `application/json`

- `visible` (boolean, required)
  Whether the organization offers this provider. `true` adds it to the allowlist, `false` removes it. Removing keeps any instruction override. Required — an omitted or null `visible` is a `400`, never a defaulted `false`.

Example:

```json
{
  "visible": true
}
```

## Responses

### 200

The provider's refreshed overlay.

- `provider_id` (string)
  WHITELABEL catalogue provider id, UPPER_SNAKE_CASE.
- `allowed` (boolean)
  Whether the organization offers this provider.
- `name` (string)
  Display name replacing the catalogue's, when overridden. Only WHITELABEL-owned providers can carry one.
- `instructions` (object[])
  Connection steps replacing the catalogue's, when overridden. Absent means keep the catalogue's.
- `setup_instructions` (object[])
  Grouped setup steps replacing the catalogue's, when overridden. Absent means keep the catalogue's.
- `more_info_url` (string<uri>)
  Documentation link replacing the catalogue's, when overridden. Always https.
- `logo_url` (string)
  Read-only and ephemeral: a presigned URL minted on this read and valid only for a short window. Never store it — read the provider again for a fresh one.

Example:

```json
{
  "provider_id": "STRIPE",
  "allowed": true,
  "name": "Acme Risk",
  "instructions": [
    {}
  ],
  "setup_instructions": [
    {}
  ],
  "more_info_url": "https://docs.example.com/stripe",
  "logo_url": "https://s3.amazonaws.com/whitelabel/logo.png?X-Amz-Signature=..."
}
```

### 400

Invalid provider_id or body.

- `code` (string)
- `messages` (string[])

Example:

```json
{
  "code": "VALIDATION_ERROR",
  "messages": [
    "provider_id is invalid"
  ]
}
```

### 401

Unauthorized — invalid or missing API keys.

- `code` (string)
- `messages` (string[])

Example:

```json
{
  "code": "NOT_AUTHENTICATED",
  "messages": [
    "Not authenticated"
  ]
}
```

### 413

Request body larger than 256 KB.

- `code` (string)
- `messages` (string[])

Example:

```json
{
  "code": "VALIDATION_ERROR",
  "messages": [
    "Request body is too large"
  ]
}
```