Transaction record

Transaction record

post

Description: Query transaction details (only details within three months can be queried)

group=tradeApi 
version=0.0.1 
bizType=tradeapi.admin.OrderAdminApiService.queryDirectTradeRecord 
Header parameters
companyIdstringRequired

Company ID

Example: {{company}}
tracestringRequired

Global link unique identifier

Example: {{mock_trace}}
apiKeystringRequired

apiKey

Example: {{apikey}}
recvWindowstringOptional

time window

Example: 5000
signaturestringRequired

sign

Example: {{sign}}
langstringOptional

language

Example: zh-CN
versionstringRequired

Interface version

Example: 0.0.1
groupstringRequiredExample: tradeApi
Body
tradeTypeinteger · longRequired

Game type. 10-Transaction Bridge;

exchangeIdstringRequired

Platform identifier. binance-Binance; okx-OUYi

accountNamestringRequired

Platform account alias

customerIdinteger · longOptional

CustomerId

customerNostringRequired

Customer code

customerGroupIdinteger · longRequired

Customer group ID

symbolIdinteger · longRequired

ProductId

startTimeinteger · longOptional

The start timestamp of filtering, a 13-digit timestamp. The time interval set between startTime and endTime cannot exceed 24 hours.

endTimeinteger · longOptional

The end timestamp of filtering, a 13-digit timestamp. The time interval set between startTime and endTime cannot exceed 24 hours.

limitinteger · longOptional

The number of results returned, default 20, maximum 100. If it is less than 1 or greater than 100, only 20 items will be returned.

Responses
200Success
application/json
post
POST /global/tradeapi.admin.OrderAdminApiService.queryDirectTradeRecord HTTP/1.1
Host: 
companyId: text
trace: text
apiKey: text
signature: text
version: text
group: text
Content-Type: application/json
Accept: */*
Content-Length: 160

{
  "tradeType": 1,
  "exchangeId": "text",
  "accountName": "text",
  "customerId": 1,
  "customerNo": "text",
  "customerGroupId": 1,
  "symbolId": 1,
  "startTime": 1,
  "endTime": 1,
  "limit": 1
}
200Success
{
  "bizCode": "text",
  "code": "text",
  "msg": "text",
  "tm": 1,
  "trace": "text",
  "msgParams": "text",
  "ok": true,
  "fail": true,
  "data": [
    {
      "exchangeId": "text",
      "tradeId": "text",
      "orderId": "text",
      "executePrice": "text",
      "executeNum": "text",
      "executeAmount": "text",
      "executeTime": 1,
      "symbolId": 1,
      "commission": "text",
      "commissionCurrency": "text"
    }
  ]
}

Last updated