Reports
Get transaction summary for query params
get/v1/report/transactions-summary
Query parameters
account_idstring
Gateway account ID. Required when override_account_id_restriction is 'false'
include_moto_statisticsboolean
Set to true to return statistics for moto transactions
from_datestring
From date of transactions to be searched (this date is exclusive).
to_datestring
To date of transactions to be searched (this date is exclusive).
override_account_id_restrictionboolean
Set to true to return summary for all accounts.
override_from_date_validationboolean
Set to true to make from_date non-mandatory.
Response
OK
Example response
{
"moto_payments": {
"count": 1,
"gross_amount": 2000
},
"net_income": 6000,
"payments": {
"count": 1,
"gross_amount": 2000
},
"refunds": {
"count": 1,
"gross_amount": 2000
}
}