Operator walkthrough

Five steps from an operator key to a live integration, the same checklist as API access → Walkthrough in the operator console.

This guide is the readable twin of API access → Walkthrough in the operator console. The console ticks each step off from the operator's live state and fills in the operator id; here you set the variables yourself:

export WIREBLOOM_API_URL=https://api.staging.banking.wirebloom.com/v1
export WIREBLOOM_OPERATOR_ID=<your operator id>
export WIREBLOOM_API_KEY=<the key from step 1, from your secrets manager>

Every call sends X-Tenant-Id = the operator id (Operator getting started).

1. Create a test key

An operator owner opens API access → Keys and creates an operator key. Creating a key needs a fresh step-up verification; the key is shown once.

  • Where the environment accepts test keys (staging with the sandbox enabled), choose environment test (wb_test_) with the scopes customers:read, customers:write, onboarding:read, integration:read and webhooks:manage.
  • Where it does not, create a live key (wb_live_) with read scopes only (customers:read, onboarding:read, integration:read) for steps 2 and 4, and add customers:write only when you are ready to onboard real customers. There is no dedicated operator sandbox tenant.

Done when an operator key that is not revoked exists (a test key, or a live key where the environment has no sandbox).

2. Make your first call

Read the Integration home (getIntegrationHome, scope integration:read): banking connections, key counts, 7-day usage and webhook health.

curl "$WIREBLOOM_API_URL/integration" \
  -H "Authorization: Bearer $WIREBLOOM_API_KEY" \
  -H "X-Tenant-Id: $WIREBLOOM_OPERATOR_ID"
import os, requests

r = requests.get(
    f"{os.environ['WIREBLOOM_API_URL']}/integration",
    headers={"Authorization": f"Bearer {os.environ['WIREBLOOM_API_KEY']}",
             "X-Tenant-Id": os.environ["WIREBLOOM_OPERATOR_ID"]},
)
r.raise_for_status()

Done when any request was made with a key of the operator in the last 7 days. API access → Usage shows it, and so does getOperatorApiUsage: per-key totals and a daily series, live for today and yesterday.

3. Do the core job

Onboard a customer from your system with createCustomer (scope customers:write). The customer starts as draft and the primary owner gets an invitation email that names the operator.

curl -X POST "$WIREBLOOM_API_URL/customers" \
  -H "Authorization: Bearer $WIREBLOOM_API_KEY" \
  -H "X-Tenant-Id: $WIREBLOOM_OPERATOR_ID" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{ "legalName": "Northwind Trading Ltd", "incorporationCountry": "GB",
        "customerType": "business",
        "primaryOwner": { "email": "[email protected]", "firstName": "Ada", "lastName": "Moss" } }'
const response = await fetch(`${process.env.WIREBLOOM_API_URL}/customers`, {
  method: 'POST',
  headers: {
    Authorization: `Bearer ${process.env.WIREBLOOM_API_KEY}`,
    'X-Tenant-Id': process.env.WIREBLOOM_OPERATOR_ID!,
    'Idempotency-Key': crypto.randomUUID(),
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    legalName: 'Northwind Trading Ltd',
    incorporationCountry: 'GB',
    customerType: 'business',
    primaryOwner: { email: '[email protected]', firstName: 'Ada', lastName: 'Moss' },
  }),
});

Before the first call works, an owner must list the e-mail domains keys may invite in the operator settings (apiKeyInvitationDomains): with no list the call is 422 invitation_domains_required, and an owner address outside it is 422 domain_not_approved. Each key may create 10 customers a minute (429 above). Details: Onboarding customers.

Done when the request log shows POST /v1/customers with a 2xx answer.

4. Receive webhooks

Register an operator endpoint (createIntegratorWebhook, scope webhooks:manage, X-Tenant-Id = the operator id). It receives the events of every customer of the operator plus the operator-only events such as customer.created and customer.status_changed:

curl -X POST "$WIREBLOOM_API_URL/integrator-webhooks" \
  -H "Authorization: Bearer $WIREBLOOM_API_KEY" \
  -H "X-Tenant-Id: $WIREBLOOM_OPERATOR_ID" \
  -H "Content-Type: application/json" \
  -d '{ "url": "https://crm.example.com/wirebloom/events",
        "events": ["customer.created", "customer.status_changed", "payment.status_changed"] }'

Keep the secret from the response (shown once) and send a test event with testIntegratorWebhook. See Operator webhooks.

Done when an active endpoint has a successful delivery.

5. Go live

Create a live operator key with an IP allow-list of your servers and only the scopes production needs, then point the base URL at production:

export WIREBLOOM_API_URL=https://api.banking.wirebloom.com/v1

Requests from other addresses get 403 ip-not-allowed. Register the production endpoint with the live key, rotate keys regularly and revoke the test key when you no longer need it.

Done when a live operator key with an IP allow-list exists.

Next

Markdown version: operator-walkthrough.md