Retrieve a transactions report.
periodStart required | string <date-time> Report start day. |
periodEnd required | string <date-time> Report end day. |
aggregationField required | string Report aggregation field. |
limit | integer [ 0 .. 1000 ] The collection items limit. |
offset | integer >= 0 The collection items offset. |
filter | string The collection items filter requires a special format. Use "," for multiple allowed values. Use ";" for multiple fields. See the filter guide for more options and examples about this format. |
Report was retrieved successfully.
Pagination-Total | integer Total items count. Example: 332 |
Pagination-Limit | integer Items per page limit. Example: 100 |
Pagination-Offset | integer Pagination offset. Example: 2 |
Unauthorized access, invalid credentials were used.
Access forbidden.
const params = { aggregationField: 'website', periodStart: '2017-09-22T00:00:00Z', periodEnd: '2017-09-29T23:59:59Z', limit: 20, offset: 0, tz: 0 }; const report = await api.reports.getTransactions(params);
{- "data": [
- {
- "aggregationFieldValue": "string",
- "authApprovedThroughput": 0,
- "approvedThroughput": 0,
- "authApprovalCount": 0,
- "disputesRate": 0,
- "disputesCount": 0,
- "salesCount": 0,
- "salesValue": 0,
- "salesAverage": 0,
- "refundsCount": 0,
- "refundsValue": 0,
- "amount": 0,
- "count": 0,
- "unapprovedCount": 0
}
]
}