Invoice Statistics

This request returns the total invoice amount from the very first credit purchase that was performed by the user up to the most recent. It also returns, the invoice amount over the last 7 days.

HTTP Request

URLMethodDescription GET Get total invoice amount

Sample Request


#Retrieving the XSRF Token needed for Session
pingResponse = my_session.get("")

#Import the X-XSRF-Token returned from RememberMeController/ping into the request headers
xsrfToken = pingResponse.headers.get("X-XSRF-TOKEN")

#HTTP request header
header = {"Content-Type" : "application/json", "X-XSRF-TOKEN" : xsrfToken}
response = my_session.get(url, headers=header).json()

Sample Response



In case of an error, information may be derived by the HTTP Status in the result of each request (e.g. HTTP 400 – Bad Request).

Back to Top