operator-ops

Operator console: review queues (customers, payments, recipients, incoming), journal and manual postings, reconciliation, reports, dashboards, staff, impersonation and audit log.

Markdown version: operator-ops.md

Audit log search

GET /v1/audit-events

Operator staff: all events in the operator. Customer owners/admins: events for their own users only (FR-REP-03).

Free-text search (scalability audit X-33): with q, the search runs over a date window of at most 92 days: filter[from] / filter[to] bound it; when neither is sent the window is the last 30 days, when only one is sent the other end is 30 days from it, and a wider window returns 400 bad-request (errors[].field query.filter[from]). Filters without q are not bounded.

API key scopes: audit: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
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.

X-Access-Reasonheaderstring

Optional: recorded in the audit log when sent. Platform users are not asked for a reason (D-94); every platform action on an operator is audited with the actor, role and operation.

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).

qquerystring

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

Responses

  • 200 OK application/json

    Schema AuditEventPage

    Cursor-paginated list of AuditEvent.

  • 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/audit-events" \
  -H "Authorization: Bearer $WIREBLOOM_API_KEY" \
  -H "X-Tenant-Id: $WIREBLOOM_CUSTOMER_ID"

Get audit event

GET /v1/audit-events/{auditEventId}

API key scopes: audit: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
auditEventIdrequiredpathUuid

Identifier (auditEventId).

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.

X-Access-Reasonheaderstring

Optional: recorded in the audit log when sent. Platform users are not asked for a reason (D-94); every platform action on an operator is audited with the actor, role and operation.

Responses

  • 200 OK application/json

    Schema AuditEvent

    Append-only audit event (7-year retention, hash-chained). Sensitive fields in before/after are redacted.

    • id Uuidrequiredread-only

      Fields of id
    • at Timestamprequired

    • operatorId Uuid | null

    • customerId Uuid | null

    • actorType AuditActorTyperequired

    • actorId Uuid | null

    • actorName string | null

    • impersonatorId Uuid | null

    • action stringrequired

    • resourceType stringrequired

    • resourceId string | null

      Resource identifier (usually a UUID; other forms such as POST /v1/payments for HTTP operations).

    • before object | null

      Fields of before

      object | null

    • after object | null

      Fields of after

      object | null

    • requestId string | null

    • ip string | null

    • userAgent string | null

    • reason string | null

  • 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/audit-events/{auditEventId}" \
  -H "Authorization: Bearer $WIREBLOOM_API_KEY" \
  -H "X-Tenant-Id: $WIREBLOOM_CUSTOMER_ID"

Export audit events (CSV)

POST /v1/audit-events/exports

CSV of the caller's scope (operator, or the customer's own events) with the chain sequence and hash of sealed events; up to 50 000 rows; 90-day retention; audited audit.exported.

API key scopes: audit: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
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.

Request body

Required. application/json

Schema AuditExportRequest

  • format string

    One of: "csv"

    default "csv"

  • from Timestamprequired

  • to Timestamprequired

  • action string | null

    Action prefix.

    max length 100

  • actorId Uuid | null

  • customerId Uuid | null

  • resourceType string | null

    max length 100

Responses

  • 202 Accepted application/json

    Schema Job

    Asynchronous job (exports, reports). Poll GET /jobs/{jobId}.

    • id Uuidrequiredread-only

      Fields of id
    • kind stringrequired

      One of: "export", "statement", "report", "bulk_validation", "billing_run", "reconciliation", "replay"

    • status stringrequired

      One of: "queued", "running", "succeeded", "failed", "cancelled"

    • progress integer

      min 0 · max 100

    • resultUrl string | null (uri)

      Pre-signed download URL (valid 15 minutes) when status=succeeded.

    • error Problem | null

    • createdAt Timestamprequiredread-only

      Fields of createdAt
    • finishedAt Timestamp | null

  • 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/audit-events/exports" \
  -H "Authorization: Bearer $WIREBLOOM_API_KEY" \
  -H "X-Tenant-Id: $WIREBLOOM_CUSTOMER_ID" \
  -H "Content-Type: application/json" \
  --data '{
  "from": "2026-09-23T10:15:30Z",
  "to": "2026-09-23T10:15:30Z"
}'