Getting a Billing Summary

Get a specific Billing Summary.


GET https://utilityapi.com/api/v2/accounting/billing-summaries/billing_summary_uid
# Get a Billing Summary
curl -H 'Authorization: Bearer API_TOKEN_HERE' \
    'https://utilityapi.com/api/v2/accounting/billing-summaries/1234'

None

Returns the Billing Summary object.

// Example result
{
    "uid": "12345",
    "authorization_uid": "67890",
    "billing_account_uid": "24680",
    ...
}
Code Response Format Description
200 Billing Summary Successful request.
401 Error Invalid or missing access_token. See our docs on Authentication for how to properly use your access_token.
404 Error This Billing Summary doesn't exist or you don't have permissions to see it.
429 N/A The request was rate limited. Check the Retry-After response header for how long to wait until retrying the request. Do not expect any specific response format for this error (could be html, json, or nothing).
500 N/A Internal server error. Do not expect any specific response format for this error (could be html, json, or nothing). This error is logged and will be fixed by our engineers.
503 N/A Site is currently down for maintenance. Do not expect any specific response format for this error (could be html, json, or nothing).
504 N/A We tried to build this request but timed out. Please try again later. Do not expect any specific response format for this error (could be html, json, or nothing).