Billing
Get billing A/R aging buckets
Admin-only endpoint that buckets current outstanding invoice balances by effective due date using 0-30, 31-60, 61-90, and 91+ day windows.
get/admin/billing/finance/aging
Request
- Base URL: https://api.crawlora.net/api/v1
- URL: https://api.crawlora.net/api/v1/admin/billing/finance/aging
- Auth: API key in header x-api-key
Query parameters
as_ofstring
A/R aging as-of timestamp in RFC3339 format
plan'Free' | 'Starter' | 'Growth' | 'Pro' | 'Business' | 'Enterprise' | 'Admin'
Billing plan
exclude_test_accountsboolean
Exclude sandbox accounts and Stripe test data
Headers
x-api-keystring required
Admin API key required unless an Admin JWT is already present
Response
Billing A/R aging buckets
Example response
{
"code": 200,
"data": [
{
"amount_remaining_cents": 7800,
"bucket": "0-30",
"invoice_count": 8
}
],
"msg": "OK"
}Changes
No recorded changes to this operation across all 2 revisions of this API.