Payment analysis (cursor)
Developing
Table of aggregates per payment method for the selected period.
Request
Add the parameter Authorization
to Headers Example:Authorization: ********************
or
Add parameter in cookie access_token
Example:access_token: ********************
or
Request Code Samples
curl --location --request GET 'https://mock.apidog.com/m1/1052146-0-default/payments/analysis?cursor&limit&sortKey&sortDir&date_from&date_to&status&paymentMethod' \
--header 'Authorization: Bearer <token>'
Responses
{
"success": true,
"code": "LOGIN_OK",
"message": "Authenticated",
"data": {
"rows": [
{
"id": "string",
"paymentMethod": "cash",
"salesPmt": 2500000,
"paidIn": 3200000,
"paidOut": 450000,
"cashBack": 25000,
"balance": 2725000,
"status": "ok"
}
],
"nextCursor": "string",
"hasNext": true
},
"meta": {
"page": 1,
"perPage": 50,
"total": 1
}
}
Modified at 2025-10-06 16:07:22