{
"_links": {
"payables_to_pay": "/api/payables/to-pay",
"self": "/api/payments/disbursed?from=2024-01-01&to=2024-12-31&group_by=month"
},
"cache": {
"age_seconds": 0,
"cached_at": "2026-05-13T18:30:00-04:00",
"expires_at": "2026-05-13T22:30:00-04:00",
"force_refreshed": false,
"key_hash": "sha1:abc...",
"status": "miss",
"ttl_policy": "current_period_4h",
"ttl_remaining_seconds": 14400
},
"metadata": {
"cards_scanned": 280,
"extracted_at": "2026-05-13T18:30:00-04:00",
"organisation_id": "constructions_jimmy_roy",
"payment_types_included": {
"cash": 3,
"check": 1,
"direct_deposit": 2
},
"scope": "non_archived_only",
"sdk_indexes_used": {
"payment_ap": 1
}
},
"period": {
"from": "2024-01-01",
"group_by": "month",
"to": "2024-12-31"
},
"series": [
{
"active_suppliers_count": 12,
"bucket": "2024-01",
"disbursements_amount": 48700,
"disbursements_count": 18,
"from": "2024-01-01",
"is_partial": false,
"to": "2024-01-31"
}
],
"top_suppliers": [
{
"disbursements_amount": 87500,
"disbursements_count": 24,
"supplier": {
"code": "HERCULE",
"id": 7,
"name": "Hercule Construction"
}
}
],
"totals": {
"active_suppliers_count": 42,
"average_disbursement": 2668.18,
"by_payment_mode": {
"cash": {
"amount": 40500,
"count": 12
},
"check": {
"amount": 234500,
"count": 78
},
"direct_deposit": {
"amount": 312000,
"count": 130
}
},
"currency": "CAD",
"disbursements": {
"amount": 587000,
"count": 220
}
}
}