GET
Get the workspace's credits

Authorizations

Authorization
string
header
required

Bearer token for authentication. Format: 'Bearer {token}'

Headers

X-Workspace-Id
string

Workspace ID (uses default workspace if not provided)

Response

Get the workspace's credits

Api_V1_Entities_WorkspaceCredits model

balance_in_cents
integer<int32>
required

The workspace's credits, in cents. They go on its purchases and renewals, and pay for Usage Billing beyond its monthly minimum before the card does

balance_formatted
string
required

The balance formatted, e.g. $25.00

expiring_in_cents
integer<int32>
required

What of the balance expires next, in cents, or null when nothing does

expires_at
string
required

ISO8601 time expiring_in_cents expires, or null

operations
object[]
required

The 50 newest operations, newest first