Get Transactions List
The following APIs returns you a paginated list of transactions/orders. Each page has a maximum of 20
items. You can use total_pages
from the response data as a reference to keep track of the pages.
get
Query parameters
pagenumberOptional
Header parameters
AuthorizationstringRequired
Authorization token in Bearer format. Example: Bearer dvakycjgw8liyd278y
Responses
200
Default Response
application/json
400
Bad Request. Wrong/Invalid params format.
application/json
401
UnAuthorized request. Invalid/Expired token
application/json
403
Forbidden Request. Action not allowed or Rate Limit exhausted.
application/json
500
Server Error.
application/json
get
GET /api/seller/legacy/transactions/ HTTP/1.1
Host: services.driffle.com
Authorization: text
Accept: */*
{
"message": "text",
"statusCode": 1,
"data": [
{
"created": "text",
"txn_id": "text",
"order_id": "text",
"order_item_id": 1,
"title": "text",
"txn_type": 1,
"country": "text",
"amount_base": 1,
"paid_amount": 1,
"commission_base": 1,
"related_to": "text",
"reason": "text",
"vatAmountBase": 1,
"campaignFee": 1
}
],
"total_pages": 1
}
GET
/transactions
Headers
Name
Value
Content-Type
application/json
Authorization
Bearer <token>
Supported arguments
Param
Param Type
Type
Required
Description
page
query
Number
No
Page number. Default value: 1
Response
{
"message": "string",
"statusCode": 200,
"data": [
{
"created": "string",
"txn_id": "string",
"order_id": "string",
"order_item_id": "number",
"title": "string",
"txn_type": "number",
"country": "string",
"amount_base": "number",
"paid_amount": "number",
"commission_base": "number",
"related_to": "string",
"reason": "string",
"vatAmountBase": "number",
"campaignFee": "number"
}
],
"total_pages": 0
}
Last updated