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 https://services.driffle.com/api/seller/legacy/transactions/
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
Authorization | header | string | Yes | Authorization token in Bearer <token> format. Example: Bearer dvakycjgw8liyd278y |
page | query | number | No |
Responses (application/json)
- 200
- 400
- 401
- 403
- 500
Default Response
| Field | Type | Required | Description |
|---|---|---|---|
message | string | No | |
statusCode | number | No | |
data | array of object | No | |
data[].created | string | No | |
data[].txn_id | string | No | |
data[].order_id | string | No | |
data[].order_item_id | number | No | |
data[].title | string | No | |
data[].txn_type | number | No | |
data[].country | string | No | |
data[].amount_base | number | No | |
data[].paid_amount | number | No | |
data[].commission_base | number | No | |
data[].related_to | string | No | |
data[].reason | string | No | |
data[].vatAmountBase | number | No | |
data[].campaignFee | number | No | |
total_pages | number | No |
Bad Request. Wrong/Invalid params format.
| Field | Type | Required | Description |
|---|---|---|---|
message | string | No | Response message |
statusCode | number | No | Response status code |
UnAuthorized request. Invalid/Expired token
| Field | Type | Required | Description |
|---|---|---|---|
message | string | No | Response message |
statusCode | number | No | Response status code |
Forbidden Request. Action not allowed or Rate Limit exhausted.
| Field | Type | Required | Description |
|---|---|---|---|
message | string | No | Response message |
statusCode | number | No | Response status code |
Server Error.
| Field | Type | Required | Description |
|---|---|---|---|
message | string | No | Response message |
statusCode | number | No | Response status code |
Sample request
GET /api/seller/legacy/transactions/ HTTP/1.1
Host: services.driffle.com
Authorization: text
Accept: */*
Sample response (200)
{
"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 |
| orderItemIds | query | String | No | Comma seprated string like: '123,124,125' |
Response
- 200
- 400
- 401
- 403
- 500
{
"message": "string",
"statusCode": 200,
"data": [
{
"created": "string",
"txn_id": "string",
"order_id": "string",
"order_item_id": "number",
"title": "string",
"txn_type": "number",
"txn_type_label": "string",
"country": "string",
"amount_base": "number",
"paid_amount": "number",
"commission_base": "number",
"related_to": "string",
"reason": "string",
"vatAmountBase": "number",
"campaignFee": "number"
}
],
"total_pages": 0
}
{
"message": "Bad Request. Wrong/Invalid params format.",
"statusCode": 400
}
{
"message": "UnAuthorized request. Invalid/Expired token",
"statusCode": 401
}
{
"message": "Forbidden Request. Action not allowed or Rate Limit exhausted.",
"statusCode": 403
}
{
"message": "Internal Server Error",
"statusCode": 500
}
Last updated 26 August 2026