Reports
Get number of payments by transaction (payment) state
Changed onget/v1/report/payments_by_state
Request
- Base URLhttp://ledger_url
- URLhttp://ledger_url/v1/report/payments_by_state
- Authnone declared
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 get counts for all gateway accounts.
Response
OK
object required
Example response
{
"timedout": 0,
"submitted": 0,
"declined": 0,
"created": 0,
"success": 1,
"cancelled": 0,
"started": 0,
"error": 0,
"undefined": 0,
"capturable": 0
}Changes
- warning
added the new
AMOUNT_BELOW_MINIMUM_FOR_ADYENenum value to theresponse property for the response status - warning
added the new
AMOUNT_BELOW_MINIMUM_FOR_STRIPEenum value to theresponse property for the response status - info
removed the
AMOUNT_BELOW_MINIMUMenum value from theresponse property for the response status
- warning
- warning
added the new
AMOUNT_BELOW_MINIMUMenum value to theresponse property for the response status
- warning