Get monthly charges summary

Changed on

Retrieve a summary of monthly charges for a specified date range. The date range cannot exceed 31 days.

get/charges_summary

Request

  • Base URL: https://api.telnyx.com/v2
  • URL: https://api.telnyx.com/v2/charges_summary
  • Auth: HTTP bearer

Query parameters

start_datestring date required
Example:2025-05-01

Start date for the charges summary in ISO date format (YYYY-MM-DD)

end_datestring date required
Example:2025-06-01

End date for the charges summary in ISO date format (YYYY-MM-DD). The date is exclusive, data for the end_date itself is not included in the report. The interval between start_date and end_date cannot exceed 31 days.

Response

Monthly charges summary

Example response

{
  "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": [
        {
          "type": "comparative",
          "name": "Local DIDs",
          "alias": "local",
          "new_this_month": {
            "quantity": 10,
            "mrc": "25.50",
            "otc": "5.00"
          },
          "existing_this_month": {
            "quantity": 8,
            "mrc": "20.00"
          }
        },
        {
          "type": "simple",
          "name": "Port Out",
          "alias": "port_out",
          "quantity": 100,
          "amount": "15.75"
        }
      ],
      "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"
    }
  }
}

Changes

    • breaking

      the response's body type changed from object to no type for status

    • breaking

      the / response's property type changed from object to no type for status

    • breaking

      the // response's property type changed from integer to string, and format from int32 to integer for status

    • breaking

      the response's body type changed from no type to object for status

    • breaking

      the / response's property type changed from no type to object for status

    • breaking

      the // response's property type changed from string to integer, and format from integer to int32 for status

    • breaking

      the /// response's property format changed from json-pointer to no format for status