tenants
Operators, customers, people (memberships), invitations, teams and customer settings (currencies, addresses, alerts, approved domains, approval policies, primary owner, closure).
Your complaints
GET /v1/complaints
- listComplaints
- 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. |
cursor | query | string | Opaque cursor from |
limit | query | integer | Page size (max 100). |
sort | query | string | Sort order; prefix |
Responses
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/complaints" \
-H "Authorization: Bearer $WIREBLOOM_API_KEY" \
-H "X-Tenant-Id: $WIREBLOOM_CUSTOMER_ID"const response = await fetch("https://bank.wirebloom.com/v1/complaints", {
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/complaints",
headers={
"Authorization": f"Bearer {os.environ['WIREBLOOM_API_KEY']}",
"X-Tenant-Id": os.environ["WIREBLOOM_CUSTOMER_ID"],
},
timeout=30,
)
response.raise_for_status()Submit a complaint
POST /v1/complaints
- submitComplaint
- Customer key
- API key scope account:write
- Tenant customer
Staff are notified (ops_complaint_received); the customer gets the acknowledgement (complaint_received) with the final-response deadline.
API key scopes: account:write (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. |
Idempotency-Key | header | string | Optional idempotency key; same semantics as on money operations. |
Request body
categorystringrequiredsummarystringrequireddescriptionstringrequiredchannelstring
Responses
200 OK
application/jsonA complaint of the customer. Deadlines are business days from the operator settings (defaults: acknowledge 3, final response 15, 35 when extended).
idUuidrequiredread-onlyFields of id
customerIdUuidrequiredreferencestringrequiredcategorystringrequiredchannelstringrequiredsummarystringrequireddescriptionstringrequiredstatusstringrequiredreceivedAtTimestamprequiredacknowledgeDueAtTimestamprequiredfinalResponseDueAtTimestamprequiredacknowledgedAtTimestamp | nullrequiredextendedAtTimestamp | nullrequiredfinalResponseAtTimestamp | nullrequiredfinalResponsestring | nullrequiredoutcomestring | nullrequiredombudsmanReferredAtTimestamp | nullrequiredclosedAtTimestamp | nullrequiredcreatedAtTimestamprequiredread-onlyFields of createdAt
updatedAtTimestamprequiredread-onlyFields of updatedAt
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+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+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 POST "https://bank.wirebloom.com/v1/complaints" \
-H "Authorization: Bearer $WIREBLOOM_API_KEY" \
-H "X-Tenant-Id: $WIREBLOOM_CUSTOMER_ID" \
-H "Content-Type: application/json" \
--data '{
"category": "payments",
"summary": "string",
"description": "string"
}'const response = await fetch("https://bank.wirebloom.com/v1/complaints", {
method: "POST",
headers: {
"Authorization": `Bearer ${process.env.WIREBLOOM_API_KEY}`,
"X-Tenant-Id": process.env.WIREBLOOM_CUSTOMER_ID!,
"Content-Type": "application/json",
},
body: JSON.stringify({
"category": "payments",
"summary": "string",
"description": "string"
}),
});
if (!response.ok) throw new Error(`${response.status} ${await response.text()}`);
const result = await response.json();import os
import requests
response = requests.request(
"POST",
"https://bank.wirebloom.com/v1/complaints",
headers={
"Authorization": f"Bearer {os.environ['WIREBLOOM_API_KEY']}",
"X-Tenant-Id": os.environ["WIREBLOOM_CUSTOMER_ID"],
"Content-Type": "application/json",
},
json={
"category": "payments",
"summary": "string",
"description": "string"
},
timeout=30,
)
response.raise_for_status()Your complaint
GET /v1/complaints/{complaintId}
- getComplaint
- 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 |
|---|---|---|---|
complaintIdrequired | path | Uuid | Identifier (complaintId). |
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/jsonA complaint of the customer. Deadlines are business days from the operator settings (defaults: acknowledge 3, final response 15, 35 when extended).
idUuidrequiredread-onlyFields of id
customerIdUuidrequiredreferencestringrequiredcategorystringrequiredchannelstringrequiredsummarystringrequireddescriptionstringrequiredstatusstringrequiredreceivedAtTimestamprequiredacknowledgeDueAtTimestamprequiredfinalResponseDueAtTimestamprequiredacknowledgedAtTimestamp | nullrequiredextendedAtTimestamp | nullrequiredfinalResponseAtTimestamp | nullrequiredfinalResponsestring | nullrequiredoutcomestring | nullrequiredombudsmanReferredAtTimestamp | nullrequiredclosedAtTimestamp | nullrequiredcreatedAtTimestamprequiredread-onlyFields of createdAt
updatedAtTimestamprequiredread-onlyFields of updatedAt
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/complaints/{complaintId}" \
-H "Authorization: Bearer $WIREBLOOM_API_KEY" \
-H "X-Tenant-Id: $WIREBLOOM_CUSTOMER_ID"const response = await fetch("https://bank.wirebloom.com/v1/complaints/{complaintId}", {
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/complaints/{complaintId}",
headers={
"Authorization": f"Bearer {os.environ['WIREBLOOM_API_KEY']}",
"X-Tenant-Id": os.environ["WIREBLOOM_CUSTOMER_ID"],
},
timeout=30,
)
response.raise_for_status()Get customer
GET /v1/customers/{customerId}
- getCustomer
- Customer and operator keys
- API key scope customers:read
- API key scope account:read
- Tenant any
X-Tenant-Id is the customer itself or its operator. customer.view is held by operator staff roles and by every customer role (own customer only).
API key scopes: customers:read or account: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
| 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/jsonidUuidrequiredread-onlyFields of id
operatorIdUuidrequiredread-onlyFields of operatorId
numberstringrequiredread-only8-digit display id, unique per operator.
legalNamestringrequiredtradingNamestring | nullidentityTypeIdentityTyperequiredregistrationNumberstring | nullincorporationCountryCountryCoderequiredincorporationDateDate | nullstatusCustomerStatusrequiredread-onlyFields of status
riskRiskRating | nullapprovedAtTimestamp | nullclosedAtTimestamp | nullcreatedAtTimestamprequiredread-onlyFields of createdAt
updatedAtTimestampread-onlyFields of updatedAt
customerTypeCustomerTypemetadataMetadataaccessStatusAccessStatusread-onlyFields of accessStatus
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}" \
-H "Authorization: Bearer $WIREBLOOM_API_KEY" \
-H "X-Tenant-Id: $WIREBLOOM_CUSTOMER_ID"const response = await fetch("https://bank.wirebloom.com/v1/customers/{customerId}", {
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}",
headers={
"Authorization": f"Bearer {os.environ['WIREBLOOM_API_KEY']}",
"X-Tenant-Id": os.environ["WIREBLOOM_CUSTOMER_ID"],
},
timeout=30,
)
response.raise_for_status()Update customer
PATCH /v1/customers/{customerId}
- updateCustomer
- Customer key
- API key scope account:write
- Tenant any
Customers may change tradingName (customer.settings). status and risk are operator decisions: they need operator staff with customer.decide (403 forbidden otherwise, also for customer members).
Concurrency: If-Match with the current ETag is required (428 if absent, 412 if stale).
API key scopes: account:write (customer-level keys (X-Tenant-Id = the key's customer)).
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
tradingNamestring | nullriskRiskRatingstatusstringOperator only; restricted transitions.
statusReasonstringmetadataMetadataPatch
Responses
200 OK
application/jsonidUuidrequiredread-onlyFields of id
operatorIdUuidrequiredread-onlyFields of operatorId
numberstringrequiredread-only8-digit display id, unique per operator.
legalNamestringrequiredtradingNamestring | nullidentityTypeIdentityTyperequiredregistrationNumberstring | nullincorporationCountryCountryCoderequiredincorporationDateDate | nullstatusCustomerStatusrequiredread-onlyFields of status
riskRiskRating | nullapprovedAtTimestamp | nullclosedAtTimestamp | nullcreatedAtTimestamprequiredread-onlyFields of createdAt
updatedAtTimestampread-onlyFields of updatedAt
customerTypeCustomerTypemetadataMetadataaccessStatusAccessStatusread-onlyFields of accessStatus
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 PATCH "https://bank.wirebloom.com/v1/customers/{customerId}" \
-H "Authorization: Bearer $WIREBLOOM_API_KEY" \
-H "X-Tenant-Id: $WIREBLOOM_CUSTOMER_ID" \
-H "If-Match: \"<etag>\"" \
-H "Content-Type: application/json" \
--data '{}'const response = await fetch("https://bank.wirebloom.com/v1/customers/{customerId}", {
method: "PATCH",
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({}),
});
if (!response.ok) throw new Error(`${response.status} ${await response.text()}`);
const result = await response.json();import os
import requests
response = requests.request(
"PATCH",
"https://bank.wirebloom.com/v1/customers/{customerId}",
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={},
timeout=30,
)
response.raise_for_status()Get closure status
GET /v1/customers/{customerId}/closure
- getCustomerClosure
- Customer key
- API key scope account:read
- Tenant any
API key scopes: account:read (customer-level keys (X-Tenant-Id = the key's customer)).
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. |
Responses
200 OK
application/jsonASSUMPTION: closure workflow not modelled in DATABASE.md;
withdrawToRecipientIdandrequestedCloseDateneed storage on the closure request (P4-T04).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}/closure" \
-H "Authorization: Bearer $WIREBLOOM_API_KEY" \
-H "X-Tenant-Id: $WIREBLOOM_CUSTOMER_ID"const response = await fetch("https://bank.wirebloom.com/v1/customers/{customerId}/closure", {
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}/closure",
headers={
"Authorization": f"Bearer {os.environ['WIREBLOOM_API_KEY']}",
"X-Tenant-Id": os.environ["WIREBLOOM_CUSTOMER_ID"],
},
timeout=30,
)
response.raise_for_status()List people
GET /v1/customers/{customerId}/people
- listPeople
- Customer key
- API key scope people:read
- Tenant any
API key scopes: people:read (customer-level keys (X-Tenant-Id = the key's customer)).
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. |
cursor | query | string | Opaque cursor from |
limit | query | integer | Page size (max 100). |
sort | query | string | Sort order; prefix |
filter | query | object | Filters as |
q | query | string | Free-text search (trigram; min 2 characters). |
Responses
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+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}/people" \
-H "Authorization: Bearer $WIREBLOOM_API_KEY" \
-H "X-Tenant-Id: $WIREBLOOM_CUSTOMER_ID"const response = await fetch("https://bank.wirebloom.com/v1/customers/{customerId}/people", {
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}/people",
headers={
"Authorization": f"Bearer {os.environ['WIREBLOOM_API_KEY']}",
"X-Tenant-Id": os.environ["WIREBLOOM_CUSTOMER_ID"],
},
timeout=30,
)
response.raise_for_status()Add a person (invite wizard)
POST /v1/customers/{customerId}/people
- invitePerson
- Customer key
- API key scope people:write
- Tenant customer
Invitee email domain must be in the approved domains list when configured. Returns the verification code once. With the operator setting notifications.invitationDelivery: manual no email is sent: delivery carries the accept link and the 6-digit code once (audited tenancy.person.invitation_link_revealed without the token or code); GET never returns them.
API key scopes: people:write (customer-level keys (X-Tenant-Id = the key's customer)).
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 the owners (member_changed_by_api_key, locked category) and audited with the key id. Keys may only invite or assign roles below owner/admin rank that cannot approve (422 role_not_allowed_for_key, D-99).
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. |
Idempotency-Key | header | string | Optional idempotency key; same semantics as on money operations. |
Request body
emailEmailrequiredfirstNamestringrequiredlastNamestringrequiredroleMembershipRolerequiredteamIdsarray of UuidjobTitlestring | nullemployeeNumberstring | nullworkPhonestring | nullsendNowboolean"Invite now": send the email immediately.
Responses
200 OK
application/jsonidUuidrequiredread-onlyFields of id
operatorIdUuidrequiredcustomerIdUuid | nullemailEmailrequiredfirstNamestring | nulllastNamestring | nullroleMembershipRolerequiredteamIdsarray of UuidstatusInvitationStatusrequiredinvitedBystring | null (uuid)requiredInviting user; null for system invitations (e.g. the primary owner of an operator-created customer when the inviter was removed).
expiresAtTimestamprequiredacceptedAtTimestamp | nullcreatedAtTimestamprequiredread-onlyFields of createdAt
verificationCodestring | nullrequired6-digit code shown once to the inviter to pass to the invitee out of band.
nullonly on anIdempotency-Keyreplay of amanualdelivery (the code is never stored).deliveryInvitationDeliveryrequired
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+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+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 POST "https://bank.wirebloom.com/v1/customers/{customerId}/people" \
-H "Authorization: Bearer $WIREBLOOM_API_KEY" \
-H "X-Tenant-Id: $WIREBLOOM_CUSTOMER_ID" \
-H "Content-Type: application/json" \
--data '{
"email": "[email protected]",
"firstName": "Sam",
"lastName": "Lee",
"role": "cust_admin",
"teamIds": [],
"sendNow": true
}'const response = await fetch("https://bank.wirebloom.com/v1/customers/{customerId}/people", {
method: "POST",
headers: {
"Authorization": `Bearer ${process.env.WIREBLOOM_API_KEY}`,
"X-Tenant-Id": process.env.WIREBLOOM_CUSTOMER_ID!,
"Content-Type": "application/json",
},
body: JSON.stringify({
"email": "[email protected]",
"firstName": "Sam",
"lastName": "Lee",
"role": "cust_admin",
"teamIds": [],
"sendNow": true
}),
});
if (!response.ok) throw new Error(`${response.status} ${await response.text()}`);
const result = await response.json();import os
import requests
response = requests.request(
"POST",
"https://bank.wirebloom.com/v1/customers/{customerId}/people",
headers={
"Authorization": f"Bearer {os.environ['WIREBLOOM_API_KEY']}",
"X-Tenant-Id": os.environ["WIREBLOOM_CUSTOMER_ID"],
"Content-Type": "application/json",
},
json={
"email": "[email protected]",
"firstName": "Sam",
"lastName": "Lee",
"role": "cust_admin",
"teamIds": [],
"sendNow": True
},
timeout=30,
)
response.raise_for_status()Get a person
GET /v1/customers/{customerId}/people/{membershipId}
- getPerson
- Customer key
- API key scope people:read
- Tenant any
API key scopes: people:read (customer-level keys (X-Tenant-Id = the key's customer)).
Parameters
| Name | In | Type | Description |
|---|---|---|---|
customerIdrequired | path | Uuid | Identifier (customerId). |
membershipIdrequired | path | Uuid | Identifier (membershipId). |
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/jsonA person in a tenant (membership plus user summary).
membershipMembershiprequireduserobjectrequiredFields of user
idUuidrequiredemailEmailrequiredfirstNamestringrequiredlastNamestringrequiredstatusUserStatusrequired
customRoleIdUuid | nullcustomRoleNamestring | nullread-onlyName of the narrowing custom role, shown as "Custom: <name>".
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}/people/{membershipId}" \
-H "Authorization: Bearer $WIREBLOOM_API_KEY" \
-H "X-Tenant-Id: $WIREBLOOM_CUSTOMER_ID"const response = await fetch("https://bank.wirebloom.com/v1/customers/{customerId}/people/{membershipId}", {
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}/people/{membershipId}",
headers={
"Authorization": f"Bearer {os.environ['WIREBLOOM_API_KEY']}",
"X-Tenant-Id": os.environ["WIREBLOOM_CUSTOMER_ID"],
},
timeout=30,
)
response.raise_for_status()Edit a person (role, teams, profile)
PATCH /v1/customers/{customerId}/people/{membershipId}
- updatePerson
- Customer key
- API key scope people:write
- Tenant customer
Step-up required only when role changes. The primary owner cannot be changed here. Role change revokes the member's sessions.
Concurrency: If-Match with the current ETag is required (428 if absent, 412 if stale).
API key scopes: people:write (customer-level keys (X-Tenant-Id = the key's customer)).
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 the owners (member_changed_by_api_key, locked category) and audited with the key id. Keys may only invite or assign roles below owner/admin rank that cannot approve (422 role_not_allowed_for_key, D-99).
Parameters
| Name | In | Type | Description |
|---|---|---|---|
customerIdrequired | path | Uuid | Identifier (customerId). |
membershipIdrequired | path | Uuid | Identifier (membershipId). |
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
roleCustomerRoleteamIdsarray of UuidjobTitlestring | nullemployeeNumberstring | nullworkPhonestring | nullcustomRoleIdstring | null (uuid)A custom role of this customer whose
baseRoleequals the (new) role;nullremoves it. Refused for the primary owner (422/customRoleIdprimary_owner_immutable), for archived roles (custom_role_archived) and other bases (base_role_mismatch).
Responses
200 OK
application/jsonA person in a tenant (membership plus user summary).
membershipMembershiprequireduserobjectrequiredFields of user
idUuidrequiredemailEmailrequiredfirstNamestringrequiredlastNamestringrequiredstatusUserStatusrequired
customRoleIdUuid | nullcustomRoleNamestring | nullread-onlyName of the narrowing custom role, shown as "Custom: <name>".
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 PATCH "https://bank.wirebloom.com/v1/customers/{customerId}/people/{membershipId}" \
-H "Authorization: Bearer $WIREBLOOM_API_KEY" \
-H "X-Tenant-Id: $WIREBLOOM_CUSTOMER_ID" \
-H "If-Match: \"<etag>\"" \
-H "Content-Type: application/json" \
--data '{}'const response = await fetch("https://bank.wirebloom.com/v1/customers/{customerId}/people/{membershipId}", {
method: "PATCH",
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({}),
});
if (!response.ok) throw new Error(`${response.status} ${await response.text()}`);
const result = await response.json();import os
import requests
response = requests.request(
"PATCH",
"https://bank.wirebloom.com/v1/customers/{customerId}/people/{membershipId}",
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={},
timeout=30,
)
response.raise_for_status()Deactivate a person
POST /v1/customers/{customerId}/people/{membershipId}/deactivate
- deactivatePerson
- Customer key
- API key scope people:write
- Tenant customer
Primary owner cannot be deactivated (409). Revokes sessions.
API key scopes: people:write (customer-level keys (X-Tenant-Id = the key's customer)).
Parameters
| Name | In | Type | Description |
|---|---|---|---|
customerIdrequired | path | Uuid | Identifier (customerId). |
membershipIdrequired | path | Uuid | Identifier (membershipId). |
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. |
Request body
reasonstringrequired
Responses
200 OK
application/jsonA person in a tenant (membership plus user summary).
membershipMembershiprequireduserobjectrequiredFields of user
idUuidrequiredemailEmailrequiredfirstNamestringrequiredlastNamestringrequiredstatusUserStatusrequired
customRoleIdUuid | nullcustomRoleNamestring | nullread-onlyName of the narrowing custom role, shown as "Custom: <name>".
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+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+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 POST "https://bank.wirebloom.com/v1/customers/{customerId}/people/{membershipId}/deactivate" \
-H "Authorization: Bearer $WIREBLOOM_API_KEY" \
-H "X-Tenant-Id: $WIREBLOOM_CUSTOMER_ID" \
-H "Content-Type: application/json" \
--data '{
"reason": "string"
}'const response = await fetch("https://bank.wirebloom.com/v1/customers/{customerId}/people/{membershipId}/deactivate", {
method: "POST",
headers: {
"Authorization": `Bearer ${process.env.WIREBLOOM_API_KEY}`,
"X-Tenant-Id": process.env.WIREBLOOM_CUSTOMER_ID!,
"Content-Type": "application/json",
},
body: JSON.stringify({
"reason": "string"
}),
});
if (!response.ok) throw new Error(`${response.status} ${await response.text()}`);
const result = await response.json();import os
import requests
response = requests.request(
"POST",
"https://bank.wirebloom.com/v1/customers/{customerId}/people/{membershipId}/deactivate",
headers={
"Authorization": f"Bearer {os.environ['WIREBLOOM_API_KEY']}",
"X-Tenant-Id": os.environ["WIREBLOOM_CUSTOMER_ID"],
"Content-Type": "application/json",
},
json={
"reason": "string"
},
timeout=30,
)
response.raise_for_status()Reactivate a person
POST /v1/customers/{customerId}/people/{membershipId}/reactivate
- reactivatePerson
- Customer key
- API key scope people:write
- Tenant customer
API key scopes: people:write (customer-level keys (X-Tenant-Id = the key's customer)).
Parameters
| Name | In | Type | Description |
|---|---|---|---|
customerIdrequired | path | Uuid | Identifier (customerId). |
membershipIdrequired | path | Uuid | Identifier (membershipId). |
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/jsonA person in a tenant (membership plus user summary).
membershipMembershiprequireduserobjectrequiredFields of user
idUuidrequiredemailEmailrequiredfirstNamestringrequiredlastNamestringrequiredstatusUserStatusrequired
customRoleIdUuid | nullcustomRoleNamestring | nullread-onlyName of the narrowing custom role, shown as "Custom: <name>".
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+json409 State conflict: `invalid-transition`, `duplicate-recipient`, `quote-expired`, `insufficient-funds`, `idempotency-key-in-use` (with Retry-After), `not-cancellable`.
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 POST "https://bank.wirebloom.com/v1/customers/{customerId}/people/{membershipId}/reactivate" \
-H "Authorization: Bearer $WIREBLOOM_API_KEY" \
-H "X-Tenant-Id: $WIREBLOOM_CUSTOMER_ID"const response = await fetch("https://bank.wirebloom.com/v1/customers/{customerId}/people/{membershipId}/reactivate", {
method: "POST",
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(
"POST",
"https://bank.wirebloom.com/v1/customers/{customerId}/people/{membershipId}/reactivate",
headers={
"Authorization": f"Bearer {os.environ['WIREBLOOM_API_KEY']}",
"X-Tenant-Id": os.environ["WIREBLOOM_CUSTOMER_ID"],
},
timeout=30,
)
response.raise_for_status()List primary-owner transfers
GET /v1/customers/{customerId}/primary-owner-transfers
- listPrimaryOwnerTransfers
- Customer key
- API key scope people:read
- Tenant customer
The customer's transfers, newest first (at most 100). A pending transfer past expiresAt reads as expired.
API key scopes: people:read (customer-level keys (X-Tenant-Id = the key's customer)).
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. |
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+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}/primary-owner-transfers" \
-H "Authorization: Bearer $WIREBLOOM_API_KEY" \
-H "X-Tenant-Id: $WIREBLOOM_CUSTOMER_ID"const response = await fetch("https://bank.wirebloom.com/v1/customers/{customerId}/primary-owner-transfers", {
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}/primary-owner-transfers",
headers={
"Authorization": f"Bearer {os.environ['WIREBLOOM_API_KEY']}",
"X-Tenant-Id": os.environ["WIREBLOOM_CUSTOMER_ID"],
},
timeout=30,
)
response.raise_for_status()Get primary-owner transfer
GET /v1/customers/{customerId}/primary-owner-transfers/{transferId}
- getPrimaryOwnerTransfer
- Customer key
- API key scope people:read
- Tenant customer
API key scopes: people:read (customer-level keys (X-Tenant-Id = the key's customer)).
Parameters
| Name | In | Type | Description |
|---|---|---|---|
customerIdrequired | path | Uuid | Identifier (customerId). |
transferIdrequired | path | Uuid | Identifier (transferId). |
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
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}/primary-owner-transfers/{transferId}" \
-H "Authorization: Bearer $WIREBLOOM_API_KEY" \
-H "X-Tenant-Id: $WIREBLOOM_CUSTOMER_ID"const response = await fetch("https://bank.wirebloom.com/v1/customers/{customerId}/primary-owner-transfers/{transferId}", {
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}/primary-owner-transfers/{transferId}",
headers={
"Authorization": f"Bearer {os.environ['WIREBLOOM_API_KEY']}",
"X-Tenant-Id": os.environ["WIREBLOOM_CUSTOMER_ID"],
},
timeout=30,
)
response.raise_for_status()Custom roles of a customer
GET /v1/customers/{customerId}/roles
- listCustomerCustomRoles
- Customer key
- API key scope people:read
- Tenant customer
Every custom role of the customer (archived included), sorted by name.
API key scopes: people:read (customer-level keys (X-Tenant-Id = the key's customer)).
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. |
Responses
200 OK
application/jsonThe customer's custom roles (archived included) and the assignable customer roles with their capabilities (the subset source).
dataarray of CustomerCustomRolerequiredbaseRolesarray of CustomerBaseRolerequired
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}/roles" \
-H "Authorization: Bearer $WIREBLOOM_API_KEY" \
-H "X-Tenant-Id: $WIREBLOOM_CUSTOMER_ID"const response = await fetch("https://bank.wirebloom.com/v1/customers/{customerId}/roles", {
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}/roles",
headers={
"Authorization": f"Bearer {os.environ['WIREBLOOM_API_KEY']}",
"X-Tenant-Id": os.environ["WIREBLOOM_CUSTOMER_ID"],
},
timeout=30,
)
response.raise_for_status()Create a custom role
POST /v1/customers/{customerId}/roles
- createCustomerCustomRole
- Customer key
- API key scope people:write
- Tenant customer
Audited as custom_role.created.
API key scopes: people:write (customer-level keys (X-Tenant-Id = the key's customer)).
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 the owners (member_changed_by_api_key, locked category) and audited with the key id. Keys may only invite or assign roles below owner/admin rank that cannot approve (422 role_not_allowed_for_key, D-99).
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. |
Request body
capabilities must be a subset of the base role's current capabilities (422 not_in_base_role); 409 when the key exists for the customer.
keystringrequirednamestringrequiredbaseRoleCustomerRolerequiredcapabilitiesarray of stringrequired
Responses
201 Created
application/jsonA customer-defined role (
iam.custom_roleswith the customer id): a named subset of a customer role.idUuidrequiredread-onlyFields of id
customerIdUuidrequiredkeystringrequirednamestringrequiredbaseRoleCustomerRolerequiredcapabilitiesarray of stringrequiredSubset of the base role's effective capabilities at the operator (custom roles only narrow).
memberCountintegerrequiredread-onlyarchivedbooleanrequiredcreatedAtTimestamprequiredread-onlyFields of createdAt
updatedAtTimestamprequiredread-onlyFields of updatedAt
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+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+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 POST "https://bank.wirebloom.com/v1/customers/{customerId}/roles" \
-H "Authorization: Bearer $WIREBLOOM_API_KEY" \
-H "X-Tenant-Id: $WIREBLOOM_CUSTOMER_ID" \
-H "Content-Type: application/json" \
--data '{
"key": "string",
"name": "string",
"baseRole": "cust_owner",
"capabilities": [
"string"
]
}'const response = await fetch("https://bank.wirebloom.com/v1/customers/{customerId}/roles", {
method: "POST",
headers: {
"Authorization": `Bearer ${process.env.WIREBLOOM_API_KEY}`,
"X-Tenant-Id": process.env.WIREBLOOM_CUSTOMER_ID!,
"Content-Type": "application/json",
},
body: JSON.stringify({
"key": "string",
"name": "string",
"baseRole": "cust_owner",
"capabilities": [
"string"
]
}),
});
if (!response.ok) throw new Error(`${response.status} ${await response.text()}`);
const result = await response.json();import os
import requests
response = requests.request(
"POST",
"https://bank.wirebloom.com/v1/customers/{customerId}/roles",
headers={
"Authorization": f"Bearer {os.environ['WIREBLOOM_API_KEY']}",
"X-Tenant-Id": os.environ["WIREBLOOM_CUSTOMER_ID"],
"Content-Type": "application/json",
},
json={
"key": "string",
"name": "string",
"baseRole": "cust_owner",
"capabilities": [
"string"
]
},
timeout=30,
)
response.raise_for_status()Get a custom role
GET /v1/customers/{customerId}/roles/{roleId}
- getCustomerCustomRole
- Customer key
- API key scope people:read
- Tenant customer
API key scopes: people:read (customer-level keys (X-Tenant-Id = the key's customer)).
Parameters
| Name | In | Type | Description |
|---|---|---|---|
customerIdrequired | path | Uuid | Identifier (customerId). |
roleIdrequired | path | Uuid | Identifier (roleId). |
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/jsonA customer-defined role (
iam.custom_roleswith the customer id): a named subset of a customer role.idUuidrequiredread-onlyFields of id
customerIdUuidrequiredkeystringrequirednamestringrequiredbaseRoleCustomerRolerequiredcapabilitiesarray of stringrequiredSubset of the base role's effective capabilities at the operator (custom roles only narrow).
memberCountintegerrequiredread-onlyarchivedbooleanrequiredcreatedAtTimestamprequiredread-onlyFields of createdAt
updatedAtTimestamprequiredread-onlyFields of updatedAt
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}/roles/{roleId}" \
-H "Authorization: Bearer $WIREBLOOM_API_KEY" \
-H "X-Tenant-Id: $WIREBLOOM_CUSTOMER_ID"const response = await fetch("https://bank.wirebloom.com/v1/customers/{customerId}/roles/{roleId}", {
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}/roles/{roleId}",
headers={
"Authorization": f"Bearer {os.environ['WIREBLOOM_API_KEY']}",
"X-Tenant-Id": os.environ["WIREBLOOM_CUSTOMER_ID"],
},
timeout=30,
)
response.raise_for_status()Rename, re-scope or archive a custom role
PATCH /v1/customers/{customerId}/roles/{roleId}
- updateCustomerCustomRole
- Customer key
- API key scope people:write
- Tenant customer
Capabilities stay a subset of the base role (422). Archived roles cannot be assigned; members keep them until reassigned. Audited as custom_role.updated.
Concurrency: If-Match with the current ETag is required (428 if absent, 412 if stale).
API key scopes: people:write (customer-level keys (X-Tenant-Id = the key's customer)).
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 the owners (member_changed_by_api_key, locked category) and audited with the key id. Keys may only invite or assign roles below owner/admin rank that cannot approve (422 role_not_allowed_for_key, D-99).
Parameters
| Name | In | Type | Description |
|---|---|---|---|
customerIdrequired | path | Uuid | Identifier (customerId). |
roleIdrequired | path | Uuid | Identifier (roleId). |
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
At least one field. key and baseRole are immutable.
namestringcapabilitiesarray of stringarchivedbooleanArchive (
true) or restore (false).
Responses
200 OK
application/jsonA customer-defined role (
iam.custom_roleswith the customer id): a named subset of a customer role.idUuidrequiredread-onlyFields of id
customerIdUuidrequiredkeystringrequirednamestringrequiredbaseRoleCustomerRolerequiredcapabilitiesarray of stringrequiredSubset of the base role's effective capabilities at the operator (custom roles only narrow).
memberCountintegerrequiredread-onlyarchivedbooleanrequiredcreatedAtTimestamprequiredread-onlyFields of createdAt
updatedAtTimestamprequiredread-onlyFields of updatedAt
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 PATCH "https://bank.wirebloom.com/v1/customers/{customerId}/roles/{roleId}" \
-H "Authorization: Bearer $WIREBLOOM_API_KEY" \
-H "X-Tenant-Id: $WIREBLOOM_CUSTOMER_ID" \
-H "If-Match: \"<etag>\"" \
-H "Content-Type: application/json" \
--data '{}'const response = await fetch("https://bank.wirebloom.com/v1/customers/{customerId}/roles/{roleId}", {
method: "PATCH",
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({}),
});
if (!response.ok) throw new Error(`${response.status} ${await response.text()}`);
const result = await response.json();import os
import requests
response = requests.request(
"PATCH",
"https://bank.wirebloom.com/v1/customers/{customerId}/roles/{roleId}",
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={},
timeout=30,
)
response.raise_for_status()Get general settings
GET /v1/customers/{customerId}/settings
- getCustomerSettings
- Customer key
- API key scope account:read
- Tenant any
API key scopes: account:read (customer-level keys (X-Tenant-Id = the key's customer)).
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
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}/settings" \
-H "Authorization: Bearer $WIREBLOOM_API_KEY" \
-H "X-Tenant-Id: $WIREBLOOM_CUSTOMER_ID"const response = await fetch("https://bank.wirebloom.com/v1/customers/{customerId}/settings", {
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}/settings",
headers={
"Authorization": f"Bearer {os.environ['WIREBLOOM_API_KEY']}",
"X-Tenant-Id": os.environ["WIREBLOOM_CUSTOMER_ID"],
},
timeout=30,
)
response.raise_for_status()Update general settings
PATCH /v1/customers/{customerId}/settings
- updateCustomerSettings
- Customer key
- API key scope account:write
- Tenant customer
Concurrency: If-Match with the current ETag is required (428 if absent, 412 if stale).
API key scopes: account:write (customer-level keys (X-Tenant-Id = the key's customer)).
API keys and control fields (P15-T01): with an API key (account:write) the body may not contain stepUpPaymentThreshold (422, errors[].code field_session_only naming the field): it moves the amount above which payments need a fresh step-up, which a key cannot answer. Change it from a signed-in session. Approval policies and approved domains are session-only operations of their own.
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
fundsRequestsEnabledbooleanlowBalanceAlertsEnabledbooleanstepUpPaymentThresholdMoney | nullannotationsLabelsarray of string
Responses
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 PATCH "https://bank.wirebloom.com/v1/customers/{customerId}/settings" \
-H "Authorization: Bearer $WIREBLOOM_API_KEY" \
-H "X-Tenant-Id: $WIREBLOOM_CUSTOMER_ID" \
-H "If-Match: \"<etag>\"" \
-H "Content-Type: application/json" \
--data '{}'const response = await fetch("https://bank.wirebloom.com/v1/customers/{customerId}/settings", {
method: "PATCH",
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({}),
});
if (!response.ok) throw new Error(`${response.status} ${await response.text()}`);
const result = await response.json();import os
import requests
response = requests.request(
"PATCH",
"https://bank.wirebloom.com/v1/customers/{customerId}/settings",
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={},
timeout=30,
)
response.raise_for_status()List addresses
GET /v1/customers/{customerId}/settings/addresses
- listCustomerAddresses
- Customer key
- API key scope account:read
- Tenant any
API key scopes: account:read (customer-level keys (X-Tenant-Id = the key's customer)).
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. |
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+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}/settings/addresses" \
-H "Authorization: Bearer $WIREBLOOM_API_KEY" \
-H "X-Tenant-Id: $WIREBLOOM_CUSTOMER_ID"const response = await fetch("https://bank.wirebloom.com/v1/customers/{customerId}/settings/addresses", {
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}/settings/addresses",
headers={
"Authorization": f"Bearer {os.environ['WIREBLOOM_API_KEY']}",
"X-Tenant-Id": os.environ["WIREBLOOM_CUSTOMER_ID"],
},
timeout=30,
)
response.raise_for_status()Add address
POST /v1/customers/{customerId}/settings/addresses
- createCustomerAddress
- Customer key
- API key scope account:write
- Tenant customer
Registered address changes by customers go to operator review (202).
API key scopes: account:write (customer-level keys (X-Tenant-Id = the key's customer)).
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. |
Request body
kindAddressKindrequiredaddressAddressrequiredisPrimaryboolean
Responses
201 Created
application/jsonidUuidrequiredread-onlyFields of id
kindAddressKindrequiredaddressAddressrequiredisPrimarybooleanrequiredcreatedAtTimestamprequiredread-onlyFields of createdAt
updatedAtstring (date-time)read-onlyRow version; weak ETag
W/"<epoch ms>"for the optionalIf-Match.
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+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+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 POST "https://bank.wirebloom.com/v1/customers/{customerId}/settings/addresses" \
-H "Authorization: Bearer $WIREBLOOM_API_KEY" \
-H "X-Tenant-Id: $WIREBLOOM_CUSTOMER_ID" \
-H "Content-Type: application/json" \
--data '{
"kind": "registered",
"address": {
"line1": "1 Finsbury Avenue",
"city": "London",
"country": "GB"
}
}'const response = await fetch("https://bank.wirebloom.com/v1/customers/{customerId}/settings/addresses", {
method: "POST",
headers: {
"Authorization": `Bearer ${process.env.WIREBLOOM_API_KEY}`,
"X-Tenant-Id": process.env.WIREBLOOM_CUSTOMER_ID!,
"Content-Type": "application/json",
},
body: JSON.stringify({
"kind": "registered",
"address": {
"line1": "1 Finsbury Avenue",
"city": "London",
"country": "GB"
}
}),
});
if (!response.ok) throw new Error(`${response.status} ${await response.text()}`);
const result = await response.json();import os
import requests
response = requests.request(
"POST",
"https://bank.wirebloom.com/v1/customers/{customerId}/settings/addresses",
headers={
"Authorization": f"Bearer {os.environ['WIREBLOOM_API_KEY']}",
"X-Tenant-Id": os.environ["WIREBLOOM_CUSTOMER_ID"],
"Content-Type": "application/json",
},
json={
"kind": "registered",
"address": {
"line1": "1 Finsbury Avenue",
"city": "London",
"country": "GB"
}
},
timeout=30,
)
response.raise_for_status()Update address
PATCH /v1/customers/{customerId}/settings/addresses/{addressId}
- updateCustomerAddress
- Customer key
- API key scope account:write
- Tenant any
Concurrency: If-Match is optional: when sent it must equal the item's current weak ETag W/"<updatedAt in epoch ms>" (412 if stale). There is no item GET; the item's updatedAt comes from the list or the previous write, whose response also carries ETag.
API key scopes: account:write (customer-level keys (X-Tenant-Id = the key's customer)).
Parameters
| Name | In | Type | Description |
|---|---|---|---|
customerIdrequired | path | Uuid | Identifier (customerId). |
addressIdrequired | path | Uuid | Identifier (addressId). |
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-Match | header | string | Optional optimistic-concurrency check: the item's weak ETag |
Request body
kindAddressKindrequiredaddressAddressrequiredisPrimaryboolean
Responses
200 OK
application/jsonidUuidrequiredread-onlyFields of id
kindAddressKindrequiredaddressAddressrequiredisPrimarybooleanrequiredcreatedAtTimestamprequiredread-onlyFields of createdAt
updatedAtstring (date-time)read-onlyRow version; weak ETag
W/"<epoch ms>"for the optionalIf-Match.
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+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 PATCH "https://bank.wirebloom.com/v1/customers/{customerId}/settings/addresses/{addressId}" \
-H "Authorization: Bearer $WIREBLOOM_API_KEY" \
-H "X-Tenant-Id: $WIREBLOOM_CUSTOMER_ID" \
-H "Content-Type: application/json" \
--data '{
"kind": "registered",
"address": {
"line1": "1 Finsbury Avenue",
"city": "London",
"country": "GB"
}
}'const response = await fetch("https://bank.wirebloom.com/v1/customers/{customerId}/settings/addresses/{addressId}", {
method: "PATCH",
headers: {
"Authorization": `Bearer ${process.env.WIREBLOOM_API_KEY}`,
"X-Tenant-Id": process.env.WIREBLOOM_CUSTOMER_ID!,
"Content-Type": "application/json",
},
body: JSON.stringify({
"kind": "registered",
"address": {
"line1": "1 Finsbury Avenue",
"city": "London",
"country": "GB"
}
}),
});
if (!response.ok) throw new Error(`${response.status} ${await response.text()}`);
const result = await response.json();import os
import requests
response = requests.request(
"PATCH",
"https://bank.wirebloom.com/v1/customers/{customerId}/settings/addresses/{addressId}",
headers={
"Authorization": f"Bearer {os.environ['WIREBLOOM_API_KEY']}",
"X-Tenant-Id": os.environ["WIREBLOOM_CUSTOMER_ID"],
"Content-Type": "application/json",
},
json={
"kind": "registered",
"address": {
"line1": "1 Finsbury Avenue",
"city": "London",
"country": "GB"
}
},
timeout=30,
)
response.raise_for_status()Delete address
DELETE /v1/customers/{customerId}/settings/addresses/{addressId}
- deleteCustomerAddress
- Customer key
- API key scope account:write
- Tenant any
The registered address cannot be deleted.
Concurrency: If-Match is optional: when sent it must equal the item's current weak ETag W/"<updatedAt in epoch ms>" (412 if stale). There is no item GET; the item's updatedAt comes from the list or the previous write, whose response also carries ETag.
API key scopes: account:write (customer-level keys (X-Tenant-Id = the key's customer)).
Parameters
| Name | In | Type | Description |
|---|---|---|---|
customerIdrequired | path | Uuid | Identifier (customerId). |
addressIdrequired | path | Uuid | Identifier (addressId). |
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-Match | header | string | Optional optimistic-concurrency check: the item's weak ETag |
Responses
204 No Content
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+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+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 DELETE "https://bank.wirebloom.com/v1/customers/{customerId}/settings/addresses/{addressId}" \
-H "Authorization: Bearer $WIREBLOOM_API_KEY" \
-H "X-Tenant-Id: $WIREBLOOM_CUSTOMER_ID"const response = await fetch("https://bank.wirebloom.com/v1/customers/{customerId}/settings/addresses/{addressId}", {
method: "DELETE",
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()}`);import os
import requests
response = requests.request(
"DELETE",
"https://bank.wirebloom.com/v1/customers/{customerId}/settings/addresses/{addressId}",
headers={
"Authorization": f"Bearer {os.environ['WIREBLOOM_API_KEY']}",
"X-Tenant-Id": os.environ["WIREBLOOM_CUSTOMER_ID"],
},
timeout=30,
)
response.raise_for_status()List low balance alerts
GET /v1/customers/{customerId}/settings/alerts
- listLowBalanceAlerts
- 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 |
|---|---|---|---|
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. |
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+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}/settings/alerts" \
-H "Authorization: Bearer $WIREBLOOM_API_KEY" \
-H "X-Tenant-Id: $WIREBLOOM_CUSTOMER_ID"const response = await fetch("https://bank.wirebloom.com/v1/customers/{customerId}/settings/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/customers/{customerId}/settings/alerts",
headers={
"Authorization": f"Bearer {os.environ['WIREBLOOM_API_KEY']}",
"X-Tenant-Id": os.environ["WIREBLOOM_CUSTOMER_ID"],
},
timeout=30,
)
response.raise_for_status()Create low balance alert
POST /v1/customers/{customerId}/settings/alerts
- createLowBalanceAlert
- Customer key
- API key scope account:write
- Tenant customer
API key scopes: account:write (customer-level keys (X-Tenant-Id = the key's customer)).
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. |
Request body
balanceIdUuidrequiredthresholdPositiveMoneyrequiredchannelsarray of NotificationChannelrequiredenabledboolean
Responses
201 Created
application/jsonASSUMPTION: DATABASE.md has no alerts table; stored in
customers.settingsor a new table.idUuidrequiredread-onlyFields of id
balanceIdUuidrequiredthresholdMoneyrequiredchannelsarray of NotificationChannelrequiredenabledbooleanrequiredlastTriggeredAtTimestamp | nullcreatedAtTimestamprequiredread-onlyFields of createdAt
updatedAtstring (date-time)read-onlyRow version; weak ETag
W/"<epoch ms>"for the optionalIf-Match.
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+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+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 POST "https://bank.wirebloom.com/v1/customers/{customerId}/settings/alerts" \
-H "Authorization: Bearer $WIREBLOOM_API_KEY" \
-H "X-Tenant-Id: $WIREBLOOM_CUSTOMER_ID" \
-H "Content-Type: application/json" \
--data '{
"balanceId": "0192a6f0-7c1e-7b3a-9d2e-5f4c3b2a1908",
"threshold": {
"amountMinor": "125050",
"currency": "GBP"
},
"channels": [
"email"
]
}'const response = await fetch("https://bank.wirebloom.com/v1/customers/{customerId}/settings/alerts", {
method: "POST",
headers: {
"Authorization": `Bearer ${process.env.WIREBLOOM_API_KEY}`,
"X-Tenant-Id": process.env.WIREBLOOM_CUSTOMER_ID!,
"Content-Type": "application/json",
},
body: JSON.stringify({
"balanceId": "0192a6f0-7c1e-7b3a-9d2e-5f4c3b2a1908",
"threshold": {
"amountMinor": "125050",
"currency": "GBP"
},
"channels": [
"email"
]
}),
});
if (!response.ok) throw new Error(`${response.status} ${await response.text()}`);
const result = await response.json();import os
import requests
response = requests.request(
"POST",
"https://bank.wirebloom.com/v1/customers/{customerId}/settings/alerts",
headers={
"Authorization": f"Bearer {os.environ['WIREBLOOM_API_KEY']}",
"X-Tenant-Id": os.environ["WIREBLOOM_CUSTOMER_ID"],
"Content-Type": "application/json",
},
json={
"balanceId": "0192a6f0-7c1e-7b3a-9d2e-5f4c3b2a1908",
"threshold": {
"amountMinor": "125050",
"currency": "GBP"
},
"channels": [
"email"
]
},
timeout=30,
)
response.raise_for_status()Update low balance alert
PATCH /v1/customers/{customerId}/settings/alerts/{alertId}
- updateLowBalanceAlert
- Customer key
- API key scope account:write
- Tenant customer
Concurrency: If-Match is optional: when sent it must equal the item's current weak ETag W/"<updatedAt in epoch ms>" (412 if stale). There is no item GET; the item's updatedAt comes from the list or the previous write, whose response also carries ETag.
API key scopes: account:write (customer-level keys (X-Tenant-Id = the key's customer)).
Parameters
| Name | In | Type | Description |
|---|---|---|---|
customerIdrequired | path | Uuid | Identifier (customerId). |
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. |
If-Match | header | string | Optional optimistic-concurrency check: the item's weak ETag |
Request body
balanceIdUuidrequiredthresholdPositiveMoneyrequiredchannelsarray of NotificationChannelrequiredenabledboolean
Responses
200 OK
application/jsonASSUMPTION: DATABASE.md has no alerts table; stored in
customers.settingsor a new table.idUuidrequiredread-onlyFields of id
balanceIdUuidrequiredthresholdMoneyrequiredchannelsarray of NotificationChannelrequiredenabledbooleanrequiredlastTriggeredAtTimestamp | nullcreatedAtTimestamprequiredread-onlyFields of createdAt
updatedAtstring (date-time)read-onlyRow version; weak ETag
W/"<epoch ms>"for the optionalIf-Match.
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+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 PATCH "https://bank.wirebloom.com/v1/customers/{customerId}/settings/alerts/{alertId}" \
-H "Authorization: Bearer $WIREBLOOM_API_KEY" \
-H "X-Tenant-Id: $WIREBLOOM_CUSTOMER_ID" \
-H "Content-Type: application/json" \
--data '{
"balanceId": "0192a6f0-7c1e-7b3a-9d2e-5f4c3b2a1908",
"threshold": {
"amountMinor": "125050",
"currency": "GBP"
},
"channels": [
"email"
]
}'const response = await fetch("https://bank.wirebloom.com/v1/customers/{customerId}/settings/alerts/{alertId}", {
method: "PATCH",
headers: {
"Authorization": `Bearer ${process.env.WIREBLOOM_API_KEY}`,
"X-Tenant-Id": process.env.WIREBLOOM_CUSTOMER_ID!,
"Content-Type": "application/json",
},
body: JSON.stringify({
"balanceId": "0192a6f0-7c1e-7b3a-9d2e-5f4c3b2a1908",
"threshold": {
"amountMinor": "125050",
"currency": "GBP"
},
"channels": [
"email"
]
}),
});
if (!response.ok) throw new Error(`${response.status} ${await response.text()}`);
const result = await response.json();import os
import requests
response = requests.request(
"PATCH",
"https://bank.wirebloom.com/v1/customers/{customerId}/settings/alerts/{alertId}",
headers={
"Authorization": f"Bearer {os.environ['WIREBLOOM_API_KEY']}",
"X-Tenant-Id": os.environ["WIREBLOOM_CUSTOMER_ID"],
"Content-Type": "application/json",
},
json={
"balanceId": "0192a6f0-7c1e-7b3a-9d2e-5f4c3b2a1908",
"threshold": {
"amountMinor": "125050",
"currency": "GBP"
},
"channels": [
"email"
]
},
timeout=30,
)
response.raise_for_status()Delete low balance alert
DELETE /v1/customers/{customerId}/settings/alerts/{alertId}
- deleteLowBalanceAlert
- Customer key
- API key scope account:write
- Tenant customer
API key scopes: account:write (customer-level keys (X-Tenant-Id = the key's customer)).
Parameters
| Name | In | Type | Description |
|---|---|---|---|
customerIdrequired | path | Uuid | Identifier (customerId). |
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
204 No Content
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+json409 State conflict: `invalid-transition`, `duplicate-recipient`, `quote-expired`, `insufficient-funds`, `idempotency-key-in-use` (with Retry-After), `not-cancellable`.
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 DELETE "https://bank.wirebloom.com/v1/customers/{customerId}/settings/alerts/{alertId}" \
-H "Authorization: Bearer $WIREBLOOM_API_KEY" \
-H "X-Tenant-Id: $WIREBLOOM_CUSTOMER_ID"const response = await fetch("https://bank.wirebloom.com/v1/customers/{customerId}/settings/alerts/{alertId}", {
method: "DELETE",
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()}`);import os
import requests
response = requests.request(
"DELETE",
"https://bank.wirebloom.com/v1/customers/{customerId}/settings/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()List approval policies (payments, recipients, funds requests)
GET /v1/customers/{customerId}/settings/approval-policies
- listApprovalPolicies
- Customer key
- API key scope account:read
- Tenant any
API key scopes: account:read (customer-level keys (X-Tenant-Id = the key's customer)).
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. |
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+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}/settings/approval-policies" \
-H "Authorization: Bearer $WIREBLOOM_API_KEY" \
-H "X-Tenant-Id: $WIREBLOOM_CUSTOMER_ID"const response = await fetch("https://bank.wirebloom.com/v1/customers/{customerId}/settings/approval-policies", {
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}/settings/approval-policies",
headers={
"Authorization": f"Bearer {os.environ['WIREBLOOM_API_KEY']}",
"X-Tenant-Id": os.environ["WIREBLOOM_CUSTOMER_ID"],
},
timeout=30,
)
response.raise_for_status()Approved email domains
GET /v1/customers/{customerId}/settings/approved-domains
- getApprovedDomains
- Customer key
- API key scope account:read
- Tenant any
API key scopes: account:read (customer-level keys (X-Tenant-Id = the key's customer)).
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/jsondomainsarray of stringrequiredupdatedAtTimestampread-onlyFields of updatedAt
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}/settings/approved-domains" \
-H "Authorization: Bearer $WIREBLOOM_API_KEY" \
-H "X-Tenant-Id: $WIREBLOOM_CUSTOMER_ID"const response = await fetch("https://bank.wirebloom.com/v1/customers/{customerId}/settings/approved-domains", {
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}/settings/approved-domains",
headers={
"Authorization": f"Bearer {os.environ['WIREBLOOM_API_KEY']}",
"X-Tenant-Id": os.environ["WIREBLOOM_CUSTOMER_ID"],
},
timeout=30,
)
response.raise_for_status()Account currencies (offered and enabled)
GET /v1/customers/{customerId}/settings/currencies
- listCustomerCurrencies
- Customer key
- API key scope balances:read
- Tenant any
API key scope: balances:read.
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/json304 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}/settings/currencies" \
-H "Authorization: Bearer $WIREBLOOM_API_KEY" \
-H "X-Tenant-Id: $WIREBLOOM_CUSTOMER_ID"const response = await fetch("https://bank.wirebloom.com/v1/customers/{customerId}/settings/currencies", {
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}/settings/currencies",
headers={
"Authorization": f"Bearer {os.environ['WIREBLOOM_API_KEY']}",
"X-Tenant-Id": os.environ["WIREBLOOM_CUSTOMER_ID"],
},
timeout=30,
)
response.raise_for_status()Enable/disable currencies
PUT /v1/customers/{customerId}/settings/currencies
- replaceCustomerCurrencies
- Customer key
- API key scope account:write
- Tenant customer
Disabling a currency with a non-zero balance returns 409.
Concurrency: If-Match with the current ETag is required (428 if absent, 412 if stale).
API key scopes: account:write (customer-level keys (X-Tenant-Id = the key's customer)).
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
enabledarray of CurrencyCoderequiredFull set of enabled currencies. Enabling a currency provisions a balance and account details through the routed provider.
Responses
200 OK
application/json400 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}/settings/currencies" \
-H "Authorization: Bearer $WIREBLOOM_API_KEY" \
-H "X-Tenant-Id: $WIREBLOOM_CUSTOMER_ID" \
-H "If-Match: \"<etag>\"" \
-H "Content-Type: application/json" \
--data '{
"enabled": [
"GBP",
"EUR",
"USD"
]
}'const response = await fetch("https://bank.wirebloom.com/v1/customers/{customerId}/settings/currencies", {
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({
"enabled": [
"GBP",
"EUR",
"USD"
]
}),
});
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}/settings/currencies",
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={
"enabled": [
"GBP",
"EUR",
"USD"
]
},
timeout=30,
)
response.raise_for_status()List invitations in the tenant
GET /v1/invitations
- listInvitations
- Customer key
- API key scope people:read
- Tenant any
With an operator tenant the capability checked is staff.manage (staff invitations); with a customer tenant customer.people.
API key scopes: people: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. |
cursor | query | string | Opaque cursor from |
limit | query | integer | Page size (max 100). |
sort | query | string | Sort order; prefix |
filter | query | object | Filters as |
Responses
200 OK
application/jsonCursor-paginated list of Invitation.
dataarray of InvitationrequiredpagePageInforequired
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/invitations" \
-H "Authorization: Bearer $WIREBLOOM_API_KEY" \
-H "X-Tenant-Id: $WIREBLOOM_CUSTOMER_ID"const response = await fetch("https://bank.wirebloom.com/v1/invitations", {
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/invitations",
headers={
"Authorization": f"Bearer {os.environ['WIREBLOOM_API_KEY']}",
"X-Tenant-Id": os.environ["WIREBLOOM_CUSTOMER_ID"],
},
timeout=30,
)
response.raise_for_status()Get invitation
GET /v1/invitations/{invitationId}
- getInvitation
- Customer key
- API key scope people:read
- Tenant any
With an operator tenant the capability checked is staff.manage (staff invitations); with a customer tenant customer.people.
API key scopes: people:read (customer-level keys (X-Tenant-Id = the key's customer)).
Parameters
| Name | In | Type | Description |
|---|---|---|---|
invitationIdrequired | path | Uuid | Identifier (invitationId). |
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/jsonidUuidrequiredread-onlyFields of id
operatorIdUuidrequiredcustomerIdUuid | nullemailEmailrequiredfirstNamestring | nulllastNamestring | nullroleMembershipRolerequiredteamIdsarray of UuidstatusInvitationStatusrequiredinvitedBystring | null (uuid)requiredInviting user; null for system invitations (e.g. the primary owner of an operator-created customer when the inviter was removed).
expiresAtTimestamprequiredacceptedAtTimestamp | nullcreatedAtTimestamprequiredread-onlyFields of createdAt
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/invitations/{invitationId}" \
-H "Authorization: Bearer $WIREBLOOM_API_KEY" \
-H "X-Tenant-Id: $WIREBLOOM_CUSTOMER_ID"const response = await fetch("https://bank.wirebloom.com/v1/invitations/{invitationId}", {
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/invitations/{invitationId}",
headers={
"Authorization": f"Bearer {os.environ['WIREBLOOM_API_KEY']}",
"X-Tenant-Id": os.environ["WIREBLOOM_CUSTOMER_ID"],
},
timeout=30,
)
response.raise_for_status()Revoke invitation
DELETE /v1/invitations/{invitationId}
- revokeInvitation
- Customer key
- API key scope people:write
- Tenant any
With an operator tenant the capability checked is staff.manage (staff invitations); with a customer tenant customer.people.
API key scopes: people:write (customer-level keys (X-Tenant-Id = the key's customer)).
Parameters
| Name | In | Type | Description |
|---|---|---|---|
invitationIdrequired | path | Uuid | Identifier (invitationId). |
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
204 No Content
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+json409 State conflict: `invalid-transition`, `duplicate-recipient`, `quote-expired`, `insufficient-funds`, `idempotency-key-in-use` (with Retry-After), `not-cancellable`.
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 DELETE "https://bank.wirebloom.com/v1/invitations/{invitationId}" \
-H "Authorization: Bearer $WIREBLOOM_API_KEY" \
-H "X-Tenant-Id: $WIREBLOOM_CUSTOMER_ID"const response = await fetch("https://bank.wirebloom.com/v1/invitations/{invitationId}", {
method: "DELETE",
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()}`);import os
import requests
response = requests.request(
"DELETE",
"https://bank.wirebloom.com/v1/invitations/{invitationId}",
headers={
"Authorization": f"Bearer {os.environ['WIREBLOOM_API_KEY']}",
"X-Tenant-Id": os.environ["WIREBLOOM_CUSTOMER_ID"],
},
timeout=30,
)
response.raise_for_status()Resend invitation (new token and code)
POST /v1/invitations/{invitationId}/resend
- resendInvitation
- Customer key
- API key scope people:write
- Tenant any
With an operator tenant the capability checked is staff.manage (staff invitations); with a customer tenant customer.people. With the operator setting notifications.invitationDelivery: manual no email is sent: delivery carries the accept link and the 6-digit code once (audited tenancy.person.invitation_link_revealed (customer) or tenancy.staff.invitation_link_revealed without the token or code); GET never returns them.
API key scopes: people:write (customer-level keys (X-Tenant-Id = the key's customer)).
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 the owners (member_changed_by_api_key, locked category) and audited with the key id. Keys may only invite or assign roles below owner/admin rank that cannot approve (422 role_not_allowed_for_key, D-99).
Parameters
| Name | In | Type | Description |
|---|---|---|---|
invitationIdrequired | path | Uuid | Identifier (invitationId). |
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/jsonidUuidrequiredread-onlyFields of id
operatorIdUuidrequiredcustomerIdUuid | nullemailEmailrequiredfirstNamestring | nulllastNamestring | nullroleMembershipRolerequiredteamIdsarray of UuidstatusInvitationStatusrequiredinvitedBystring | null (uuid)requiredInviting user; null for system invitations (e.g. the primary owner of an operator-created customer when the inviter was removed).
expiresAtTimestamprequiredacceptedAtTimestamp | nullcreatedAtTimestamprequiredread-onlyFields of createdAt
verificationCodestring | nullrequired6-digit code shown once to the inviter to pass to the invitee out of band.
nullonly on anIdempotency-Keyreplay of amanualdelivery (the code is never stored).deliveryInvitationDeliveryrequired
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+json409 State conflict: `invalid-transition`, `duplicate-recipient`, `quote-expired`, `insufficient-funds`, `idempotency-key-in-use` (with Retry-After), `not-cancellable`.
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 POST "https://bank.wirebloom.com/v1/invitations/{invitationId}/resend" \
-H "Authorization: Bearer $WIREBLOOM_API_KEY" \
-H "X-Tenant-Id: $WIREBLOOM_CUSTOMER_ID"const response = await fetch("https://bank.wirebloom.com/v1/invitations/{invitationId}/resend", {
method: "POST",
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(
"POST",
"https://bank.wirebloom.com/v1/invitations/{invitationId}/resend",
headers={
"Authorization": f"Bearer {os.environ['WIREBLOOM_API_KEY']}",
"X-Tenant-Id": os.environ["WIREBLOOM_CUSTOMER_ID"],
},
timeout=30,
)
response.raise_for_status()My support requests
GET /v1/support/requests
- listMySupportRequests
- Customer key
- API key scope account:read
- Tenant any
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. |
cursor | query | string | Opaque cursor from |
limit | query | integer | Page size (max 100). |
sort | query | string | Sort order; prefix |
Responses
200 OK
application/jsonCursor-paginated list of SupportRequest.
dataarray of SupportRequestrequiredpagePageInforequired
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/support/requests" \
-H "Authorization: Bearer $WIREBLOOM_API_KEY" \
-H "X-Tenant-Id: $WIREBLOOM_CUSTOMER_ID"const response = await fetch("https://bank.wirebloom.com/v1/support/requests", {
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/support/requests",
headers={
"Authorization": f"Bearer {os.environ['WIREBLOOM_API_KEY']}",
"X-Tenant-Id": os.environ["WIREBLOOM_CUSTOMER_ID"],
},
timeout=30,
)
response.raise_for_status()Open a support request
POST /v1/support/requests
- createSupportRequest
- Customer key
- API key scope account:write
- Tenant any
Members and staff (not platform users, not impersonating). Routed by email to the operator's support address (worker support.route-request) and to the console inbox. 10 per hour per user (429). Quote the X-Request-Id of a failed call: staff see its audit trail.
API key scopes: account:write (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. |
Idempotency-Key | header | string | Optional idempotency key; same semantics as on money operations. |
Request body
categorySupportCategoryrequiredprioritySupportPrioritysubjectstringrequireddescriptionstringrequiredrequestIdstringX-Request-Idof a failed call (shown in every error response).
Responses
201 Created
application/jsonThe author is the membership only.
idUuidrequiredcategorySupportCategoryrequiredprioritySupportPriorityrequiredsubjectstringrequireddescriptionstringrequiredrequestIdstring | nullrequiredstatusSupportStatusrequiredsourcestringrequiredcustomerIdUuid | nullrequiredcustomerNamestring | nullrequiredauthorMembershipIdUuid | nullrequiredassignedToUuid | nullrequiredroutedAtTimestamp | nullrequiredresolvedAtTimestamp | nullrequiredcreatedAtTimestamprequiredupdatedAtTimestamprequiredread-onlyETag source.
Fields of updatedAt
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+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+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 POST "https://bank.wirebloom.com/v1/support/requests" \
-H "Authorization: Bearer $WIREBLOOM_API_KEY" \
-H "X-Tenant-Id: $WIREBLOOM_CUSTOMER_ID" \
-H "Content-Type: application/json" \
--data '{
"category": "technical",
"subject": "string",
"description": "string"
}'const response = await fetch("https://bank.wirebloom.com/v1/support/requests", {
method: "POST",
headers: {
"Authorization": `Bearer ${process.env.WIREBLOOM_API_KEY}`,
"X-Tenant-Id": process.env.WIREBLOOM_CUSTOMER_ID!,
"Content-Type": "application/json",
},
body: JSON.stringify({
"category": "technical",
"subject": "string",
"description": "string"
}),
});
if (!response.ok) throw new Error(`${response.status} ${await response.text()}`);
const result = await response.json();import os
import requests
response = requests.request(
"POST",
"https://bank.wirebloom.com/v1/support/requests",
headers={
"Authorization": f"Bearer {os.environ['WIREBLOOM_API_KEY']}",
"X-Tenant-Id": os.environ["WIREBLOOM_CUSTOMER_ID"],
"Content-Type": "application/json",
},
json={
"category": "technical",
"subject": "string",
"description": "string"
},
timeout=30,
)
response.raise_for_status()Get my support request
GET /v1/support/requests/{supportRequestId}
- getMySupportRequest
- Customer key
- API key scope account:read
- Tenant any
API key scopes: account:read (customer-level keys (X-Tenant-Id = the key's customer)).
Parameters
| Name | In | Type | Description |
|---|---|---|---|
supportRequestIdrequired | path | Uuid | Identifier (supportRequestId). |
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/jsonThe author is the membership only.
idUuidrequiredcategorySupportCategoryrequiredprioritySupportPriorityrequiredsubjectstringrequireddescriptionstringrequiredrequestIdstring | nullrequiredstatusSupportStatusrequiredsourcestringrequiredcustomerIdUuid | nullrequiredcustomerNamestring | nullrequiredauthorMembershipIdUuid | nullrequiredassignedToUuid | nullrequiredroutedAtTimestamp | nullrequiredresolvedAtTimestamp | nullrequiredcreatedAtTimestamprequiredupdatedAtTimestamprequiredread-onlyETag source.
Fields of updatedAt
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/support/requests/{supportRequestId}" \
-H "Authorization: Bearer $WIREBLOOM_API_KEY" \
-H "X-Tenant-Id: $WIREBLOOM_CUSTOMER_ID"const response = await fetch("https://bank.wirebloom.com/v1/support/requests/{supportRequestId}", {
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/support/requests/{supportRequestId}",
headers={
"Authorization": f"Bearer {os.environ['WIREBLOOM_API_KEY']}",
"X-Tenant-Id": os.environ["WIREBLOOM_CUSTOMER_ID"],
},
timeout=30,
)
response.raise_for_status()List teams
GET /v1/teams
- listTeams
- Customer key
- API key scope people:read
- Tenant customer
API key scopes: people: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. |
cursor | query | string | Opaque cursor from |
limit | query | integer | Page size (max 100). |
sort | query | string | Sort order; prefix |
q | query | string | Free-text search (trigram; min 2 characters). |
Responses
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/teams" \
-H "Authorization: Bearer $WIREBLOOM_API_KEY" \
-H "X-Tenant-Id: $WIREBLOOM_CUSTOMER_ID"const response = await fetch("https://bank.wirebloom.com/v1/teams", {
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/teams",
headers={
"Authorization": f"Bearer {os.environ['WIREBLOOM_API_KEY']}",
"X-Tenant-Id": os.environ["WIREBLOOM_CUSTOMER_ID"],
},
timeout=30,
)
response.raise_for_status()Get team
GET /v1/teams/{teamId}
- getTeam
- Customer key
- API key scope people:read
- Tenant customer
API key scopes: people:read (customer-level keys (X-Tenant-Id = the key's customer)).
Parameters
| Name | In | Type | Description |
|---|---|---|---|
teamIdrequired | path | Uuid | Identifier (teamId). |
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/jsonidUuidrequiredread-onlyFields of id
customerIdUuidrequiredread-onlyFields of customerId
namestringrequiredmemberCountintegerrequiredread-onlycreatedAtTimestamprequiredread-onlyFields of createdAt
updatedAtTimestamprequiredread-onlyRow version: the ETag is
W/"<updatedAt epoch ms>"(If-MatchonPATCH/DELETE).Fields of updatedAt
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/teams/{teamId}" \
-H "Authorization: Bearer $WIREBLOOM_API_KEY" \
-H "X-Tenant-Id: $WIREBLOOM_CUSTOMER_ID"const response = await fetch("https://bank.wirebloom.com/v1/teams/{teamId}", {
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/teams/{teamId}",
headers={
"Authorization": f"Bearer {os.environ['WIREBLOOM_API_KEY']}",
"X-Tenant-Id": os.environ["WIREBLOOM_CUSTOMER_ID"],
},
timeout=30,
)
response.raise_for_status()