Standard APIsConnectivity ManagementGuidesUses and Requirements

Retrieve Billed Usage

POST /devices/usage/actions/billedusage

Customers who have previously been required to associate a usage segmentation label with a device to retrieve billing for that segment will still be required to create a segmentation label (SXM services). See Set Usage Segmentation Labels.

Both this API endpoint and billedusage/list are currently in use by the automotive sector. Please note that these API endpoints are only available on a limited basis.

Request Components

HTTP Request

POST https://thingspace.verizon.com/api/m2m/v1/devices/usage/actions/billedusage

Header Parameters

The request header must contain a current ThingSpace authorization bearer token and a valid VZ-M2M session token, and must set the content-type to JSON.

Parameter NameData TypeDescription
Authorization (required)stringHTTP Authorization bearer token.
VZ-M2M-Token (required)stringA valid session token returned by POST /session/login.
Content-Type (required)stringMust be application/json.

Request Body

Using an EID vallue:

{
  "accountName": "0000123456-00001",
    "label": {
    "name": "VIN",
    "value": "17-character Vehicle ID"
  },
  "deviceId": {
    "id": "32-digit EID",
    "kind": "EID"
  },
  "billingCycle": {
    "year": 2020,
    "month": 1
  },
  "includeQosDetails": "true"
}

Or, using the ICCID value (not using a label or requesting QoS details):

{
  "accountName": "0000123456-00001",
  "deviceIds": [
    {
      "id": "20-digit ICCID",
      "kind": "ICCID"
    }
  ],
  "billingCycle": {
    "year": 2026,
    "month": 3
  }
}

Request Body Parameters

Parameter NameData TypeDescription
accountName (required)stringThe name of a billing account. An account name is usually numeric, and must include any leading zeros.
labels (required if not specifying deviceId)arrayAn array of label names and label values. Maximum of 2,000 objects are allowed in the array.
name (required for labels)stringThe label associated with the device, maximum of 20 characters. Provide either label or deviceId values, not both.
value (required for labels)stringThe label value, maximum 50 characters.
deviceId (required if not specifying label)objectAn object containg identifiers (kind, id) for a single device. Provide either label or deviceId values, not both.
kind, id (required for deviceId)stringThe type (kind) and value (id) of the device identifier.
EID - Electronic ID. a 32 digit ID of the device.
ICCID - Integrated Circuit Card Identification Number. The 20 digit idenitfier of the SIM card in the device.
billingCycle (optional)objectThe billing cycle requested for billing information. If the billing cycle is not specified, the most recent billing cycle information is provided.
year (required for billingCycle)integerThe year in which the billing cycle occurs.
month (required for billingCycle)integerThe number representing the month of the billing cycle. Valid values include integers between 1 and 12.
includeQosDetails (optional)booleanThis flag indicates if Quality of Service (QoS) information will be included in the callback.
Note: This is for RTR accounts only.

Success Responses

Status 200

Using the EID value:

{
  "accountName": "0000123456-00001",
  "ratePlanDescription": "CUSTOM 4G M2M PAYGO DATA",
  "deviceId": {
    "id": "32-digit EID",
    "kind": "EID",
    "oemName": "OEM name"
  },
  "billingCycle": {
    "year": 2026,
    "month": 3
  },
  "unitOfMeasure": "BYTES",
  "totalBilledUsage": 1251482,
  "totalBilledAmount": 0.012,
  "usageSegments": [
    {
      "ratingGroup": "SXM SERVICES DATA",
      "ratingGroupDetails": {
        "currentCycleDetails": [
          {
            "countryCode": "USA",
            "usage": 1251482,
            "chargeAmount": 0.012
          }
        ]
      }
    }
  ]
}

Using the ICCID value:

{
  "accountName": "0000123456-00001",
  "ratePlanDescription": "CUSTOM 4G M2M PAYGO DATA",
  "deviceId": {
    "id": "20-digit ICCID",
    "kind": "ICCID",
    "oemName": "OEM name"
  },
  "billingCycle": {
    "year": 2026,
    "month": 3
  },
  "unitOfMeasure": "BYTES",
  "totalBilledUsage": 1260236,
  "totalBilledAmount": 0.012,
  "usageSegments": [
    {
      "ratingGroup": "SXM SERVICES DATA",
      "ratingGroupDetails": {
        "currentCycleDetails": [
          {
            "countryCode": "USA",
            "usage": 1260236,
            "chargeAmount": 0.012
          }
        ]
      }
    }
  ]
}

Note: Instead of usageSegments, Real-Time Reporting (RTR) customers will see usageAPN as below:

{
   "accountName":"0000123456-00001",
   "billingCycle":{
      "month":4,
      "year":2026
   },
   "deviceId":{
      "id":"32-digit EID",
      "kind":"EID"
   },
   "label":{
      "name":"VIN",
      "value":"17-character Vehicle ID"
   },
   "ratePlanDescription":"rate plan used",
   "totalBilledAmount":7283.34,
   "totalBilledUsage":10485760123,
   "unitOfMeasure":"MB",
   "usageAPN":[
   {
      "apnName":"Access Point Name",
      "apnNameDetails":{
         "currentCycleDetails":[
            {
               "countryCode":"USA",
               "usage":3000000,
               "chargeAmount":1201.0
            }
         ],
         "qosDetails":[
            {
               "qos":"premium data",
               "usage":100,
               "chargeAmt":100.0
            },
            {
               "qos":"standard data",
               "usage":200,
               "chargeAmt":50.0
            }
         ],
            "unbilledFromPreviousCycleDetails":[
               {
                  "countryCode":"MEX",
                  "usage":3000000,
                  "chargeAmount":288.0,
                  "chargeDescription":"$0.006 per MB - USA"
               }
            ]
         }
      }
   ]
}

Response Parameters

Parameter NameData TypeDescription
accountNamestringThe name of a billing account. An account name is numeric, and must include any leading zeros.
billingCycleobjectThe billing cycle requested for billing information.
monthintegerThe number representing the month of the billing cycle. Valid values include integer values between 1 and 12.
yearintegerThe year in which the billing cycle occurs.
deviceIdobjectAn object containg identifiers (kind, id) for a single device.
kind, idstringThe type (kind) and value (id) of the device identifier.
EID - Electronic ID. A 32 digit ID of the device.
ICCID - Integrated Circuit Card Identification Number. The 20 digit idenitfier of the SIM card in the device. If EID is in the request, EID will be returned. If ICCID is in the request, ICCID will be returned.
oemNamestringThe engagement name of the manufacturer.
Note: This is only returned for usageSegments
labelarrayAn array of label names and label values. Maximum of 2,000 objects are allowed in the array.
namestringThe label associated with the device.
valuestringThe label value associated with the device.
ratePlanDescriptionstringA description of the rate plan.
totalBilledAmountintegerThe total dollar amount billed for the specified billing cycle.
totalBilledUsageintegerTotal of usage in units of measure.
unitOfMeasurestringIndicates the method in which totalBilledUsage is measured.
usageSegmentsarrayBreaks down the billing and usage details by rating groups.
usageAPNarrayBreaks down the billing and usage details by Access Point Name (APN) for Real-Time Reporting (RTR) customers.
apnNamestringThe name of the Access Point (APN). Note: Automotive OEM customers now have support for "vanity" APNs.
ratingGroupstringBreaks down billing and usage based on a contracted rate.
ratingGroupDetailsarrayLists charge and usage details for the billing cycles.
apnNameDetailsarrayLists charge and usage details for the billing cycles by Access Point Name (APN).
currentCycleDetailsarrayLists billing and usage details for the rating group for the specified billing cycle.
chargeAmountintegerThe total dollar amount charged and usage information for the rating group by country code for the current billing cycle.
countryCodestringCode for the country that the usage and resulting charges are in.
usageintegerTotal usage in the corresponding country for the billing cycle.
qosDetailsarrayAn array of QoS objects showing the data ammounts that QoS was applied to and the resulting charges.
qosstringThe type of data being measured. Currently, this is only premium data and standard data.
usagestringUsage of the data in this category, measured in MB.
chargeAmtstringThe cost of the data used in US Dollars.
unbilledFromPreviousCycleDetailsarrayAn array of objects listing usage and charge information from a previous billing cycle that was not billing until the current billing cycle.
chargeAmountintegerThe total dollar amount charged in the rating group in the current billing cycle, but whose usage occurred in a prior cycle.
countryCodestringCode for the country in which the usage and resulting charges occurred in.
usageintegerTotal usage from the unbilled cycle.

On this page