Get top usage products
GET/wallet/usage-records/top-products
Fetch the products accounting for the most spend for the sub-account resolved from the access token.
Request
Version stringrequired
API Version
Available options
v3Top products retrieved successfully
- application/json
- Schema
- Example (auto)
Schema
productsarray[]required
Top products by spend for the sub-account.
monthsarray[]required
Months covered by the reported window, oldest first.
{
"products": [
{
"product": "Email",
"amount": 42.1,
"count": 9021
}
],
"months": [
"2024-01",
"2024-02",
"2024-03"
]
}