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.

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 or Replace the Provider Allowlist.

Path Parameters

provider_idstringrequired

WHITELABEL catalogue provider id in UPPER_SNAKE_CASE. Case-insensitive — it is normalized to upper case, so stripe and STRIPE address the same provider.

Body

visiblebooleanrequired

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.

Response

The provider’s refreshed overlay, in the same shape as Retrieve a Provider Overlay.

provider_idstring

WHITELABEL catalogue provider id, normalized to upper case.

allowedboolean

Whether your organization offers this provider, after this change.

namestring

Display name replacing the catalogue’s, when overridden.

instructionsobject[]

Connection steps replacing the catalogue’s, when overridden.

setup_instructionsobject[]

Grouped setup steps replacing the catalogue’s, when overridden.

more_info_urlstring

Documentation link replacing the catalogue’s, when overridden.

logo_urlstring

Presigned on this read and short-lived.

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 }'
200 OK
{
  "provider_id": "ADYEN",
  "allowed": true
}
400 Bad Request
{
  "code": "VALIDATION_ERROR",
  "messages": ["provider_id is invalid"]
}

Errors

HTTPcodeWhen
400VALIDATION_ERRORInvalid provider_id, or a body with a missing or null visible.
401NOT_AUTHENTICATEDMissing or invalid API keys.
413—Request body larger than 256 KB.
PATCH/whitelabel/providers/{provider_id}

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.

Path Parameters

provider_idstringrequired

WHITELABEL catalogue provider id in UPPER_SNAKE_CASE. Case-insensitive; normalized to upper case.

Body application/json

visiblebooleanrequired

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.

Response

The provider’s refreshed overlay.

provider_idstring

WHITELABEL catalogue provider id, UPPER_SNAKE_CASE.

allowedboolean

Whether the organization offers this provider.

namestring

Display name replacing the catalogue’s, when overridden. Only WHITELABEL-owned providers can carry one.

instructionsobject[]

Connection steps replacing the catalogue’s, when overridden. Absent means keep the catalogue’s.

setup_instructionsobject[]

Grouped setup steps replacing the catalogue’s, when overridden. Absent means keep the catalogue’s.

more_info_urlstring<uri>

Documentation link replacing the catalogue’s, when overridden. Always https.

logo_urlstring

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.

Invalid provider_id or body.

codestring
messagesstring[]

Unauthorized — invalid or missing API keys.

codestring
messagesstring[]

Request body larger than 256 KB.

codestring
messagesstring[]
Request
curl -X PATCH "https://api-sandbox.whitelabel.com/v1/whitelabel/providers/<provider_id>" \
  -H "Content-Type: application/json" \
  -H "PUBLIC-API-KEY: <PUBLIC-API-KEY>" \
  -H "PRIVATE-SECRET-KEY: <PRIVATE-SECRET-KEY>" \
  -d '{
  "visible": true
}'
Response
{
  "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=..."
}