Get customer stats
Retrieves the basic statistics for a customer for a specific time period, grouped by a selected frequency.
Authentication
requestTokenstring
API Key authentication via header
Path parameters
customerId
Payabli-generated customer ID. Maps to "Customer ID" column in PartnerHub.
freq
Frequency to group series. Allowed values:
m- monthlyw- weeklyd- dailyh- hourly
For example, w groups the results by week.
mode
Mode for request. Allowed values:
ytd- Year To Datemtd- Month To Datewtd- Week To Datetoday- All current daym12- Last 12 monthsd30- Last 30 daysh24- Last 24 hourslasty- Last Yearlastm- Last Monthlastw- Last Weekyesterday- Last Day
Query parameters
parameters
List of parameters.
Response
Success
count
interval
volume
Errors
400
Bad Request Error
401
Unauthorized Error
500
Internal Server Error
503
Service Unavailable Error