whitemarket Документація для партнерів

Returns list of wallet transactions on WhiteMarket

query {
	wallet_transactions(
		search: {
			currency: USD # Currency
			status: CANCELED # 
			reason: DEPOSIT # 
			feeType: DEPOSIT # 
		}
		forwardPagination: {
			first: 50 # How many records to retrieve
			after: "Cursor value from response (pageInfo -> endCursor)" # Cursor
		}
	) {
		# instance of WalletTransactionConnectionEdge
		edges {
			# instance of WalletTransaction
			node {
				# Transaction ID
				id # 1ed4bd11-0a0e-658a-9e45-0242ac1d0004
				# instance of PersonPublic
				person {
					# Person ID
					id # 1ee73dc5-a7ca-6ba6-ae97-0242ac17000b
					# Steam ID
					steamId # 76561199128574729
					# Person's name in Steam
					steamName # SuperSonic
					# Person's level in Steam
					steamLevel # 42
					# Person's registration date in Steam
					steamRegisteredAt # 2023-11-29T23:33:27+0000
					# Person's medium steam avatar icon url
					steamAvatar # https://avatars.akamai.steamstatic.com/b04ab65367b1a551f8d5cd2ab972ee8cb38e335e_medium.jpg
				}
				# instance of PersonPublic
				counterparty {
					# Person ID
					id # 1ee73dc5-a7ca-6ba6-ae97-0242ac17000b
					# Steam ID
					steamId # 76561199128574729
					# Person's name in Steam
					steamName # SuperSonic
					# Person's level in Steam
					steamLevel # 42
					# Person's registration date in Steam
					steamRegisteredAt # 2023-11-29T23:33:27+0000
					# Person's medium steam avatar icon url
					steamAvatar # https://avatars.akamai.steamstatic.com/b04ab65367b1a551f8d5cd2ab972ee8cb38e335e_medium.jpg
				}
				# instance of Money
				amount {
					# Decimal value
					value # 42.42
					# Currency
					currency # USD
				}
				# instance of Money
				fee {
					# Decimal value
					value # 42.42
					# Currency
					currency # USD
				}
				# Status
				status # SUCCESS
				# Reason
				reason # MARKET_PRODUCT
				# Created at
				createdAt # 2023-11-29T23:33:27+0000
				# Transaction reason comment. Currently available for withdrawal
				comment # Some comment
			}
			# The edge cursor
			cursor # YXJyYXljb25uZWN0aW9uOjk=
		}
		# instance of PageInfo
		pageInfo {
			# When paginating forwards, are there more items?
			hasNextPage # true
			# When paginating backwards, are there more items?
			hasPreviousPage # false
			# When paginating backwards, the cursor to continue.
			startCursor # YXJyYXljb25uZWN0aW9uOjEw
			# When paginating forwards, the cursor to continue.
			endCursor # YXJyYXljb25uZWN0aW9uOjE5
		}
		# Total count of items in the connection.
		totalCount # 123456
	}
}