limits (operator)
Per-customer limits (per transaction, daily, monthly, velocity) with tolerance bands, and the limit exception queue.
Customer limits and usage
GET /v1/customers/{customerId}/limits
- getCustomerLimits
- Customer and operator keys
- API key scope account:read
- API key scope customers:manage
- Tenant any
API key scopes: account:read or customers:manage (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
| Name | In | Type | Description |
|---|---|---|---|
customerIdrequired | path | Uuid | Identifier (customerId). |
X-Tenant-Idrequired | header | Uuid | Tenant context: the operator tenant id (staff operations) or customer tenant id (customer operations). Validated against the caller's memberships; mismatch → |
X-Request-Id | header | string | Client-supplied correlation id. Generated by the server when absent; always echoed in the response and in problem details. |
If-None-Match | header | string | Conditional GET; |
Responses
200 OK
application/jsoncustomerIdUuidrequiredlimitsLimitSetrequiredinheritsDefaultsbooleanrequiredusageLimitUsageread-onlyupdatedAtTimestamp | nulleffectiveLimitsLimitSetread-onlyFields of effectiveLimits
perTransactionMoney | nulldailyMoney | nullmonthlyMoney | nulldailyCountinteger | nullvelocityPerHourinteger | nulltolerancePercentintegerAllowed overshoot before blocking; within the band the payment passes and raises an exception.
actionstringBeyond the tolerance band:
blockrefuses the payment (422 limit-exceeded),queueholds it for staff (on_hold).perCurrencyobjectOptional overrides keyed by ISO 4217 code with the same shape.
Fields of perCurrency
usageByCurrencyobjectread-onlyUsage per currency that has a limit, keyed by ISO 4217 code.
timeZonestringread-onlyOperator time zone the day and month are counted in.
scheduledarray of ScheduledLimitSetread-only
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+json403 Authenticated but not allowed: missing capability or scope, tenant not in memberships, `step-up-required`, IP not allow-listed, impersonation restriction.
application/problem+json404 Resource does not exist in this tenant (cross-tenant ids also return 404), or feature disabled (`feature-disabled`).
application/problem+json429 Rate limit exceeded.
application/problem+jsondefault 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
Code samples
curl -X GET "https://bank.wirebloom.com/v1/customers/{customerId}/limits" \
-H "Authorization: Bearer $WIREBLOOM_API_KEY" \
-H "X-Tenant-Id: $WIREBLOOM_CUSTOMER_ID"const response = await fetch("https://bank.wirebloom.com/v1/customers/{customerId}/limits", {
method: "GET",
headers: {
"Authorization": `Bearer ${process.env.WIREBLOOM_API_KEY}`,
"X-Tenant-Id": process.env.WIREBLOOM_CUSTOMER_ID!,
},
});
if (!response.ok) throw new Error(`${response.status} ${await response.text()}`);
const result = await response.json();import os
import requests
response = requests.request(
"GET",
"https://bank.wirebloom.com/v1/customers/{customerId}/limits",
headers={
"Authorization": f"Bearer {os.environ['WIREBLOOM_API_KEY']}",
"X-Tenant-Id": os.environ["WIREBLOOM_CUSTOMER_ID"],
},
timeout=30,
)
response.raise_for_status()Set customer limits
PUT /v1/customers/{customerId}/limits
- replaceCustomerLimits
- Operator key
- API key scope customers:manage
- Tenant operator
effectiveFrom (default now, not in the past) schedules the change.
Concurrency: If-Match with the current ETag is required (428 if absent, 412 if stale).
API key scopes: customers:manage (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; every change made with a key is emailed to every operator owner (control_changed_by_api_key, locked category: what changed, the key name and prefix, a link to the screen) and audited with the key id. The route's validation applies to keys exactly as to sessions.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
customerIdrequired | path | Uuid | Identifier (customerId). |
X-Tenant-Idrequired | header | Uuid | Tenant context: the operator tenant id (staff operations) or customer tenant id (customer operations). Validated against the caller's memberships; mismatch → |
X-Request-Id | header | string | Client-supplied correlation id. Generated by the server when absent; always echoed in the response and in problem details. |
If-Matchrequired | header | string | ETag of the representation being modified (from a prior GET/PATCH). |
Request body
Responses
200 OK
application/jsoncustomerIdUuidrequiredlimitsLimitSetrequiredinheritsDefaultsbooleanrequiredusageLimitUsageread-onlyupdatedAtTimestamp | nulleffectiveLimitsLimitSetread-onlyFields of effectiveLimits
perTransactionMoney | nulldailyMoney | nullmonthlyMoney | nulldailyCountinteger | nullvelocityPerHourinteger | nulltolerancePercentintegerAllowed overshoot before blocking; within the band the payment passes and raises an exception.
actionstringBeyond the tolerance band:
blockrefuses the payment (422 limit-exceeded),queueholds it for staff (on_hold).perCurrencyobjectOptional overrides keyed by ISO 4217 code with the same shape.
Fields of perCurrency
usageByCurrencyobjectread-onlyUsage per currency that has a limit, keyed by ISO 4217 code.
timeZonestringread-onlyOperator time zone the day and month are counted in.
scheduledarray of ScheduledLimitSetread-only
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+json401 Missing, expired or invalid credentials (`unauthenticated`, `session-expired` with `reason` `idle` / `revoked` / `expired`, `invalid-api-key`, `mfa-required`).
application/problem+json403 Authenticated but not allowed: missing capability or scope, tenant not in memberships, `step-up-required`, IP not allow-listed, impersonation restriction.
application/problem+json404 Resource does not exist in this tenant (cross-tenant ids also return 404), or feature disabled (`feature-disabled`).
application/problem+json409 State conflict: `invalid-transition`, `duplicate-recipient`, `quote-expired`, `insufficient-funds`, `idempotency-key-in-use` (with Retry-After), `not-cancellable`.
application/problem+json412 `If-Match` does not match the current ETag (resource changed).
application/problem+json422 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+json428 `If-Match` header is required for this operation.
application/problem+json429 Rate limit exceeded.
application/problem+jsondefault 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
Code samples
curl -X PUT "https://bank.wirebloom.com/v1/customers/{customerId}/limits" \
-H "Authorization: Bearer $WIREBLOOM_API_KEY" \
-H "X-Tenant-Id: $WIREBLOOM_CUSTOMER_ID" \
-H "If-Match: \"<etag>\"" \
-H "Content-Type: application/json" \
--data '{
"limits": {}
}'const response = await fetch("https://bank.wirebloom.com/v1/customers/{customerId}/limits", {
method: "PUT",
headers: {
"Authorization": `Bearer ${process.env.WIREBLOOM_API_KEY}`,
"X-Tenant-Id": process.env.WIREBLOOM_CUSTOMER_ID!,
"If-Match": "\"<etag>\"",
"Content-Type": "application/json",
},
body: JSON.stringify({
"limits": {}
}),
});
if (!response.ok) throw new Error(`${response.status} ${await response.text()}`);
const result = await response.json();import os
import requests
response = requests.request(
"PUT",
"https://bank.wirebloom.com/v1/customers/{customerId}/limits",
headers={
"Authorization": f"Bearer {os.environ['WIREBLOOM_API_KEY']}",
"X-Tenant-Id": os.environ["WIREBLOOM_CUSTOMER_ID"],
"If-Match": "\"<etag>\"",
"Content-Type": "application/json",
},
json={
"limits": {}
},
timeout=30,
)
response.raise_for_status()Operator default limits
GET /v1/ops/limits
- getOperatorLimits
- Operator key
- API key scope operator:read
- Tenant operator
Replaces the retired OperatorSettings.defaultLimits.
API key scopes: operator:read (operator-level keys only (X-Tenant-Id = the operator id)).
Parameters
| Name | In | Type | Description |
|---|---|---|---|
X-Tenant-Idrequired | header | Uuid | Tenant context: the operator tenant id (staff operations) or customer tenant id (customer operations). Validated against the caller's memberships; mismatch → |
X-Request-Id | header | string | Client-supplied correlation id. Generated by the server when absent; always echoed in the response and in problem details. |
If-None-Match | header | string | Conditional GET; |
Responses
200 OK
application/jsonOperator default limit set (customers inherit it unless they have their own).
operatorIdUuidrequiredlimitsLimitSetrequiredreferenceCurrencyCurrencyCoderequiredscheduledarray of ScheduledLimitSetrequiredupdatedAtTimestamp | null
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+json403 Authenticated but not allowed: missing capability or scope, tenant not in memberships, `step-up-required`, IP not allow-listed, impersonation restriction.
application/problem+json429 Rate limit exceeded.
application/problem+jsondefault 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
Code samples
curl -X GET "https://bank.wirebloom.com/v1/ops/limits" \
-H "Authorization: Bearer $WIREBLOOM_API_KEY" \
-H "X-Tenant-Id: $WIREBLOOM_CUSTOMER_ID"const response = await fetch("https://bank.wirebloom.com/v1/ops/limits", {
method: "GET",
headers: {
"Authorization": `Bearer ${process.env.WIREBLOOM_API_KEY}`,
"X-Tenant-Id": process.env.WIREBLOOM_CUSTOMER_ID!,
},
});
if (!response.ok) throw new Error(`${response.status} ${await response.text()}`);
const result = await response.json();import os
import requests
response = requests.request(
"GET",
"https://bank.wirebloom.com/v1/ops/limits",
headers={
"Authorization": f"Bearer {os.environ['WIREBLOOM_API_KEY']}",
"X-Tenant-Id": os.environ["WIREBLOOM_CUSTOMER_ID"],
},
timeout=30,
)
response.raise_for_status()Set operator default limits
PUT /v1/ops/limits
- replaceOperatorLimits
- Operator key
- API key scope operator:write
- Tenant operator
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; every change made with a key is emailed to every operator owner (control_changed_by_api_key, locked category: what changed, the key name and prefix, a link to the screen) and audited with the key id. The route's validation applies to keys exactly as to sessions.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
X-Tenant-Idrequired | header | Uuid | Tenant context: the operator tenant id (staff operations) or customer tenant id (customer operations). Validated against the caller's memberships; mismatch → |
X-Request-Id | header | string | Client-supplied correlation id. Generated by the server when absent; always echoed in the response and in problem details. |
If-Matchrequired | header | string | ETag of the representation being modified (from a prior GET/PATCH). |
Request body
Responses
200 OK
application/jsonOperator default limit set (customers inherit it unless they have their own).
operatorIdUuidrequiredlimitsLimitSetrequiredreferenceCurrencyCurrencyCoderequiredscheduledarray of ScheduledLimitSetrequiredupdatedAtTimestamp | 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+json401 Missing, expired or invalid credentials (`unauthenticated`, `session-expired` with `reason` `idle` / `revoked` / `expired`, `invalid-api-key`, `mfa-required`).
application/problem+json403 Authenticated but not allowed: missing capability or scope, tenant not in memberships, `step-up-required`, IP not allow-listed, impersonation restriction.
application/problem+json409 State conflict: `invalid-transition`, `duplicate-recipient`, `quote-expired`, `insufficient-funds`, `idempotency-key-in-use` (with Retry-After), `not-cancellable`.
application/problem+json412 `If-Match` does not match the current ETag (resource changed).
application/problem+json422 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+json428 `If-Match` header is required for this operation.
application/problem+json429 Rate limit exceeded.
application/problem+jsondefault 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
Code samples
curl -X PUT "https://bank.wirebloom.com/v1/ops/limits" \
-H "Authorization: Bearer $WIREBLOOM_API_KEY" \
-H "X-Tenant-Id: $WIREBLOOM_CUSTOMER_ID" \
-H "If-Match: \"<etag>\"" \
-H "Content-Type: application/json" \
--data '{
"limits": {}
}'const response = await fetch("https://bank.wirebloom.com/v1/ops/limits", {
method: "PUT",
headers: {
"Authorization": `Bearer ${process.env.WIREBLOOM_API_KEY}`,
"X-Tenant-Id": process.env.WIREBLOOM_CUSTOMER_ID!,
"If-Match": "\"<etag>\"",
"Content-Type": "application/json",
},
body: JSON.stringify({
"limits": {}
}),
});
if (!response.ok) throw new Error(`${response.status} ${await response.text()}`);
const result = await response.json();import os
import requests
response = requests.request(
"PUT",
"https://bank.wirebloom.com/v1/ops/limits",
headers={
"Authorization": f"Bearer {os.environ['WIREBLOOM_API_KEY']}",
"X-Tenant-Id": os.environ["WIREBLOOM_CUSTOMER_ID"],
"If-Match": "\"<etag>\"",
"Content-Type": "application/json",
},
json={
"limits": {}
},
timeout=30,
)
response.raise_for_status()Monitoring alert queue
GET /v1/ops/monitoring-alerts
- listMonitoringAlerts
- Operator key
- API key scope compliance:read
- Tenant operator
API key scopes: compliance:read (operator-level keys only (X-Tenant-Id = the operator id)).
Parameters
| Name | In | Type | Description |
|---|---|---|---|
X-Tenant-Idrequired | header | Uuid | Tenant context: the operator tenant id (staff operations) or customer tenant id (customer operations). Validated against the caller's memberships; mismatch → |
X-Request-Id | header | string | Client-supplied correlation id. Generated by the server when absent; always echoed in the response and in problem details. |
cursor | query | string | Opaque cursor from |
limit | query | integer | Page size (max 100). |
sort | query | string | Sort order; prefix |
filter | query | object | Filters as |
withTotal | query | boolean | Include |
Responses
200 OK
application/jsonCursor-paginated list of MonitoringAlert.
dataarray of MonitoringAlertrequiredpagePageInforequired
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+json401 Missing, expired or invalid credentials (`unauthenticated`, `session-expired` with `reason` `idle` / `revoked` / `expired`, `invalid-api-key`, `mfa-required`).
application/problem+json403 Authenticated but not allowed: missing capability or scope, tenant not in memberships, `step-up-required`, IP not allow-listed, impersonation restriction.
application/problem+json429 Rate limit exceeded.
application/problem+jsondefault 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
Code samples
curl -X GET "https://bank.wirebloom.com/v1/ops/monitoring-alerts" \
-H "Authorization: Bearer $WIREBLOOM_API_KEY" \
-H "X-Tenant-Id: $WIREBLOOM_CUSTOMER_ID"const response = await fetch("https://bank.wirebloom.com/v1/ops/monitoring-alerts", {
method: "GET",
headers: {
"Authorization": `Bearer ${process.env.WIREBLOOM_API_KEY}`,
"X-Tenant-Id": process.env.WIREBLOOM_CUSTOMER_ID!,
},
});
if (!response.ok) throw new Error(`${response.status} ${await response.text()}`);
const result = await response.json();import os
import requests
response = requests.request(
"GET",
"https://bank.wirebloom.com/v1/ops/monitoring-alerts",
headers={
"Authorization": f"Bearer {os.environ['WIREBLOOM_API_KEY']}",
"X-Tenant-Id": os.environ["WIREBLOOM_CUSTOMER_ID"],
},
timeout=30,
)
response.raise_for_status()Get monitoring alert
GET /v1/ops/monitoring-alerts/{alertId}
- getMonitoringAlert
- Operator key
- API key scope compliance:read
- Tenant operator
API key scopes: compliance:read (operator-level keys only (X-Tenant-Id = the operator id)).
Parameters
| Name | In | Type | Description |
|---|---|---|---|
alertIdrequired | path | Uuid | Identifier (alertId). |
X-Tenant-Idrequired | header | Uuid | Tenant context: the operator tenant id (staff operations) or customer tenant id (customer operations). Validated against the caller's memberships; mismatch → |
X-Request-Id | header | string | Client-supplied correlation id. Generated by the server when absent; always echoed in the response and in problem details. |
Responses
200 OK
application/jsonTransaction-monitoring alert (FR-OPS-01).
idUuidrequiredread-onlyFields of id
kindstringrequiredruleMonitoringRuleKindrequiredcustomerIdUuidrequiredcustomerNamestringread-onlyCustomer legal name (display).
subjectobjectrequiredFields of subject
typestringrequiredidUuidrequired
severitystringrequiredsummarystringrequireddetailsobjectrequiredFields of details
statusstringrequiredresolutionstring | nullcommentstring | nullresolvedByUuid | nullresolvedAtTimestamp | nullrescreenRequestedAtTimestamp | nullcreatedAtTimestamprequiredread-onlyFields of createdAt
canDecidebooleanread-onlyThe caller may decide this item now (open, and the caller's role holds the deciding capability). Clients show decision buttons only when true; the API still checks on the decision route.
actionstringhold(P10-T02): an open alert of this rule holds its payment in the pre-submission compliance gate until a compliance decision;alertonly queues it.holdIdstring | null (uuid)The compliance hold this alert opened or joined (decide it at
/ops/compliance/holds/{holdId}).suppressionIdstring | null (uuid)The suppression that dismissed the alert on creation.
401 Missing, expired or invalid credentials (`unauthenticated`, `session-expired` with `reason` `idle` / `revoked` / `expired`, `invalid-api-key`, `mfa-required`).
application/problem+json403 Authenticated but not allowed: missing capability or scope, tenant not in memberships, `step-up-required`, IP not allow-listed, impersonation restriction.
application/problem+json404 Resource does not exist in this tenant (cross-tenant ids also return 404), or feature disabled (`feature-disabled`).
application/problem+json429 Rate limit exceeded.
application/problem+jsondefault 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
Code samples
curl -X GET "https://bank.wirebloom.com/v1/ops/monitoring-alerts/{alertId}" \
-H "Authorization: Bearer $WIREBLOOM_API_KEY" \
-H "X-Tenant-Id: $WIREBLOOM_CUSTOMER_ID"const response = await fetch("https://bank.wirebloom.com/v1/ops/monitoring-alerts/{alertId}", {
method: "GET",
headers: {
"Authorization": `Bearer ${process.env.WIREBLOOM_API_KEY}`,
"X-Tenant-Id": process.env.WIREBLOOM_CUSTOMER_ID!,
},
});
if (!response.ok) throw new Error(`${response.status} ${await response.text()}`);
const result = await response.json();import os
import requests
response = requests.request(
"GET",
"https://bank.wirebloom.com/v1/ops/monitoring-alerts/{alertId}",
headers={
"Authorization": f"Bearer {os.environ['WIREBLOOM_API_KEY']}",
"X-Tenant-Id": os.environ["WIREBLOOM_CUSTOMER_ID"],
},
timeout=30,
)
response.raise_for_status()Transaction monitoring rules
GET /v1/ops/monitoring-rules
- listMonitoringRules
- Operator key
- API key scope operator:read
- Tenant operator
API key scopes: operator:read (operator-level keys only (X-Tenant-Id = the operator id)).
Parameters
| Name | In | Type | Description |
|---|---|---|---|
X-Tenant-Idrequired | header | Uuid | Tenant context: the operator tenant id (staff operations) or customer tenant id (customer operations). Validated against the caller's memberships; mismatch → |
X-Request-Id | header | string | Client-supplied correlation id. Generated by the server when absent; always echoed in the response and in problem details. |
Responses
200 OK
application/json401 Missing, expired or invalid credentials (`unauthenticated`, `session-expired` with `reason` `idle` / `revoked` / `expired`, `invalid-api-key`, `mfa-required`).
application/problem+json403 Authenticated but not allowed: missing capability or scope, tenant not in memberships, `step-up-required`, IP not allow-listed, impersonation restriction.
application/problem+json429 Rate limit exceeded.
application/problem+jsondefault 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
Code samples
curl -X GET "https://bank.wirebloom.com/v1/ops/monitoring-rules" \
-H "Authorization: Bearer $WIREBLOOM_API_KEY" \
-H "X-Tenant-Id: $WIREBLOOM_CUSTOMER_ID"const response = await fetch("https://bank.wirebloom.com/v1/ops/monitoring-rules", {
method: "GET",
headers: {
"Authorization": `Bearer ${process.env.WIREBLOOM_API_KEY}`,
"X-Tenant-Id": process.env.WIREBLOOM_CUSTOMER_ID!,
},
});
if (!response.ok) throw new Error(`${response.status} ${await response.text()}`);
const result = await response.json();import os
import requests
response = requests.request(
"GET",
"https://bank.wirebloom.com/v1/ops/monitoring-rules",
headers={
"Authorization": f"Bearer {os.environ['WIREBLOOM_API_KEY']}",
"X-Tenant-Id": os.environ["WIREBLOOM_CUSTOMER_ID"],
},
timeout=30,
)
response.raise_for_status()