Skip to content

Get TradeIn Account Transactions

GET
/finance/202609/account_transactions

Retrieves account transaction records for the currently authorized TradeIn supplier. The supplier identity and associated seller identity are resolved from the authorization context. The caller cannot specify seller_id. Only account transactions generated by the TradeIn business are returned.

shop_cipher
required
string

Identifies the shop. Obtain it from the Get Authorized Shops API.

start_time
string format: date-time

Filter account transactions created on or after this time. Use RFC 3339 format with timezone.

end_time
string format: date-time

Filter account transactions created before this time. Use RFC 3339 format with timezone.

flow_type
string
Allowed values: RECHARGE WITHDRAW REVERSE

Filters account transactions by business transaction type. Allowed values: RECHARGE, WITHDRAW, REVERSE. If omitted, all supported transaction types are returned.

page_size
required
integer format: int64

The number of account transactions to return per page.

page_token
string

An opaque token returned by the previous request. Omit it when requesting the first page.

Success

Media typeapplication/json
object
code

Status code; 0 means success.

integer format: int64
message

Success or failure message.

string
request_id

Request log ID.

string
data
object
flows

The TradeIn account transactions that match the query conditions. An empty array is returned when no transaction matches.

Array<object>
object
amount

The transaction amount and currency. Use direction to determine whether the transaction is a credit or debit.

object
amount

The transaction amount represented as a decimal string.

string
currency

The currency code in ISO 4217 format.

string
create_time

The time when the account transaction was created, in RFC 3339 format.

string format: date-time
direction

The direction of the account transaction.

  • IN: Funds credited to the supplier’s account.
  • OUT: Funds debited from the supplier’s account.
string
origin_transaction_id

The original account transaction ID associated with a reversed transaction. This field is returned only for a REVERSE transaction when available.

string
reference_id

The TradeIn business order ID associated with the account transaction.

string
transaction_id

The unique ID of the account transaction.

string
type

The TradeIn business transaction type.

  • RECHARGE: Funds credited through a recharge.
  • WITHDRAW: Funds debited through a payout.
  • REVERSE: Funds returned after a payout reversal.
string
has_more

Whether more account transactions are available.

boolean
next_page_token

An opaque token used to retrieve the next page. The value is empty when no more account transactions are available.

string
total_count

The total number of account transactions that match the query conditions.

integer format: int64
Example
{
"code": 0,
"data": {
"flows": [
{
"amount": {
"amount": "125.50",
"currency": "USD"
},
"create_time": "2026-09-01T10:15:30Z",
"direction": "IN",
"origin_transaction_id": "7894561230123456001",
"reference_id": "TI202609010001",
"transaction_id": "7894561230123456789",
"type": "RECHARGE"
}
],
"has_more": true,
"next_page_token": "6AsPQsUMvH3RkchNUPPh22NROHkE0D8pmqN5M1kHYcZmtRyv9aVrNv65W7Q6tFA",
"total_count": 100
},
"message": "Success",
"request_id": "202203070749000101890810281E8C70B7"
}