Get customer stats
Retrieves the basic statistics for a customer over a date range, grouped by a frequency. This is a Pay In view: it counts the customer’s approved transactions and returns one row per time bucket. Volume here is the gross amount, before fees.
Authentication
Bearer authentication of the form Bearer <token>, where token is your auth token.
Long-lived API token sent in the requestToken header. See API token authentication.
Path parameters
Payabli-generated customer ID. Maps to “Customer ID” column in the Payabli Portal.
Frequency to group series. Allowed values:
m- monthlyw- weeklyd- dailyh- hourly
For example, w groups the results by week.
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
Response
The time bucket for this row, formatted according to the query’s freq (for example, 2026-9 for a monthly bucket). The response returns one object per bucket across the requested range.
Total gross value of the customer’s approved transactions. Unlike /Statistic/basic, this volume is the gross amount, before fees.