tenants (operator)

Operators, customers, people (memberships), invitations, teams and customer settings (currencies, addresses, alerts, approved domains, approval policies, primary owner, closure).

Markdown version: tenants.md

List customers (operator)

GET /v1/customers

API key scope: customers:read (operator-level keys only, X-Tenant-Id = the operator id).

Metadata filter: filter[metadata.<key>]=<value> (exact match; at most 5; AND).

Batch look-up (P12-T07): filter[id]=<id>,<id>,… (at most 100) returns those rows only, e.g. to resolve names shown next to ids; combine with limit ≥ the number of ids.

Parameters

NameInTypeDescription
X-Tenant-IdrequiredheaderUuid

Tenant context: the operator tenant id (staff operations) or customer tenant id (customer operations). Validated against the caller's memberships; mismatch → 403. For API keys it must equal the key's customer id (customer-level keys are bound to one customer) or, for operator-level keys (P9-T08b), the operator id.

X-Request-Idheaderstring

Client-supplied correlation id. Generated by the server when absent; always echoed in the response and in problem details.

cursorquerystring

Opaque cursor from page.nextCursor or page.prevCursor. Must be used with the same sort and filter as the request that produced it (400 invalid-cursor otherwise).

limitqueryinteger

Page size (max 100).

sortquerystring

Sort order; prefix - for descending. Cursor stability is guaranteed only for the default sort.

filterqueryobject

Filters as filter[field]=value. Multiple values for one field are comma-separated (OR); different fields combine with AND. Date ranges use filter[createdFrom]/filter[createdTo] (inclusive, RFC 3339 or date). P10-T03: filter[metadata.<key>]=<value> matches a metadata attribute exactly (key [A-Za-z0-9_-]{1,40}; at most 5 per request, AND-combined, one value each).

qquerystring

Free-text search (trigram; min 2 characters).

withTotalqueryboolean

Include page.total (may be slower). Computed on the first page only (a request without cursor); later pages omit page.total (scalability audit X-32).

Responses

  • 200 OK application/json

    Schema CustomerPage

    Cursor-paginated list of Customer.

  • 400 Malformed request: unparseable JSON, or an invalid header, path or query parameter (`errors[].field` is `header.X`, `path.x` or `query.x`). Body validation failures are 422 `validation-error`. application/problem+json

    Body Problem; see the error catalogue.

  • 401 Missing, expired or invalid credentials (`unauthenticated`, `session-expired` with `reason` `idle` / `revoked` / `expired`, `invalid-api-key`, `mfa-required`). application/problem+json

    Body Problem; see the error catalogue.

  • 403 Authenticated but not allowed: missing capability or scope, tenant not in memberships, `step-up-required`, IP not allow-listed, impersonation restriction. application/problem+json

    Body Problem; see the error catalogue.

  • 429 Rate limit exceeded. application/problem+json

    Body Problem; see the error catalogue.

  • default Unexpected error (`500 internal-error`, `501 not-implemented`, `502 provider-error`, `503 service-unavailable`, `504 provider-timeout`). Money operations that time out at the provider are never retried blindly; their state becomes `exception`/unknown and is reconciled. application/problem+json

    Body Problem; see the error catalogue.

Code samples

Against the sandbox (https://bank.wirebloom.com/v1).

curl -X GET "https://bank.wirebloom.com/v1/customers" \
  -H "Authorization: Bearer $WIREBLOOM_API_KEY" \
  -H "X-Tenant-Id: $WIREBLOOM_CUSTOMER_ID"

Create a customer (operator-initiated)

POST /v1/customers

Creates a draft customer. With primaryOwner a primary-owner invitation is emailed; without it (console sessions only) no invitation is sent. Creates a draft customer and invites the primary owner. Self-registration uses /auth/register.

API key scope: customers:write (operator-level keys only, X-Tenant-Id = the operator id).

API keys (review W3-02): an operator key needs customers:write, the owner address must be on the operator settings' apiKeyInvitationDomains (422 invitation_domains_required / domain_not_approved before anything is written) and each key may create 10 customers a minute (429).

Parameters

NameInTypeDescription
X-Tenant-IdrequiredheaderUuid

Tenant context: the operator tenant id (staff operations) or customer tenant id (customer operations). Validated against the caller's memberships; mismatch → 403. For API keys it must equal the key's customer id (customer-level keys are bound to one customer) or, for operator-level keys (P9-T08b), the operator id.

X-Request-Idheaderstring

Client-supplied correlation id. Generated by the server when absent; always echoed in the response and in problem details.

Idempotency-Keyheaderstring

Optional idempotency key; same semantics as on money operations.

Request body

Required. application/json

Schema CustomerCreate

Send customerType (P10-T03); identityType is derived (corporate for businesses, individual otherwise) and may be omitted; when both are sent they must agree (422). For sole traders and individuals legalName is the person's full name and incorporationCountry the country of residence; an individual has no registration number. primaryOwner is optional for console sessions: the customer is then created as a draft without an invitation, and staff invite the owner later (POST /ops/customers/{customerId}/owner-invitation). API keys must still send it (422 with field /primaryOwner).

  • legalName stringrequired

    max length 200

  • tradingName string | null

    max length 200

  • identityType IdentityType

  • registrationNumber string | null

    max length 50

  • incorporationCountry CountryCoderequired

  • primaryOwner object

    Fields of primaryOwner
    • email Emailrequired

    • firstName stringrequired

    • lastName stringrequired

  • pricingTemplateId Uuid | null

  • customerType CustomerType

  • metadata Metadata

Responses

  • 201 Created application/json

    Schema Customer

  • 400 Malformed request: unparseable JSON, or an invalid header, path or query parameter (`errors[].field` is `header.X`, `path.x` or `query.x`). Body validation failures are 422 `validation-error`. application/problem+json

    Body Problem; see the error catalogue.

  • 401 Missing, expired or invalid credentials (`unauthenticated`, `session-expired` with `reason` `idle` / `revoked` / `expired`, `invalid-api-key`, `mfa-required`). application/problem+json

    Body Problem; see the error catalogue.

  • 403 Authenticated but not allowed: missing capability or scope, tenant not in memberships, `step-up-required`, IP not allow-listed, impersonation restriction. application/problem+json

    Body Problem; see the error catalogue.

  • 409 State conflict: `invalid-transition`, `duplicate-recipient`, `quote-expired`, `insufficient-funds`, `idempotency-key-in-use` (with Retry-After), `not-cancellable`. application/problem+json

    Body Problem; see the error catalogue.

  • 422 Semantically invalid request; `errors[]` lists field-level problems. Also `idempotency-key-reused` when the key was used with a different payload, `limit-exceeded`, `recipient-not-approved`. application/problem+json

    Body Problem; see the error catalogue.

  • 429 Rate limit exceeded. application/problem+json

    Body Problem; see the error catalogue.

  • default Unexpected error (`500 internal-error`, `501 not-implemented`, `502 provider-error`, `503 service-unavailable`, `504 provider-timeout`). Money operations that time out at the provider are never retried blindly; their state becomes `exception`/unknown and is reconciled. application/problem+json

    Body Problem; see the error catalogue.

Code samples

Against the sandbox (https://bank.wirebloom.com/v1).

curl -X POST "https://bank.wirebloom.com/v1/customers" \
  -H "Authorization: Bearer $WIREBLOOM_API_KEY" \
  -H "X-Tenant-Id: $WIREBLOOM_CUSTOMER_ID" \
  -H "Content-Type: application/json" \
  --data '{
  "legalName": "string",
  "incorporationCountry": "GB"
}'

Get customer

GET /v1/customers/{customerId}

X-Tenant-Id is the customer itself or its operator. customer.view is held by operator staff roles and by every customer role (own customer only).

API key scopes: customers:read or account:read (customer-level keys (X-Tenant-Id = the key's customer) and operator-level keys (X-Tenant-Id = the operator id), each with a scope of its own level).

Parameters

NameInTypeDescription
customerIdrequiredpathUuid

Identifier (customerId).

X-Tenant-IdrequiredheaderUuid

Tenant context: the operator tenant id (staff operations) or customer tenant id (customer operations). Validated against the caller's memberships; mismatch → 403. For API keys it must equal the key's customer id (customer-level keys are bound to one customer) or, for operator-level keys (P9-T08b), the operator id.

X-Request-Idheaderstring

Client-supplied correlation id. Generated by the server when absent; always echoed in the response and in problem details.

If-None-Matchheaderstring

Conditional GET; 304 when unchanged.

Responses

  • 200 OK application/json

    Schema Customer

  • 304 Not modified (`If-None-Match` matched).
  • 401 Missing, expired or invalid credentials (`unauthenticated`, `session-expired` with `reason` `idle` / `revoked` / `expired`, `invalid-api-key`, `mfa-required`). application/problem+json

    Body Problem; see the error catalogue.

  • 403 Authenticated but not allowed: missing capability or scope, tenant not in memberships, `step-up-required`, IP not allow-listed, impersonation restriction. application/problem+json

    Body Problem; see the error catalogue.

  • 404 Resource does not exist in this tenant (cross-tenant ids also return 404), or feature disabled (`feature-disabled`). application/problem+json

    Body Problem; see the error catalogue.

  • 429 Rate limit exceeded. application/problem+json

    Body Problem; see the error catalogue.

  • default Unexpected error (`500 internal-error`, `501 not-implemented`, `502 provider-error`, `503 service-unavailable`, `504 provider-timeout`). Money operations that time out at the provider are never retried blindly; their state becomes `exception`/unknown and is reconciled. application/problem+json

    Body Problem; see the error catalogue.

Code samples

Against the sandbox (https://bank.wirebloom.com/v1).

curl -X GET "https://bank.wirebloom.com/v1/customers/{customerId}" \
  -H "Authorization: Bearer $WIREBLOOM_API_KEY" \
  -H "X-Tenant-Id: $WIREBLOOM_CUSTOMER_ID"

Get operator

GET /v1/operators/{operatorId}

API key scopes: operator:read (operator-level keys only (X-Tenant-Id = the operator id)).

Parameters

NameInTypeDescription
operatorIdrequiredpathUuid

Identifier (operatorId).

X-Tenant-IdrequiredheaderUuid

Tenant context: the operator tenant id (staff operations) or customer tenant id (customer operations). Validated against the caller's memberships; mismatch → 403. For API keys it must equal the key's customer id (customer-level keys are bound to one customer) or, for operator-level keys (P9-T08b), the operator id.

X-Request-Idheaderstring

Client-supplied correlation id. Generated by the server when absent; always echoed in the response and in problem details.

If-None-Matchheaderstring

Conditional GET; 304 when unchanged.

Responses

  • 200 OK application/json

    Schema Operator

    • id Uuidrequiredread-only

      Fields of id
    • slug stringrequired

      pattern ^[a-z0-9-]{2,40}$

    • name stringrequired

    • status OperatorStatusrequired

    • planId Uuid | nullrequired

    • country CountryCoderequired

    • timezone stringrequired

    • defaultCurrency CurrencyCoderequired

    • webDomain string | null

    • createdAt Timestamprequiredread-only

      Fields of createdAt
    • updatedAt Timestampread-only

      Fields of updatedAt
    • onboarding objectread-only

      Onboarding switches (read-only here: changed in the operator's own settings, a super admin switches into the operator).

      Fields of onboarding
  • 304 Not modified (`If-None-Match` matched).
  • 401 Missing, expired or invalid credentials (`unauthenticated`, `session-expired` with `reason` `idle` / `revoked` / `expired`, `invalid-api-key`, `mfa-required`). application/problem+json

    Body Problem; see the error catalogue.

  • 403 Authenticated but not allowed: missing capability or scope, tenant not in memberships, `step-up-required`, IP not allow-listed, impersonation restriction. application/problem+json

    Body Problem; see the error catalogue.

  • 404 Resource does not exist in this tenant (cross-tenant ids also return 404), or feature disabled (`feature-disabled`). application/problem+json

    Body Problem; see the error catalogue.

  • 429 Rate limit exceeded. application/problem+json

    Body Problem; see the error catalogue.

  • default Unexpected error (`500 internal-error`, `501 not-implemented`, `502 provider-error`, `503 service-unavailable`, `504 provider-timeout`). Money operations that time out at the provider are never retried blindly; their state becomes `exception`/unknown and is reconciled. application/problem+json

    Body Problem; see the error catalogue.

Code samples

Against the sandbox (https://bank.wirebloom.com/v1).

curl -X GET "https://bank.wirebloom.com/v1/operators/{operatorId}" \
  -H "Authorization: Bearer $WIREBLOOM_API_KEY" \
  -H "X-Tenant-Id: $WIREBLOOM_CUSTOMER_ID"

Update operator profile

PATCH /v1/operators/{operatorId}

Concurrency: If-Match with the current ETag is required (428 if absent, 412 if stale).

API key scopes: operator:write (operator-level keys only (X-Tenant-Id = the operator id)).

Step-up and API keys (P15-T01): API keys holding the scope call it without a step-up: the key was issued by a stepped-up session, and the route's limits, approval tiers and validation apply to keys exactly as to sessions (review W3-03).

Parameters

NameInTypeDescription
operatorIdrequiredpathUuid

Identifier (operatorId).

X-Tenant-IdrequiredheaderUuid

Tenant context: the operator tenant id (staff operations) or customer tenant id (customer operations). Validated against the caller's memberships; mismatch → 403. For API keys it must equal the key's customer id (customer-level keys are bound to one customer) or, for operator-level keys (P9-T08b), the operator id.

X-Request-Idheaderstring

Client-supplied correlation id. Generated by the server when absent; always echoed in the response and in problem details.

If-Matchrequiredheaderstring

ETag of the representation being modified (from a prior GET/PATCH).

Request body

Required. application/json

Schema OperatorUpdate

  • name string

    max length 200

  • timezone string

  • defaultCurrency CurrencyCode

Responses

  • 200 OK application/json

    Schema Operator

    • id Uuidrequiredread-only

      Fields of id
    • slug stringrequired

      pattern ^[a-z0-9-]{2,40}$

    • name stringrequired

    • status OperatorStatusrequired

    • planId Uuid | nullrequired

    • country CountryCoderequired

    • timezone stringrequired

    • defaultCurrency CurrencyCoderequired

    • webDomain string | null

    • createdAt Timestamprequiredread-only

      Fields of createdAt
    • updatedAt Timestampread-only

      Fields of updatedAt
    • onboarding objectread-only

      Onboarding switches (read-only here: changed in the operator's own settings, a super admin switches into the operator).

      Fields of onboarding
  • 400 Malformed request: unparseable JSON, or an invalid header, path or query parameter (`errors[].field` is `header.X`, `path.x` or `query.x`). Body validation failures are 422 `validation-error`. application/problem+json

    Body Problem; see the error catalogue.

  • 401 Missing, expired or invalid credentials (`unauthenticated`, `session-expired` with `reason` `idle` / `revoked` / `expired`, `invalid-api-key`, `mfa-required`). application/problem+json

    Body Problem; see the error catalogue.

  • 403 Authenticated but not allowed: missing capability or scope, tenant not in memberships, `step-up-required`, IP not allow-listed, impersonation restriction. application/problem+json

    Body Problem; see the error catalogue.

  • 404 Resource does not exist in this tenant (cross-tenant ids also return 404), or feature disabled (`feature-disabled`). application/problem+json

    Body Problem; see the error catalogue.

  • 409 State conflict: `invalid-transition`, `duplicate-recipient`, `quote-expired`, `insufficient-funds`, `idempotency-key-in-use` (with Retry-After), `not-cancellable`. application/problem+json

    Body Problem; see the error catalogue.

  • 412 `If-Match` does not match the current ETag (resource changed). application/problem+json

    Body Problem; see the error catalogue.

  • 422 Semantically invalid request; `errors[]` lists field-level problems. Also `idempotency-key-reused` when the key was used with a different payload, `limit-exceeded`, `recipient-not-approved`. application/problem+json

    Body Problem; see the error catalogue.

  • 428 `If-Match` header is required for this operation. application/problem+json

    Body Problem; see the error catalogue.

  • 429 Rate limit exceeded. application/problem+json

    Body Problem; see the error catalogue.

  • default Unexpected error (`500 internal-error`, `501 not-implemented`, `502 provider-error`, `503 service-unavailable`, `504 provider-timeout`). Money operations that time out at the provider are never retried blindly; their state becomes `exception`/unknown and is reconciled. application/problem+json

    Body Problem; see the error catalogue.

Code samples

Against the sandbox (https://bank.wirebloom.com/v1).

curl -X PATCH "https://bank.wirebloom.com/v1/operators/{operatorId}" \
  -H "Authorization: Bearer $WIREBLOOM_API_KEY" \
  -H "X-Tenant-Id: $WIREBLOOM_CUSTOMER_ID" \
  -H "If-Match: \"<etag>\"" \
  -H "Content-Type: application/json" \
  --data '{}'

Get operator branding

GET /v1/operators/{operatorId}/branding

API key scopes: operator:read (operator-level keys only (X-Tenant-Id = the operator id)).

Parameters

NameInTypeDescription
operatorIdrequiredpathUuid

Identifier (operatorId).

X-Tenant-IdrequiredheaderUuid

Tenant context: the operator tenant id (staff operations) or customer tenant id (customer operations). Validated against the caller's memberships; mismatch → 403. For API keys it must equal the key's customer id (customer-level keys are bound to one customer) or, for operator-level keys (P9-T08b), the operator id.

X-Request-Idheaderstring

Client-supplied correlation id. Generated by the server when absent; always echoed in the response and in problem details.

If-None-Matchheaderstring

Conditional GET; 304 when unchanged.

Responses

  • 200 OK application/json

    Schema Branding

    • operatorId Uuidrequired

    • name stringrequired

    • logoUrl string | null (uri)

    • logoDarkUrl string | null (uri)

    • colors objectrequired

      Brand colours; these keys are the target of the seeded operators.branding mapping (N39).

      Fields of colors
      • primary string

        pattern ^#[0-9A-Fa-f]{6}$

      • primaryText string

        pattern ^#[0-9A-Fa-f]{6}$

      • sidebar string

        pattern ^#[0-9A-Fa-f]{6}$

      • sidebarActive string

        pattern ^#[0-9A-Fa-f]{6}$

    • supportUrl string | null (uri)

    • supportEmail Email | null

    • legalUrls object

      Fields of legalUrls
      • terms string | null (uri)

      • privacy string | null (uri)

      • regulatory string | null

    • slug string | null

      The operator's slug (developer sign-up ?operator=<slug>, P9-T09); null for the default WireBloom brand.

      pattern ^[a-z0-9]([a-z0-9-]{0,62}[a-z0-9])?$

    • registration object

      Fields of registration
      • enabled booleanrequired

        Self-registration link shown on the login page (an active operator with a web domain).

      • approval ApprovalModerequired

      • emailVerification EmailVerificationModerequired

    • senderDomain string | null

    • senderVerifiedAt Timestamp | null

    • webDomain string | null

    • logoDocumentId Uuid | null

    • logoDarkDocumentId Uuid | null

    • emailFromName string | null

      Display name in the From header of operator emails (falls back to the brand name).

    • updatedAt Timestampread-only

      Fields of updatedAt
  • 304 Not modified (`If-None-Match` matched).
  • 401 Missing, expired or invalid credentials (`unauthenticated`, `session-expired` with `reason` `idle` / `revoked` / `expired`, `invalid-api-key`, `mfa-required`). application/problem+json

    Body Problem; see the error catalogue.

  • 403 Authenticated but not allowed: missing capability or scope, tenant not in memberships, `step-up-required`, IP not allow-listed, impersonation restriction. application/problem+json

    Body Problem; see the error catalogue.

  • 404 Resource does not exist in this tenant (cross-tenant ids also return 404), or feature disabled (`feature-disabled`). application/problem+json

    Body Problem; see the error catalogue.

  • 429 Rate limit exceeded. application/problem+json

    Body Problem; see the error catalogue.

  • default Unexpected error (`500 internal-error`, `501 not-implemented`, `502 provider-error`, `503 service-unavailable`, `504 provider-timeout`). Money operations that time out at the provider are never retried blindly; their state becomes `exception`/unknown and is reconciled. application/problem+json

    Body Problem; see the error catalogue.

Code samples

Against the sandbox (https://bank.wirebloom.com/v1).

curl -X GET "https://bank.wirebloom.com/v1/operators/{operatorId}/branding" \
  -H "Authorization: Bearer $WIREBLOOM_API_KEY" \
  -H "X-Tenant-Id: $WIREBLOOM_CUSTOMER_ID"

List web and sender domains

GET /v1/operators/{operatorId}/domains

API key scopes: operator:read (operator-level keys only (X-Tenant-Id = the operator id)).

Parameters

NameInTypeDescription
operatorIdrequiredpathUuid

Identifier (operatorId).

X-Tenant-IdrequiredheaderUuid

Tenant context: the operator tenant id (staff operations) or customer tenant id (customer operations). Validated against the caller's memberships; mismatch → 403. For API keys it must equal the key's customer id (customer-level keys are bound to one customer) or, for operator-level keys (P9-T08b), the operator id.

X-Request-Idheaderstring

Client-supplied correlation id. Generated by the server when absent; always echoed in the response and in problem details.

purposequerystring

Only this purpose.

Responses

  • 200 OK application/json

    Schema OperatorDomainList

  • 400 Malformed request: unparseable JSON, or an invalid header, path or query parameter (`errors[].field` is `header.X`, `path.x` or `query.x`). Body validation failures are 422 `validation-error`. application/problem+json

    Body Problem; see the error catalogue.

  • 401 Missing, expired or invalid credentials (`unauthenticated`, `session-expired` with `reason` `idle` / `revoked` / `expired`, `invalid-api-key`, `mfa-required`). application/problem+json

    Body Problem; see the error catalogue.

  • 403 Authenticated but not allowed: missing capability or scope, tenant not in memberships, `step-up-required`, IP not allow-listed, impersonation restriction. application/problem+json

    Body Problem; see the error catalogue.

  • 404 Resource does not exist in this tenant (cross-tenant ids also return 404), or feature disabled (`feature-disabled`). application/problem+json

    Body Problem; see the error catalogue.

  • 429 Rate limit exceeded. application/problem+json

    Body Problem; see the error catalogue.

  • default Unexpected error (`500 internal-error`, `501 not-implemented`, `502 provider-error`, `503 service-unavailable`, `504 provider-timeout`). Money operations that time out at the provider are never retried blindly; their state becomes `exception`/unknown and is reconciled. application/problem+json

    Body Problem; see the error catalogue.

Code samples

Against the sandbox (https://bank.wirebloom.com/v1).

curl -X GET "https://bank.wirebloom.com/v1/operators/{operatorId}/domains" \
  -H "Authorization: Bearer $WIREBLOOM_API_KEY" \
  -H "X-Tenant-Id: $WIREBLOOM_CUSTOMER_ID"

Get a domain

GET /v1/operators/{operatorId}/domains/{domainId}

API key scopes: operator:read (operator-level keys only (X-Tenant-Id = the operator id)).

Parameters

NameInTypeDescription
operatorIdrequiredpathUuid

Identifier (operatorId).

domainIdrequiredpathUuid

Identifier (domainId).

X-Tenant-IdrequiredheaderUuid

Tenant context: the operator tenant id (staff operations) or customer tenant id (customer operations). Validated against the caller's memberships; mismatch → 403. For API keys it must equal the key's customer id (customer-level keys are bound to one customer) or, for operator-level keys (P9-T08b), the operator id.

X-Request-Idheaderstring

Client-supplied correlation id. Generated by the server when absent; always echoed in the response and in problem details.

Responses

  • 200 OK application/json

    Schema OperatorDomain

    • id Uuidrequiredread-only

      Fields of id
    • operatorId Uuidrequiredread-only

      Fields of operatorId
    • purpose stringrequired

      web: custom web host (DNS TXT); email: sender domain (email provider DKIM/SPF).

      One of: "web", "email"

    • domain stringrequired

    • status stringrequired

      One of: "pending", "verified", "failed"

    • primary booleanrequired

      The operator's primary domain of this purpose (effective once verified).

    • records array of DnsRecordrequired

      DNS records to publish.

    • verifiedAt Timestamp | nullrequired

    • lastCheckedAt Timestamp | nullrequired

    • nextCheckAt Timestamp | nullrequired

    • lastError string | nullrequired

    • createdAt Timestamprequiredread-only

      Fields of createdAt
    • updatedAt Timestamprequiredread-only

      Fields of updatedAt
  • 401 Missing, expired or invalid credentials (`unauthenticated`, `session-expired` with `reason` `idle` / `revoked` / `expired`, `invalid-api-key`, `mfa-required`). application/problem+json

    Body Problem; see the error catalogue.

  • 403 Authenticated but not allowed: missing capability or scope, tenant not in memberships, `step-up-required`, IP not allow-listed, impersonation restriction. application/problem+json

    Body Problem; see the error catalogue.

  • 404 Resource does not exist in this tenant (cross-tenant ids also return 404), or feature disabled (`feature-disabled`). application/problem+json

    Body Problem; see the error catalogue.

  • 429 Rate limit exceeded. application/problem+json

    Body Problem; see the error catalogue.

  • default Unexpected error (`500 internal-error`, `501 not-implemented`, `502 provider-error`, `503 service-unavailable`, `504 provider-timeout`). Money operations that time out at the provider are never retried blindly; their state becomes `exception`/unknown and is reconciled. application/problem+json

    Body Problem; see the error catalogue.

Code samples

Against the sandbox (https://bank.wirebloom.com/v1).

curl -X GET "https://bank.wirebloom.com/v1/operators/{operatorId}/domains/{domainId}" \
  -H "Authorization: Bearer $WIREBLOOM_API_KEY" \
  -H "X-Tenant-Id: $WIREBLOOM_CUSTOMER_ID"

Get operator settings

GET /v1/operators/{operatorId}/settings

API key scopes: operator:read (operator-level keys only (X-Tenant-Id = the operator id)).

Parameters

NameInTypeDescription
operatorIdrequiredpathUuid

Identifier (operatorId).

X-Tenant-IdrequiredheaderUuid

Tenant context: the operator tenant id (staff operations) or customer tenant id (customer operations). Validated against the caller's memberships; mismatch → 403. For API keys it must equal the key's customer id (customer-level keys are bound to one customer) or, for operator-level keys (P9-T08b), the operator id.

X-Request-Idheaderstring

Client-supplied correlation id. Generated by the server when absent; always echoed in the response and in problem details.

If-None-Matchheaderstring

Conditional GET; 304 when unchanged.

Responses

  • 200 OK application/json

    Schema OperatorSettings

    Operator settings. Default limits moved to GET/PUT /ops/limits (the former defaultLimits key is retired). Omitted optional sections keep their defaults.

    • recipients objectrequired

      Fields of recipients
      • approvalMode stringrequired

        D-14: customer approval tiers, operator staff queue, or no approval step. Unset settings read as operator.

        One of: "customer", "operator", "none"

        default "operator"

      • requireVerification boolean

        Approval needs a successful Confirmation/Verification of Payee where the routed connection offers it.

        default false

      • allowVerificationOverride boolean

        Users may proceed after a close/no match with a reason (FR-REC-02).

        default true

    • security objectrequired

      Fields of security
      • rememberDeviceDays integer

        min 0 · max 30

      • stepUpPaymentThreshold Money | null

      • sessionIdleMinutes integer

        min 5 · max 480

      • impersonationMoneyMovement boolean

        default false

    • approvedEmailDomains array of stringrequired

      Staff invitation domain allow-list.

    • currenciesOffered array of CurrencyCoderequired

    • onboarding object

      Fields of onboarding
    • defaultCustomerCurrencies array of CurrencyCode

      Currencies enabled for new customers (subset of currenciesOffered).

    • cutOffDisplay object

      Payment cut-off times shown to customers.

      Fields of cutOffDisplay
      • enabled booleanrequired

      • timezone string

        IANA time zone; defaults to the operator time zone.

    • supportHours object | null

      Support hours shown in the help entry points (FR-ADM-05).

      Fields of supportHours
      • timezone stringrequired

      • text stringrequired

        min length 1 · max length 200

    • payments OperatorPaymentSettings

    • exchange OperatorExchangeSettings

    • billing OperatorBillingSettings

    • updatedAt Timestampread-only

      Fields of updatedAt
    • apiKeyInvitationDomains array of string

      Email domains (subdomains included) on which a customer created with an operator API key (POST /customers, customers:write) may invite its primary owner. Empty or absent: API keys cannot create customers (422 invitation_domains_required); sessions are not restricted by this list. Omitted on a PUT: the stored list stays (review W3-02).

    • registration object

      Registration approval override; omitted = inherit.

      Fields of registration
    • receiving object

      Receiving details settings; omitted = prefix WB.

      Fields of receiving
      • referencePrefix stringrequired

        Prefix of customer payment references (<prefix>-<customer number>).

        pattern ^[A-Z0-9]{2,6}$ · default "WB"

    • notifications object

      Invitation delivery (omitted = email). A change needs a fresh mfa.change step-up (403 step-up-required otherwise) and is audited in tenancy.operator.settings_replaced with before/after.invitationDelivery.

      Fields of notifications
    • operations OperatorOperationsSettings

  • 304 Not modified (`If-None-Match` matched).
  • 401 Missing, expired or invalid credentials (`unauthenticated`, `session-expired` with `reason` `idle` / `revoked` / `expired`, `invalid-api-key`, `mfa-required`). application/problem+json

    Body Problem; see the error catalogue.

  • 403 Authenticated but not allowed: missing capability or scope, tenant not in memberships, `step-up-required`, IP not allow-listed, impersonation restriction. application/problem+json

    Body Problem; see the error catalogue.

  • 404 Resource does not exist in this tenant (cross-tenant ids also return 404), or feature disabled (`feature-disabled`). application/problem+json

    Body Problem; see the error catalogue.

  • 429 Rate limit exceeded. application/problem+json

    Body Problem; see the error catalogue.

  • default Unexpected error (`500 internal-error`, `501 not-implemented`, `502 provider-error`, `503 service-unavailable`, `504 provider-timeout`). Money operations that time out at the provider are never retried blindly; their state becomes `exception`/unknown and is reconciled. application/problem+json

    Body Problem; see the error catalogue.

Code samples

Against the sandbox (https://bank.wirebloom.com/v1).

curl -X GET "https://bank.wirebloom.com/v1/operators/{operatorId}/settings" \
  -H "Authorization: Bearer $WIREBLOOM_API_KEY" \
  -H "X-Tenant-Id: $WIREBLOOM_CUSTOMER_ID"