Skip to main content

WalletTransaction

No description

type WalletTransaction {
transactionId: BigInt!
walletId: BigInt!
orgId: BigInt!
amountCents: BigInt!
balanceAfter: BigInt!
transactionType: String!
description: String
referenceId: String
appId: BigInt
createdAt: DateTime!
}

Fields

WalletTransaction.transactionId ● BigInt! non-null scalar

Unique transaction id (BigInt as a decimal string).

WalletTransaction.walletId ● BigInt! non-null scalar

Wallet this transaction belongs to (BigInt as a decimal string).

WalletTransaction.orgId ● BigInt! non-null scalar

Organization that owns the wallet (BigInt as a decimal string).

WalletTransaction.amountCents ● BigInt! non-null scalar

Signed change applied to the wallet in minor currency units (cents), as a BigInt decimal string: positive credits funds, negative debits funds.

WalletTransaction.balanceAfter ● BigInt! non-null scalar

Wallet balance in cents immediately after this transaction was applied, as a BigInt decimal string.

WalletTransaction.transactionType ● String! non-null scalar

What produced this transaction. Known values: "topup" (wallet credit from a checkout/top-up), "usage" (per-app usage charge, negative), "shared_usage" (shared-environment usage charge, negative), "reserved_throughput" (monthly/prorated reserved egress capacity, negative), "environment_usage" (hourly environment cost, negative), "auto_recharge" (automatic wallet recharge). Other caller-supplied deposit types are possible.

WalletTransaction.description ● String scalar

Optional human-readable note describing the transaction; null when not set.

WalletTransaction.referenceId ● String scalar

Optional external reference (e.g. payment-provider charge id or checkout id) linking this transaction to its source; null when not set.

WalletTransaction.appId ● BigInt scalar

App that incurred the charge (BigInt as a decimal string), set on usage-type transactions; null for org-level credits such as top-ups.

WalletTransaction.createdAt ● DateTime! non-null scalar

When the transaction was recorded (ISO-8601 UTC timestamp).

Returned By

walletTransactions query

Member Of

WalletTransactionEdge object