Skip to main content

OrgWallet

No description

type OrgWallet {
walletId: BigInt!
orgId: BigInt!
balanceMicrousd: BigInt!
holdsMicrousd: BigInt!
balanceCents: BigInt! @deprecated
currency: String!
createdAt: DateTime!
updatedAt: DateTime!
}

Fields​

OrgWallet.walletId ● BigInt! non-null scalar​

Unique wallet id (BigInt as a decimal string).

OrgWallet.orgId ● BigInt! non-null scalar​

Organization that owns this wallet (BigInt as a decimal string). There is exactly one wallet per organization.

OrgWallet.balanceMicrousd ● BigInt! non-null scalar​

Current wallet balance in MICRO-USD (1 USD = 1,000,000), as a BigInt decimal string. The unit of account since 2026-09-11: every charge is recorded to the micro-USD and nothing is rounded. May be negative when accrued usage settled against an empty wallet.

OrgWallet.holdsMicrousd ● BigInt! non-null scalar​

Micro-USD currently held against in-flight request-priced usage (a model turn reserves its worst case here before it runs and releases the difference when it settles). Spendable balance is balanceMicrousd - holdsMicrousd.

OrgWallet.balanceCents ● BigInt! deprecated non-null scalar​

DEPRECATED

Cents are a display convenience derived from balanceMicrousd (truncated toward zero). Read balanceMicrousd.

DEPRECATED. balanceMicrousd / 10,000 truncated toward zero, as a BigInt decimal string.

OrgWallet.currency ● String! non-null scalar​

ISO-4217 currency code for balanceCents, lowercase (e.g. "usd"). Defaults to "usd".

OrgWallet.createdAt ● DateTime! non-null scalar​

When the wallet was created (ISO-8601 UTC timestamp).

OrgWallet.updatedAt ● DateTime! non-null scalar​

When the wallet was last modified, e.g. on balance change (ISO-8601 UTC timestamp).

Returned By​

walletBalance query