Admin API / Types

WalletTransaction

Object

One entry in the caller's wallet ledger. Every amount is in the wallet's currency. Sales in a store that pays sellers directly do not enter the wallet.

Requires a client key with one of these scopes: admin:payouts:read

The requirement applies to every field of WalletTransaction unless that field declares its own scopes.

type WalletTransaction implements Node

Fields

FieldTypeDescription
createdAtDateTime!
When the entry was recorded.
descriptionString!
The ledger text, such as the order receipt ID and the buyer of a sale.
feeMoney!
The fee part of the entry, signed so that gross + fee = net: negative on a sale, positive on a refund that returns fees to the caller, and 0 otherwise.
grossMoney!
The amount before fees. Positive adds to the wallet; negative removes from it.
idID!
A globally unique ID. Treat this value as an opaque string.
netMoney!
The signed change to the wallet balance: gross + fee. A CANCELLED entry does not change the balance, so leave it out of a total. The net of a refund recorded before 2024-07-08 includes its processing-fee refund, which the ledger recorded as a separate entry that this list leaves out.
settledAtDateTime
When the entry settled. Null unless SETTLED.
settlesAtDateTime
When a PENDING entry is due to settle. Null for other statuses, when no time is set, and while a dispute holds the entry.
sourceWalletTransactionSource
What the entry came from. Null for an entry with no source, such as a manual credit.
statusWalletTransactionStatus!
The settlement state of the entry.
typeWalletTransactionType!
What the entry records.

Returned by