如何识别 Voids 和 Comp 交易?

How to identify Voids and Comp transaction?

我正在使用 GET /v1/{location_id}/payments 列出所有付款。

我无法从列表中识别出 Voids/Comps 笔交易。另外如何使用 API?

获取项目总数 Comped/Voided 以及数量和原因

Comped 和 Voided 交易目前无法通过 API 识别。