curl --location --request GET 'https://api-staging.tenbyte.io/v1/organization/billing/overview/' \
--header 'Authorization: Bearer <token>'{
"data": [
{
"ongoing_balance": 2000.45,
"usage_this_month": 364.5,
"billing_payment_history": [
{
"type": "Invoice",
"id": "#1234567892",
"date": "2025-04-22T14:30:00Z",
"amount": 7584,
"payment_method": null,
"status": "Unpaid"
},
{
"type": "Topup",
"id": "#1234567895",
"date": "2025-11-30T09:30:00Z",
"amount": 3758,
"payment_method": "Stripe",
"status": "Paid"
},
{
"type": "Invoice",
"id": "#1234567889",
"date": "2025-05-12T06:00:00Z",
"amount": 8642,
"payment_method": "Visa",
"status": "Paid"
},
{
"type": "Invoice",
"id": "#1234567801",
"date": "2025-12-01T13:00:00Z",
"amount": 7395,
"payment_method": "Mastercard",
"status": "Paid"
},
{
"type": "Invoice",
"id": "#1234567804",
"date": "2025-09-27T09:30:00Z",
"amount": 9472,
"payment_method": "SSL Commerce",
"status": "Paid"
},
{
"type": "Invoice",
"id": "#1234567807",
"date": "2025-06-30T05:00:00Z",
"amount": 1729,
"payment_method": "Visa",
"status": "Paid"
},
{
"type": "Topup",
"id": "#1234567810",
"date": "2025-11-08T17:45:00Z",
"amount": 4638,
"payment_method": "Stripe",
"status": "Paid"
},
{
"type": "Invoice",
"id": "#1234567813",
"date": "2025-04-19T08:15:00Z",
"amount": 5371,
"payment_method": "Mastercard",
"status": "Paid"
}
]
}
],
"message": "Billing information fetched successfully.",
"success": true
}