limits
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()My limits and usage (customer)
GET /v1/limits
- getOwnLimits
- Customer key
- API key scope account:read
- Tenant customer
API key scopes: account:read (customer-level keys (X-Tenant-Id = the key's customer)).
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/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+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/limits" \
-H "Authorization: Bearer $WIREBLOOM_API_KEY" \
-H "X-Tenant-Id: $WIREBLOOM_CUSTOMER_ID"const response = await fetch("https://bank.wirebloom.com/v1/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/limits",
headers={
"Authorization": f"Bearer {os.environ['WIREBLOOM_API_KEY']}",
"X-Tenant-Id": os.environ["WIREBLOOM_CUSTOMER_ID"],
},
timeout=30,
)
response.raise_for_status()