Skip to main content
GET
Read one venue account's credit

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Scopes

treasury_read
bearer_auth
treasury_read
api_key

Headers

X-Workspace-Id
string<uuid>

The workspace the request acts in. An API key bound to a workspace implies it: omit the header, or send that same id (another id answers 403 WORKSPACE_SCOPE_MISMATCH). A member session must send it (400 MISSING_WORKSPACE without it).

Path Parameters

workspaceId
string
required

Current company or broker workspace

venueAccountId
string<uuid>
required

Response

A venue account's credit: the same figures as the Treasury credit card. Each component is an observation with its own time, or a named state (notReported, notStarted, unavailable with its code); an unread figure is never zero.

commitments
object
required

TetraFi's own open credit commitments per currency.

facility
object
required

The agreed credit terms: the facility that stands without a provider-reported limit.

observation
object
required

The provider's own credit line from the account's last recorded ledger observation: limit, used, available and overrun (max(used - limit, 0)), in its currency.

positions
object
required

The account's signed positions per asset from the same ledger observation.

readAt
string<date-time>
required

When this composition was read.

venueAccountId
string<uuid>
required