Transactions
Overview
The Transactions API allows you to retrieve, create, and manage financial transactions in SellerCenter. Transactions represent financial movements including commissions, fees, refunds, and other monetary operations associated with orders, products, and account statements.
In SellerCenter, transactions are central to financial operations:
- Transaction retrieval: Query transactions by various filters including date ranges, order items, statements, and transaction types
- Transaction creation: Create manual transactions (admin only) for adjustments and corrections
- Order item transactions: Retrieve transactions specifically related to order items with detailed breakdowns
- Transaction tracking: Track transactions across different statement types (marketplace or consignment)
Transaction Sources:
sellercenter: Transactions created automatically by SellerCenterweb: Transactions created through the web interfacecsv: Transactions imported via CSVapi: Transactions created via API (v2.1 endpoint)
Statement Types:
marketplace: Transactions associated with marketplace account statementsconsignment: Transactions associated with consignment account statements
Important: Transaction creation via API is restricted to admin users and requires request signing. Transaction types and account statement groups can be retrieved from their respective endpoints.
Retrieve Transactions
GET /v2/finance/transactions
Summary: Retrieve transactions
Description: Retrieve a paginated list of transactions for a specified period and statement IDs. This endpoint provides extensive filtering options to find specific transactions based on dates, order items, products, transaction types, and more.
Parameters:
statementIds[](query, optional): List of financial statement IDs associated with transactionssellerId(query, optional): Seller ID (admin only - automatically set to current seller for non-admins)startDate(query, optional): Start date of the period (ISO 8601 format)endDate(query, optional): End date of the period (ISO 8601 format)source(query, optional): Transaction source (sellercenter,web, orcsv)country(query, optional): Country filterorderItemId(query, optional): Order item ID filterorderItemSrcId(query, optional): Order item source ID filterorderNumbers[](query, optional): Order numbers filternumbers[](query, optional): Transaction numbers filtertypeIds[](query, optional): Transaction type IDs filterisHybrid(query, optional): Filter by order item is_hybrid fieldisOutlet(query, optional): Filter by order item is_outlet fieldisPaid(query, optional): Filter by paid statement statusproduct[](query, optional): Filter by product name/shop SKU/seller SKUstatementType(query, optional): Statement type filter (marketplaceorconsignment, default:marketplace)sort(query, optional): Sort field (idordate)sortDir(query, optional): Sort direction (ascordesc)limit(query, optional): Maximum number of items to returnoffset(query, optional): Number of items to skip
Note:
- Returns paginated results with transaction details
- Supports filtering by multiple criteria simultaneously
- Transaction amounts include VAT and WHT breakdowns
- Statement ID of 0 represents the current statement
- Use
statementIds[]to filter by multiple statements (e.g.statementIds[]=1&statementIds[]=2&statementIds[]=3)
Retrieve Transaction Paginatable Collection (v2.1)
GET /v2.1/finance/transactions
Summary: Retrieve transaction paginatable collection
Description: Retrieve a paginated list of transactions with enhanced filtering capabilities. This is the v2.1 version of the transactions endpoint with improved filtering options and response structure.
Parameters:
statementType(query, optional): Filter by statement type (marketplace,consignment, orall, default:marketplace)sellerId(query, optional): Seller ID filter (admin only)gteCreatedAt(query, optional): Filter by creation date greater than or equal (seller center timezone)lteCreatedAt(query, optional): Filter by creation date less than or equal (seller center timezone)country(query, optional): Country filtersource(query, optional): Transaction source (sellercenter,api,web, orcsv)orderItemIds[](query, optional): Order item IDs filterorderItemSrcIds[](query, optional): Order item region IDs filterorderNumbers[](query, optional): Order numbers filternumbers[](query, optional): Transaction numbers filterproducts[](query, optional): Filter by product (region SKU, seller SKU, or name)statementId(query, optional, deprecated): Account statement ID (0 represents current statement). Use statementIds[] instead.statementIds[](query, optional): Filter by multiple account statement identifiers (0 represents current statement)accountStatementGroupIds[](query, optional): Filter by account statement group IDs.transactionTypeIds[](query, optional): Transaction type IDs filterisOutlet(query, optional): Filter by outlet order items (default: false)isHybrid(query, optional): Filter by hybrid order items (default: false)isPaid(query, optional): Filter by paid account statements (default: false)sort(query, optional): Sort field (createdAt,transactionType,transactionNumber, oramount, default:createdAt)sortDir(query, optional): Sort direction (ascordesc, default:desc)limit(query, optional): Maximum items to return (default: 100)offset(query, optional): Items to skip (default: 0)
Note:
- Enhanced version with more filtering options and improved response structure
- Returns detailed transaction information including account statement details
- Supports filtering by multiple criteria with better performance
- Includes account statement payment status and dates
Retrieve Order Item Transactions
GET /v2/finance/order-item-transactions
Summary: Retrieve transactions
Description: Retrieve transactions specifically related to order items with detailed financial breakdowns including commissions, fees, VAT, WHT, and payout amounts. This endpoint is optimized for order-item-level financial analysis.
Parameters:
statementId(query, optional, deprecated): Account statement ID (0 represents current statement). Use statementIds[] instead.statementIds[](query, optional): Filter by multiple account statement identifiers (0 represents current statement)startDate(query, optional): Start date without timezoneendDate(query, optional): End date without timezoneproducts[](query, optional): Product filterproductSkus[](query, optional): Product SKUs filterorderNumbers[](query, optional): Order numbers filterpayoutStatus(query, optional): Payout status (paid,unpaid, orpartiallyPaid)shipmentTypes[](query, optional): Shipment types (dropshipping,cross-docking, orwarehouse)status[](query, optional): Status of an Order Item (pending,shipped,canceled,returned,failed,delivered,ready_to_ship,return_shipped_by_customer,return_waiting_for_approval,return_rejected,return_delivered, orpayment_pending)isHybrid(query, optional): Filter by is_hybrid fieldisOutlet(query, optional): Filter by is_outlet fieldstatementType(query, optional): Statement type (marketplace,consignment, orall, default:marketplace)sort(query, optional): Sort field (id,date,orderNumber,orderDate,payoutStatus,price,commission,fees, orpayoutAmount)sortDir(query, optional): Sort direction (ascordesc)statementPeriodStart(query, optional): Statement period start datestatementPeriodEnd(query, optional): Statement period end datecountry(query, optional): Deprecated country filterlimit(query, optional): Maximum items to returnoffset(query, optional): Items to skip
Note:
- Returns transactions with order item context
- Includes detailed breakdown: commission, fees, VAT, WHT, and payout amounts
- Useful for analyzing financial performance at the order item level
- Supports filtering by payout status, shipment types, and order item status
- Use
statementIds[]to filter by multiple statements (e.g.statementIds[]=1&statementIds[]=2) pagination.totalCountis deprecated, always returns0, and will be removed in the future. Usepagination.hasNextto check whether another page exists
Create Transaction
POST /v2/finance/transaction
Summary: This endpoint will return a collection of transactions.
Description: Create a new transaction manually. This endpoint is restricted to admin users and requires request signing. Use this endpoint to create adjustments, corrections, or manual financial entries.
Request Body:
sellerId(required): Seller identifiertransactionTypeId(required): Transaction type identifier (get from/v2/finance/transaction/types)accountStatementGroupId(required): Account statement group identifier (get from/v2/finance/transactions/account-statement-groups)value(required): Transaction value (positive or negative)currency(required): Transaction currency (must be supported by seller)description(optional): Transaction descriptionreferenceId(optional): Reference identifier (required for order/product context)vatTax(optional): VAT tax valuewhtTax(optional): WHT tax value
Note:
- Admin only: This endpoint is restricted to admin users
- Request signing required: Must include request signature
- Currency must be supported by the seller, otherwise transaction creation will fail
- Transaction type and account statement group IDs can be retrieved from their respective endpoints
- Returns the created transaction object
Get Transactions by Order Item IDs
GET /v2/transactions (Deprecated)
Deprecated: This endpoint is deprecated and will be removed in a future release. Use GET
/v2.1/finance/transactionswith theorderItemIds[]filter instead.
Summary: This endpoint will return a collection of transactions which belongs to an order item.
Description: Search for transactions by order item IDs. This endpoint returns all transactions associated with the specified order items. If you request transactions from another seller, you will receive an empty response.
Parameters:
orderItemIds[](query, required): Array of order item IDs (minimum 1 required)
Note:
- Returns transactions for order items belonging to your seller account
- Empty response if order items belong to another seller
- Useful for retrieving all financial transactions related to specific order items
- Returns an array of transaction objects