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.
- Read the profile (getOperator), branding (getOperatorBranding), settings (getOperatorSettings), domains (listOperatorDomains) and receiving details (listOperatorReceivingDetails).
- Change the name, time zone or default currency with updateOperator.
- Branding is read only by key: it carries the sign-in and sender domains and the support contacts every customer sees, so it is changed in the console.
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,.decideor.release. Otherwise422role_not_allowed_for_key. A leaked key therefore cannot invite its own approver. - Invitations go only to the operator's key invitation domains (
422invitation_domains_requiredwithout a list,domain_not_approvedoutside it). - Invites and invitation resends by key are limited to 10 a minute per key (
429above). - 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
- Operator-wide limits: getOperatorLimits (
operator:read) and replaceOperatorLimits (operator:write).effectiveFromschedules a change. - Monitoring rules: read with listMonitoringRules. They are a compliance control, changed in the console only.
- Per customer: getCustomerLimits and replaceCustomerLimits (
customers:manage):
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.
- The fee catalogue: listFeeCatalogue, createFeeCatalogueItem, updateFeeCatalogueItem.
- Pricing templates: listPricingTemplates, createPricingTemplate, replacePricingTemplate.
- A customer's pricing: getCustomerPricing, replaceCustomerPricing (a template plus overrides,
effectiveFrom). - Billing: read runs and items (listBillingRuns, listBillingItems) and compute a preview with createBillingRunPreview. The preview answers with a job (kind
billing_run): poll it with getJob, using the same key (the scope that created the job also polls it), and download the result fromresultUrlonce it hassucceeded.
Session-only: running billing, retrying runs, settlements and fee-charge actions (they move money).
Support and status
- Customer support requests and feedback: listSupportRequests, updateSupportRequest, listFeedback (
support:manage). - The operator status page: listOperatorIncidents, createOperatorIncident, updateOperatorIncident, overrideOperatorComponent (
status:manage).
The scope catalogue lists every operation per scope.