Get transaction list
Method: GET

HTTP Request

1
https://api.accesstrade.vn/v1/transactions
Copied!

Note: Limit: 30 request / 1 minute

Query Parameters

Parameters that are input into HTTP Request based on Key-Value sets, begin the params with the sign “?” and each parameter is separated with a “&” sign. Ex:
1
https://api.accesstrade.vn/v1/transactions?since=2021-01-01T00:00:00Z&until=2021-01-03T00:00:00Z
Copied!
Params
Required
Mô tả
since
Required
Time that the report began, based on sale time (ISO format), eg “2016-08-01T00:00:00Z”.
until
Requiredc
Time that the report ended, based on sale time (ISO format), eg “2016-08-02T00:00:00Z
page
Optional
Page number, default None.
offset
Optional
Offset value, default 0.
limit
Optional
Number of results returned each time, default 100.
merchant
Optional
Merchant name ex: tikivn
utm_source
Optional
Ex: facebook
utm_campaign
Optional
utm_medium
Optional
Ex: email
utm_content
Optional
status
Optional
Trạng thái giao dịch: 0 - hold, 1 - approved, 2 - rejected
is_confirmed
Optional
Status of the transaction: 0 - hold, 1 - approved, 2 - rejected
transaction_id
Optional
Transaction ID, can be filter 1 (transaction_id=1234567) or many (transaction_id=1234567, 7654321) using a coma ‘,’ to separate the ids.
update_time_start
Optional
The time the report begun based on the update transaction time (ISO format), eg “2016-08-14T00:00:00Z”.
update_time_end
Optional
The time the report ended based on the update transaction time (ISO format)

Describe results

Parameters
Description
total
Number of conversions, based on each product.
data.id
Conversion id.
data.status
Conversion status, 0: Pending or hold, 1: Approved, 2: Rejected.
data.merchant
Merchant name
data.click_time
Time the click occurred, based on ISODate.
data.transaction_id
ID of transaction (Order)
data.transaction_time
Time the transaction occurred, based on ISODate.
data.update_time
Time the transaction information is updated
data.confirmed_time
Time the transaction is approved
data.is_confirmed
Transaction status: 0 - not confirmed, 1 - confirmed
data.transaction_value
Value of the transaction.
data.commission
Commission for publisher
data.product_id
ID of the product
data.product_price
Price of the product.
data.product_quantity
Quantity of product.
data._extra
Information related to the operating system and browser
data._utm*
Value of utm parameters.
RESPONSE
1
{
2
"total": 1,
3
"data": [
4
{
5
"id": "759720136818247525cdca9532a5d82a",
6
"status": 0,
7
"merchant": "tikivn",
8
"utm_term": "",
9
"utm_content": "",
10
"utm_source": "",
11
"utm_campaign": "",
12
"utm_medium": "",
13
"click_time": "2016-08-01T16:53:30",
14
"transaction_id": "32964233",
15
"transaction_value": 586364,
16
"transaction_time": "2016-08-01T16:57:50",
17
"update_time": "2016-08-03T14:37:20",
18
"confirmed_time": "2016-08-01T16:57:50",
19
"is_confirmed": 0,
20
"commission": 23454,
21
"product_id": "1975",
22
"product_price": 586364,
23
"product_quantity": 1,
24
"_extra": {
25
"device_model": null,
26
"device_family": "Other",
27
"device_brand": null,
28
"device_type": "pc",
29
"device": "None Other",
30
"os": "Windows 7",
31
"browser": "Chrome"
32
}
33
}
34
]
35
}
Copied!

Example (Using Postman tool to call the API)

Copy link
Contents