Operator account and staff management

Operator profile, staff and staff roles, operator and customer limits, fees and pricing by operator key; branding and settings read.

An operator key can manage most of the operator account from the operator's own tooling: the same changes staff make in Settings, Staff and Pricing of the operator console, except the controls that must stay with a signed-in owner. Every call sends X-Tenant-Id = the operator id.

export WIREBLOOM_API_URL=https://api.staging.banking.wirebloom.com/v1
export WIREBLOOM_OPERATOR_ID=<your operator id>
auth=(-H "Authorization: Bearer $WIREBLOOM_API_KEY" -H "X-Tenant-Id: $WIREBLOOM_OPERATOR_ID")
json=(-H "Content-Type: application/json")

Step-up and keys. In the console these changes need a fresh step-up verification. A key holding the scope calls them without one, because the key itself was issued by a stepped-up owner session; limits, validation and approval tiers apply to keys exactly as to sessions, and every change is audited with the key id.

Owners hear about control changes. Every change by key to operator or customer limits, customer pricing, the fee catalogue or pricing templates emails every operator owner, naming the control, the customer or item, the key name and prefix, with a link to the screen.

Concurrency. Profile, limits and pricing are versioned: read first, then send If-Match with the ETag (428 without it, 412 when someone changed it in between).

Profile, branding and settings

Scopes: operator:read, operator:write.

etag=$(curl -s -D - -o /dev/null "$WIREBLOOM_API_URL/operators/$WIREBLOOM_OPERATOR_ID" "${auth[@]}" \
  | awk -F': ' 'tolower($1)=="etag" {print $2}' | tr -d '\r')
curl -X PATCH "$WIREBLOOM_API_URL/operators/$WIREBLOOM_OPERATOR_ID" "${auth[@]}" "${json[@]}" \
  -H "If-Match: $etag" \
  -d '{ "timezone": "Europe/London" }'

Staff decisions stay in the console: branding, sensitive operator settings, domain changes and verification, receiving details changes (they decide where customers send money) and the developer programme. A key reads them but cannot change them.

Staff and staff roles

Scopes: staff:read, staff:write.

List staff (listStaff), read one (getStaffMember), and read the roles (listStaffRoles, getRoleMatrix). Invite a member with inviteStaff:

curl -X POST "$WIREBLOOM_API_URL/ops/staff" "${auth[@]}" "${json[@]}" \
  -d '{ "email": "[email protected]", "firstName": "Sam", "lastName": "Reid", "role": "op_readonly" }'

Change a role with updateStaffMember, deactivate or reactivate with deactivateStaffMember and reactivateStaffMember, resend an invitation with resendStaffInvitation. Custom roles: createStaffRole, updateStaffRole.

The guard on staff changes by key:

  • The target role must be below owner and admin rank and must not be able to approve, release or decide: no staff management, operator settings, API keys or webhooks, and no capability ending in .approve, .decide or .release. Otherwise 422 role_not_allowed_for_key. A leaked key therefore cannot invite its own approver.
  • Invitations go only to the operator's key invitation domains (422 invitation_domains_required without a list, domain_not_approved outside it).
  • Invites and invitation resends by key are limited to 10 a minute per key (429 above).
  • Every invite, role change, deactivation and reactivation by key emails every operator owner with the key name and prefix, the action and the person concerned.

Staff decisions stay in the console: the role capability matrix is changed there only.

Limits and monitoring rules

curl -X PUT "$WIREBLOOM_API_URL/customers/<customer id>/limits" "${auth[@]}" "${json[@]}" \
  -H "If-Match: <etag>" \
  -d '{ "limits": { "perTransaction": { "amountMinor": "5000000", "currency": "GBP" },
                    "daily": { "amountMinor": "20000000", "currency": "GBP" } } }'

Limits are expressed in the operator's default currency unless per-currency overrides exist.

Fees and pricing

Scopes: pricing:read, pricing:write, customers:manage.

Session-only: running billing, retrying runs, settlements and fee-charge actions (they move money).

Support and status

The scope catalogue lists every operation per scope.

Markdown version: operator-account-management.md