Retrieves a disputes report.
aggregationField required | string Report aggregation field. |
periodMonth required | string Report month in |
limit | integer [ 0 .. 1000 ] Limits the number of collection items to be returned. |
offset | integer >= 0 Specifies the starting point within the collection of items to be returned. |
filter | string Filters the collection items. This field requires
a special format. Use For more information, see Using filter with collections. |
Report retrieved.
Unauthorized access. Invalid credentials used.
Access forbidden.
const params = { aggregationField: 'website', periodMonth: '2017-09', limit: 20, offset: 0, tz: 0 }; const report = await api.reports.getDisputes(params);
{- "data": [
- {
- "aggregationValue": "string",
- "countVisa": 0,
- "ratioCountVisa": 0,
- "ratioAmountVisa": 0,
- "countMastercard": 0,
- "ratioCountMastercard": 0,
- "ratioAmountMastercard": 0
}
]
}