Admin API / Types
WalletTransaction
ObjectOne 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:readThe requirement applies to every field of WalletTransaction unless that field declares its own scopes.
type WalletTransaction implements NodeFields
| Field | Type | Description |
|---|---|---|
createdAt | DateTime! | When the entry was recorded. |
description | String! | The ledger text, such as the order receipt ID and the buyer of a sale. |
fee | Money! | 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. |
gross | Money! | The amount before fees. Positive adds to the wallet; negative removes from it. |
id | ID! | A globally unique ID. Treat this value as an opaque string. |
net | Money! | 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. |
settledAt | DateTime | When the entry settled. Null unless SETTLED. |
settlesAt | DateTime | When a PENDING entry is due to settle. Null for other statuses, when no time is set, and while a dispute holds the entry. |
source | WalletTransactionSource | What the entry came from. Null for an entry with no source, such as a manual credit. |
status | WalletTransactionStatus! | The settlement state of the entry. |
type | WalletTransactionType! | What the entry records. |