Skip to main content

OrgWallet

No description

type OrgWallet {
walletId: BigInt!
orgId: BigInt!
balanceCents: BigInt!
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.balanceCents ● BigInt! non-null scalar

Current wallet balance in minor currency units (cents) of currency, as a BigInt decimal string. May be negative if usage was charged against an empty wallet.

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