Reports

Get transaction summary for query params

Changed on
get/v1/report/transactions-summary

Request

  • Base URL
    http://ledger_url
  • URL
    http://ledger_url/v1/report/transactions-summary
  • Auth
    none 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 return summary for all accounts.

override_from_date_validationboolean

Set to true to make from_date non-mandatory.

Response

OK

net_incomeinteger

Example response

{
  "moto_payments": {
    "count": 1,
    "gross_amount": 2000
  },
  "net_income": 6000,
  "payments": {
    "count": 1,
    "gross_amount": 2000
  },
  "refunds": {
    "count": 1,
    "gross_amount": 2000
  }
}

Changes

    • warning

      added the new AMOUNT_BELOW_MINIMUM_FOR_ADYEN enum value to the response property for the response status

    • warning

      added the new AMOUNT_BELOW_MINIMUM_FOR_ADYEN enum value to the response property for the response status

    • warning

      added the new AMOUNT_BELOW_MINIMUM_FOR_STRIPE enum value to the response property for the response status

    • warning

      added the new AMOUNT_BELOW_MINIMUM_FOR_STRIPE enum value to the response property for the response status

    • info

      removed the AMOUNT_BELOW_MINIMUM enum value from the response property for the response status

    • info

      removed the AMOUNT_BELOW_MINIMUM enum value from the response property for the response status

    • warning

      added the new AMOUNT_BELOW_MINIMUM enum value to the response property for the response status

    • warning

      added the new AMOUNT_BELOW_MINIMUM enum value to the response property for the response status