Developers Program

Getting Transaction data with GetAccount

Published: January 27 2011, 10:17:00 PMยทUpdated: September 07 2022, 5:46:39 AM

Products

Question

Correlate the fees from GetAccount to a specific sale/order in GetSellerTransactions or GetOrders

Answer

Starts on Trading API 705 release, GetAccount returns TransactionID and OrderLineItemID for Final Fee

TransactionID and ItemID can be used together to find the transaction details via GetSellerTransactons or GetItemTransactions API call. OrderLineItemID can be specified in <OrderID> input field in GetOrders API to query an order details.

Here is a sample AccountDetailsEntryType node returned in the GetAccount response:

- <AccountEntry>
<AccountDetailsEntryType>FeeFinalValue</AccountDetailsEntryType>
<Description>Final Value Fee</Description>
<Balance currencyID="USD">3627.98</Balance>
<Date>2022-09-07T910:06:13.000Z</Date>
<GrossDetailAmount currencyID="USD">2.68</GrossDetailAmount>
<ItemID>320636518109</ItemID>
<Memo>806 Final price: $48.69 (Fixed Price)</Memo>
<NetDetailAmount currencyID="USD">2.68</NetDetailAmount>
<RefNumber>116211089121</RefNumber>
<VATPercent>0</VATPercent>
<Title>xxxxxxxx</Title>
<OrderLineItemID>320636518109-645874212010</OrderLineItemID>
<TransactionID>645874212010</TransactionID>
</AccountEntry>
How well did this answer your question?