Get monthly charges summary
GET/charges_summary
Retrieve a summary of monthly charges for a specified date range. The date range cannot exceed 31 days to prevent large queries that could cause timeouts.
Request
Query Parameters
start_date daterequired
Start date for the charges summary in ISO date format (YYYY-MM-DD)
end_date daterequired
End date for the charges summary in ISO date format (YYYY-MM-DD). The interval between start_date and end_date cannot exceed 31 days.
Responses
200: Monthly charges summary
- application/json
400: Bad request - invalid date range or parameters
- application/json
default: Unexpected error
- application/json
Request samples
curl -L 'https://api.telnyx.com/v2/charges_summary' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'
Response samples
{
"data": {
"user_id": "0db0b4aa-a83d-4d4f-ad9b-3ba7c1ac2ce8",
"start_date": "2025-05-01",
"end_date": "2025-06-01",
"user_email": "user@example.com",
"currency": "USD",
"summary": {
"lines": [
{},
{}
],
"adjustments": [
{
"amount": "-10.00",
"description": "Credit for service outage",
"event_date": "2025-05-15"
}
]
},
"total": {
"new_mrc": "50.00",
"new_otc": "25.00",
"existing_mrc": "100.00",
"other": "10.00",
"credits": "-5.00",
"ledger_adjustments": "0.00",
"grand_total": "180.00"
}
}
}
{
"errors": [
{
"code": "string",
"title": "string",
"detail": "string",
"source": {
"pointer": "string",
"parameter": "string"
},
"meta": {}
}
]
}
{
"errors": [
{
"code": "string",
"title": "string",
"detail": "string",
"source": {
"pointer": "string",
"parameter": "string"
},
"meta": {}
}
]
}