Replace a Provider's Instruction Override

Stores your own connection instructions for this provider, replacing the WHITELABEL catalogue’s wording where you override it.

The document is stored whole, not merged. A field this body omits is cleared, and the provider reverts to the catalogue’s value for it. The safe edit is: read the current document with Retrieve a Provider’s Instruction Override, change the one field, and put the whole thing back.

At least one of instructions, setup_instructions, more_info_url and name must be present. Unknown top-level keys are rejected rather than ignored, and the serialised document may not exceed 64 KB.

Overriding a provider’s wording does not add it to your allowlist — editing text never changes what you offer.

Path Parameters

provider_idstringrequired

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

Body

instructionsobject[]

The connection steps shown to your own users.

Hide step
stepinteger

Position of the step.

textstring | object

The step’s text. Either a plain string or a language map such as {"EN": "...", "ES": "..."}.

text_linkstring | object

Link label. Same shape rules as text.

linkstring

Target URL. Must be https — the dashboard renders it as an href.

typestring

Step type.

has_sub_instructionsboolean

Whether this step carries nested steps.

sub_instructions_typestring

Type of the nested steps.

sub_instructionsobject[]

Nested steps, in the same shape. Up to 3 levels deep.

setup_instructionsobject[]

Grouped setup steps.

Hide group
titlestring

Group heading.

orderinteger

Position of the group.

instructions_typestring

Type of the steps in this group.

instructionsobject[]

The steps, in the same shape as instructions above.

more_info_urlstring

Link to your own documentation for this provider. Must be an https URL.

namestring

Display name that replaces the catalogue’s. At most 255 characters.

Accepted only for WHITELABEL-owned providers — a catalogue id containing YUNO, such as YUNO_3DS or YUNO_FRAUD_SCREENING. Any other provider is rejected with 400.

Response

The stored document, in the same shape as Retrieve a Provider’s Instruction Override, including the read-only created_at, updated_at, created_by and updated_by fields.

cURL
curl -X PUT 'https://api.whitelabel.com/v1/whitelabel/providers/STRIPE/instructions' \
  -H 'public-api-key: <YOUR_PUBLIC_KEY>' \
  -H 'private-secret-key: <YOUR_SECRET_KEY>' \
  -H 'Content-Type: application/json' \
  -d '{
    "more_info_url": "https://docs.example.com/stripe",
    "instructions": [
      {
        "step": 1,
        "text": { "EN": "Open your Stripe dashboard.", "ES": "Abre tu panel de Stripe." },
        "type": "TEXT"
      },
      {
        "step": 2,
        "text": "Copy the secret API key and paste it below.",
        "text_link": "Where do I find my key?",
        "link": "https://docs.example.com/stripe#api-keys",
        "type": "LINK"
      }
    ]
  }'
200 OK
{
  "provider_id": "STRIPE",
  "more_info_url": "https://docs.example.com/stripe",
  "instructions": [
    {
      "step": 1,
      "text": { "EN": "Open your Stripe dashboard.", "ES": "Abre tu panel de Stripe." },
      "type": "TEXT"
    },
    {
      "step": 2,
      "text": "Copy the secret API key and paste it below.",
      "text_link": "Where do I find my key?",
      "link": "https://docs.example.com/stripe#api-keys",
      "type": "LINK"
    }
  ],
  "created_at": "2026-09-02T13:54:13Z",
  "updated_at": "2026-09-02T13:54:13Z",
  "created_by": "00000000-0000-0000-0000-000000000000",
  "updated_by": "00000000-0000-0000-0000-000000000000"
}
400 — rename refused
{
  "title": "Invalid provider instructions",
  "status": 400,
  "detail": "The instruction override was rejected",
  "violations": [
    "name: only Whitelabel's own providers can be renamed; 'STRIPE' cannot"
  ]
}

violations lists every problem with the document at once — fix them together rather than resubmitting to discover the next one.

Errors

HTTPEnvelopeWhen
400VALIDATION_ERRORprovider_id is not a valid catalogue id.
400problem+jsonThe document was rejected: an unknown top-level key, a non-https link or more_info_url, name on a provider that is not WHITELABEL-owned, an empty document, or more than 64 KB.
401NOT_AUTHENTICATEDMissing or invalid API keys.
413—Request body larger than 256 KB.
PUT/whitelabel/providers/{provider_id}/instructions

Stores your own connection instructions for this provider, replacing the WHITELABEL catalogue’s wording where you override it.

The document is stored whole, not merged. A field this body omits is cleared, and the provider reverts to the catalogue value for it — so read the current document with GET, edit it, and put the whole thing back. At least one of instructions, setup_instructions, more_info_url and name must be present, unknown top-level keys are rejected rather than ignored, and the serialised document may not exceed 64 KB.

Every link, and more_info_url, must be https. name renames the provider and is accepted only for WHITELABEL-owned providers (a catalogue id containing YUNO); any other provider is rejected with 400. Rejections list every violation at once in violations.

Overriding a provider’s wording does not add it to your allowlist.

Path Parameters

provider_idstringrequired

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

Body application/json

instructionsobject[]

The connection steps shown to your own users. Every link must be https.

setup_instructionsobject[]

Grouped setup steps.

more_info_urlstring<uri>

Link to your own documentation for this provider. Must be an https URL.

namestring

Display name that replaces the catalogue’s. Accepted only for WHITELABEL-owned providers (a catalogue id containing YUNO, e.g. YUNO_3DS); any other provider is rejected with 400.

Response

The stored override.

provider_idstring

WHITELABEL catalogue provider id, UPPER_SNAKE_CASE.

instructionsobject[]

Connection steps replacing the catalogue’s.

setup_instructionsobject[]

Grouped setup steps replacing the catalogue’s.

more_info_urlstring<uri>

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

namestring

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

created_atstring<date-time>

When the override was first written.

updated_atstring<date-time>

When the override was last written.

created_bystring<uuid>

The dashboard user who created it. Overrides written through this API carry the all-zero sentinel 00000000-0000-0000-0000-000000000000, meaning “written through the API” rather than by a person in the dashboard.

updated_bystring<uuid>

The dashboard user who last updated it, with the same sentinel rule as created_by.

The document was rejected — invalid provider_id, unknown key, non-https link, name on a provider that is not WHITELABEL-owned, or over 64 KB.

typestring
titlestring
statusinteger
detailstring
violationsstring[]

Every violation of the request, reported together rather than one per round trip.

Unauthorized — invalid or missing API keys.

codestring
messagesstring[]

Request body larger than 256 KB.

codestring
messagesstring[]
Request
curl -X PUT "https://api-sandbox.whitelabel.com/v1/whitelabel/providers/<provider_id>/instructions" \
  -H "Content-Type: application/json" \
  -H "PUBLIC-API-KEY: <PUBLIC-API-KEY>" \
  -H "PRIVATE-SECRET-KEY: <PRIVATE-SECRET-KEY>" \
  -d '{
  "instructions": [
    {}
  ],
  "setup_instructions": [
    {}
  ],
  "more_info_url": "https://docs.example.com/stripe",
  "name": "Acme Risk"
}'
Response
{
  "provider_id": "STRIPE",
  "instructions": [
    {}
  ],
  "setup_instructions": [
    {}
  ],
  "more_info_url": "https://docs.example.com/stripe",
  "name": "Acme Risk",
  "created_at": "2026-09-02T13:54:13Z",
  "updated_at": "2026-09-02T13:54:13Z",
  "created_by": "00000000-0000-0000-0000-000000000000",
  "updated_by": "00000000-0000-0000-0000-000000000000"
}