cURL
curl --request GET \ --url https://api-message.nativehub.live/api/v1/analytics/billing-summary \ --header 'Authorization: Bearer <token>'
{ "total_revenue": 6271.5, "total_cost": 3756.9, "total_margin": 2514.6, "by_currency": [ { "currency": "USD", "revenue": 6271.5, "cost": 3756.9 } ] }
Retrieve billing summary for a time period
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Start date for billing summary
End date for billing summary
Billing summary retrieved successfully
Show child attributes