Merchant Portal services API

Turnover (sum) of all transactions

Changed on

Returns sum (Debit - Credit) of transactions by given dates (from-to).<br>

Required role for operation: MP_CORPORATE or TE_MERCHANT_TERMINAL_MANAGEMENT.<br> Create MPauditlog record with event type : DashboardTransactionTurnover (12).<br>

Supports authentication with the following types of tokens:

  • Bearer <token>, which is a Bearer token authentication. The bearer token is a cryptic string, usually generated by the server in response to a login request.

Returns periods: HOUR, DAY, MONTH, YEAR<br> Period is computed by the following criteria:<br>

  • If days between date (from-to) <= 1, returns period HOUR and sum of transactions by hours
  • If days between date (from-to) <= 31, returns period DAY and sum of transactions by days, datePart in format yyyy-MM-dd
  • If days between date (from-to) <= 365, returns period MONTH and sum of transactions by months, datePart in format yyyy-MM
  • Otherwise returns period YEAR and sum of transactions by years
post/public/transactionTurnover

Request

  • Base URL
    https://test.tecs.at/merchantservices
  • URL
    https://test.tecs.at/merchantservices/public/transactionTurnover
  • Auth
    HTTP bearer

Request body

transactionDateFromstring date-time required
transactionDateTostring date-time required
periodstring

Response

Successful operation

responseCodeinteger
responseMessagestring
transactionDateFromstring date-time
transactionDateTostring date-time
periodstring

Changes