Get Provider Catalog

Returns the schema you need to fill in to create a connection for a given provider: which payment methods the provider supports, and the recursive list of parameters (credentials, toggles, choices) the provider requires.

This is the discovery endpoint — call it first to find out what a provider expects, then use its response as the input to Create a Connection.

This endpoint is provider-scoped, not connection-scoped. It returns a schema, not your existing connections.

Path Parameters

provider_idstringrequired

WHITELABEL provider identifier (STRIPE, ADYEN, CYBERSOURCE, …). Case-sensitive, UPPER_SNAKE_CASE.

Response

payment_method_typestring[]

The WHITELABEL payment-method enums this provider supports. Pass any of these values into payment_methods[] on Create a Connection.

paramsobject[]

Recursive parameter schema.

Hide item
param_idstring

Identifier to echo back in POST /v1/connections.params[].param_id. Pass casing verbatim.

field_typeenum

One of string, boolean, array, number.

descriptionstring | object

Display label. May be a plain string or a localization object { "EN": "...", "ES": "...", "PT": "..." }.

placeholderstring | object

Optional placeholder text. Same shape rules as description.

tooltipstring | null

Optional helper text.

editable_fieldboolean

If false, value is fixed/read-only.

secretboolean

If true, the value is sensitive — stored encrypted and surfaced as "***" on subsequent reads.

allow_customboolean

Only meaningful when options[] is present. If true, you may submit a free-form value alongside the catalog options (combobox semantics).

optionalboolean

If false, you must supply a value.

is_hiddenboolean

If true, the param exists but should not be rendered to end users.

sdk_requiredboolean

If true, the value is also required when configuring the WHITELABEL SDK on the client side.

optionsstring[] | object[]

Present when the field is a constrained enum. With field_type = "string" → single-select. With field_type = "array" → multi-select. Plain strings or {value, params} objects (the latter when an option carries its own nested params).

paramsobject[]

Nested children — activated when this node’s value is true (boolean parent) or matches one of the options (string/array parent).

cURL
curl -X GET 'https://api.whitelabel.com/v1/connections/catalog/STRIPE' \
  -H 'public-api-key: <YOUR_PUBLIC_KEY>' \
  -H 'private-secret-key: <YOUR_SECRET_KEY>'
200 OK — Stripe
{
  "payment_method_type": [
    "CARD",
    "GOOGLE_PAY",
    "APPLE_PAY",
    "ACH",
    "KLARNA_PAY_NOW",
    "KLARNA_PAY_LATER",
    "IDEAL",
    "GIROPAY",
    "BANCONTACT",
    "SEPA_DEBIT"
  ],
  "params": [
    {
      "param_id": "API_KEY",
      "field_type": "string",
      "secret": true,
      "description": "Stripe Secret API Key",
      "editable_field": true,
      "optional": false
    },
    {
      "param_id": "PUBLISHABLE_KEY",
      "field_type": "string",
      "description": "Stripe Publishable Key",
      "editable_field": true,
      "optional": false
    },
    {
      "param_id": "INTEGRATION_TYPE",
      "field_type": "string",
      "description": "Stripe integration variant",
      "editable_field": true,
      "optional": false,
      "options": [
        "PAYMENT_INTENTS",
        "CHARGES",
        "CONNECT_DESTINATION"
      ]
    },
    {
      "param_id": "3DS_ENABLED",
      "field_type": "boolean",
      "description": "Enable 3DS validation flow",
      "editable_field": true,
      "optional": true,
      "params": [
        {
          "param_id": "ORIGIN_URL",
          "field_type": "string",
          "description": "Your checkout origin URL",
          "editable_field": true,
          "optional": true
        }
      ]
    }
  ]
}
404 Not Found
{
  "type": "not_found",
  "code": "PROVIDER_NOT_FOUND",
  "message": "Provider 'NOT_A_PROVIDER' is not in the Whitelabel provider catalog",
  "details": { "provider_id": "NOT_A_PROVIDER" }
}
403 Forbidden
{
  "type": "auth_error",
  "code": "INSUFFICIENT_SCOPE",
  "message": "API key is missing required scope 'connections:read'",
  "details": { "required_scope": "connections:read" }
}

How to read a node

What you seeWhat it means
field_type: "string", no options[]Free-form text input.
field_type: "string", secret: truePassword / API key — write-only. Returned as "***" on GET.
field_type: "string", options[] presentSingle-choice enum. The value you submit must be one of options[].
field_type: "string", options[] present, allow_custom: trueCombobox. Submit one of options[] or a free-form value.
field_type: "boolean"Toggle. Setting it to true activates nested params[] and makes their optional: false children required.
field_type: "array", options[] presentMulti-select. Submit a JSON array whose elements are a subset of options[].
field_type: "array", no options[]Free-form list of strings.

Errors

HTTPcodeWhen
404PROVIDER_NOT_FOUNDThe provider_id is not in WHITELABEL’s provider catalog.
403INSUFFICIENT_SCOPEYour API key is missing the connections:read scope.
GET/connections/catalog/{provider_id}

Returns the schema you need to fill in to create a connection for a given provider.

Path Parameters

provider_idstringrequired

Response

OK

payment_method_typestring[]
paramsobject[]
Show params properties
param_idstring
field_type"string" | "boolean" | "array" | "number"
descriptionstring
editable_fieldboolean
optionalboolean
secretboolean

Forbidden

typestring
codestring
messagestring

Not Found

typestring
codestring
messagestring
Request
curl -X GET "https://api-sandbox.whitelabel.com/v1/connections/catalog/<provider_id>" \
  -H "PUBLIC-API-KEY: <PUBLIC-API-KEY>" \
  -H "PRIVATE-SECRET-KEY: <PRIVATE-SECRET-KEY>"
Response
{
  "payment_method_type": [
    "CARD",
    "GOOGLE_PAY",
    "APPLE_PAY",
    "ACH",
    "KLARNA_PAY_NOW",
    "KLARNA_PAY_LATER",
    "IDEAL",
    "GIROPAY",
    "BANCONTACT",
    "SEPA_DEBIT"
  ],
  "params": [
    {
      "param_id": "API_KEY",
      "field_type": "string",
      "description": "Stripe Secret API Key",
      "editable_field": true,
      "optional": false,
      "secret": true
    }
  ]
}