{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/Transaction",
"title": "Transaction",
"type": "object",
"properties": {
"amount": {
"description": "This container shows the dollar value and currency type of the monetary transaction. This field is always returned even when eBay has yet to initiate a payout for the order.",
"$ref": "#/components/schemas/Amount"
},
"bookingEntry": {
"type": "string",
"description": "The enumeration value returned in this field indicates if the monetary transaction amount is a (CREDIT) or a (DEBIT) to the seller's account. Typically, the SALE and CREDIT transaction types are credits to the seller's account, and the REFUND, DISPUTE, SHIPPING_LABEL, and TRANSFER transaction types are debits to the seller's account. For implementation help, refer to eBay API documentation"
},
"buyer": {
"description": "This is the unique eBay user ID for the buyer who purchased the order. This field is not returned for TRANSFER monetary transaction types.",
"$ref": "#/components/schemas/Buyer"
},
"eBayCollectedTaxAmount": {
"description": "This is the amount of sales tax that has been collected by eBay for an order.
Note: Sales tax applies only to SALE and REFUND transactions (transactionType).",
"$ref": "#/components/schemas/Amount"
},
"feeJurisdiction": {
"description": "This container stores information about region-specific fees that are charged to sellers.
This is returned for fees (i.e., FeeTypeEnum values,) that are mandated by a seller's governing jurisdiction.
For example:
INCOME_TAX_WITHHOLDINGTAX_DEDUCTION_AT_SOURCEVAT_WITHHOLDING0 will be returned in this field. The Sales Record Number field has also been removed from Seller Hub. Instead of salesRecordReference, depend on orderId instead as the identifier of the order. The salesRecordReference field has been scheduled for deprecation, and a date for when this field will no longer be returned at all will be announced soon."
},
"taxes": {
"type": "array",
"description": "This array shows the tax type and amount applicable to the transaction. 0.0 (no fees deducted from seller payout).",
"$ref": "#/components/schemas/Amount"
},
"totalFeeBasisAmount": {
"description": "This amount is the total amount for the order before selling fees are deducted from the seller payout associated with the order.",
"$ref": "#/components/schemas/Amount"
},
"transactionDate": {
"type": "string",
"description": "This timestamp indicates when the monetary transaction (order purchase, buyer refund, seller credit) occurred. The following (UTC) format is used: YYYY-MM-DDTHH:MM:SS.SSSZ. For example, 2015-08-04T19:09:02.768Z."
},
"transactionId": {
"type": "string",
"description": "The unique identifier of the monetary transaction. A monetary transaction can be a sales order, an order refund to the buyer, a credit to the seller's account, a debit to the seller for the purchase of a shipping label, or a transaction where eBay recouped money from the seller if the seller lost a buyer-initiated payment dispute."
},
"transactionMemo": {
"type": "string",
"description": "This field provides more details on shipping label transactions and transactions where the funds are being held by eBay. For shipping label transactions, the transactionMemo gives details about a purchase, a refund, or a price adjustment to the cost of the shipping label. For on-hold transactions, the transactionMemo provides information on the reason for the hold or when the hold will be released (e.g., \"Funds on hold. Estimated release on Jun 1\").TransactionStatusEnum type for more information on the different states. For implementation help, refer to eBay API documentation"
},
"transactionType": {
"type": "string",
"description": "This enumeration value indicates the type of monetary transaction. Examples of monetary transactions include a buyer's payment for an order, a refund to the buyer for a returned item or cancelled order, or a credit issued by eBay to the seller's account. For a complete list of monetary transaction types within the Finances API, see the TransactionTypeEnum type. For implementation help, refer to eBay API documentation"
}
},
"description": "This type is used to express the details of one of the following monetary transactions: a buyer's payment for an order, a refund to the buyer for a returned item or cancelled order, or a credit issued by eBay to the seller's account."
}