Insights

Retrieve insights about charges broken down by charge auth token and member cost groups of a team.

Required scope: insights:read

Returns charge insights for the given teamId (and optionally chargeAuthTokenIds) broken down by charge auth token and the member cost groups. Takes only charges into consideration that were paid for by the provided teamId.

Note: Any values related to money are in the teams' currency. You can fetch them from GET /api/v1/teams/{teamId}

get/api/v1/insights/charges/charge-auth-token-report

Request

  • Base URL
    https://partner-api.monta.com
  • URL
    https://partner-api.monta.com/api/v1/insights/charges/charge-auth-token-report
  • Auth
    HTTP bearer

Query parameters

pageinteger

page number to retrieve (starts with 0)

perPageinteger

number of items per page (between 1 and 100, default 10)

teamIdinteger required

Filter to retrieve charges insights by the specified teamId

Example:13
fromDatestring date required

Filter to retrieve charge insights created from date, we expecta date in UTC and ISO8601 (YYYY-MM-DD'T'HH:MM:SS'Z')</br>The maximum gap between from and to data cannot be longer than 31 days

toDatestring date required

Filter to retrieve charge insights created to date, we expecta date in UTC and ISO8601 (YYYY-MM-DD'T'HH:MM:SS'Z')</br>The maximum gap between from and to data cannot be longer than 31 days

datesFilteredBy'charge-transaction' | 'wallet-transaction'

Response

Charge Auth Token report for the given filter

Example response

{
  "data": [
    {
      "id": 1,
      "identifier": "38C58DB85F4",
      "type": "vehicleId"
    }
  ]
}

Changes

No recorded changes to this operation across all 2 revisions of this API.