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
WHITELABEL catalogue provider id in UPPER_SNAKE_CASE. Case-insensitive — normalized to upper case.
Body
The connection steps shown to your own users.
Grouped setup steps.
Link to your own documentation for this provider. Must be an https URL.
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 -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"
}
]
}'{
"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"
}{
"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
| HTTP | Envelope | When |
|---|---|---|
400 | VALIDATION_ERROR | provider_id is not a valid catalogue id. |
400 | problem+json | The 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. |
401 | NOT_AUTHENTICATED | Missing or invalid API keys. |
413 | — | Request body larger than 256 KB. |
/whitelabel/providers/{provider_id}/instructionsStores 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
WHITELABEL catalogue provider id in UPPER_SNAKE_CASE. Case-insensitive; normalized to upper case.
Body application/json
The connection steps shown to your own users. Every link must be https.
Grouped setup steps.
Link to your own documentation for this provider. Must be an https URL.
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.
WHITELABEL catalogue provider id, UPPER_SNAKE_CASE.
Connection steps replacing the catalogue’s.
Grouped setup steps replacing the catalogue’s.
Documentation link replacing the catalogue’s, when overridden. Always https.
Display name replacing the catalogue’s, when overridden. Only WHITELABEL-owned providers can carry one.
When the override was first written.
When the override was last written.
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.
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.
Every violation of the request, reported together rather than one per round trip.
Unauthorized — invalid or missing API keys.
Request body larger than 256 KB.