cURL
curl --request GET \ --url https://api-eu.flexportal.io/v1/billing-groups \ --header 'Authorization: Bearer <token>' \ --header 'Tenant-ID: <tenant-id>'
{ "success": true, "billingGroups": [ { "billingGroupId": "<string>", "tenantId": "<string>", "customerId": "<string>", "groupName": "<string>", "billingDay": 14, "totalMonthlyAmount": 1, "currency": "<string>", "status": "active", "createdBy": "<string>", "createdAt": "<string>", "updatedAt": "<string>", "rentalIds": [], "activeRentalCount": 0, "notes": "<string>" } ], "count": 123, "hasMore": true, "nextCursor": "<string>" }
Returns a list of billing groups for consolidated B2B billing.
API key obtained from FlexPortal dashboard
Your tenant identifier
Items per page (default: 50, max: 100)
Cursor for pagination
Filter by customer ID
Filter by status (active, inactive)
List of billing groups
true
false
Show child attributes
1
1 <= x <= 28
x >= 0
3
active
inactive