Billing Detail Summary

/detail

Full Url: https://apiv1.teleapi.net/user/detail

Arguments:

  • token (required)
  • start_date (required)
  • end_date (required)
  • user_id (optional)

Info: Retrieve a list of aggregate costs and totals for the master account for a child account.

Note: the start_date and end_date shall be formatted as 'YYYY-MM-DD'.

Possible Type Values

  • sms-tf-mms-in
  • sms-tf-mms-out
  • sms-tf-sms-in
  • sms-tf-sms-out
  • sms-sc-mms-in
  • sms-sc-mms-out
  • sms-sc-sms-in
  • sms-sc-sms-out
  • sms-local-mms-in
  • sms-local-mms-out
  • sms-local-sms-in
  • sms-local-sms-out
  • sms-local-intl-out
  • sms-smm-sms-out
  • sms-smm-sms-in
  • sms-intl-sms-in
  • sms-intl-sms-out

  • voice-did-tf-in

  • voice-did-local-in
  • voice-did-intl-in
  • voice-term-usa-out
  • voice-term-intl-out
  • voice-term-tf-out
  • voice-term-fax-out

  • billing-dids-tf

  • billing-dids-intl
  • billing-dids-local
  • billing-dids-e911
  • billing-dids-offnet
  • billing-dids-channelgroups
  • billing-dids-shortcode
  • billing-dids-nrc
  • billing-dids-porting
  • billing-dids-vanity
  • billing-services-hosting
  • billing-services-other
  • billing-cnam-query
  • billing-lrn-query

Example Success

{
    "code": 200,
    "status": "success",
    "data": [
        {
            "type": "sms-tf-sms-in",
            "cost": "121.524000",
            "total": "40508"
        },
        {
            "type": "sms-tf-sms-out",
            "cost": "3715.112000",
            "total": "1238368"
        },
        {
            "type": "sms-local-sms-out",
            "cost": "1375.666500",
            "total": "917091"
        },
        {
            "type": "voice-did-local-in",
            "cost": "588.784620",
            "total": "428097"
        },
        {
            "type": "voice-term-usa-out",
            "cost": "7.079420",
            "total": "1118"
        }
    ]
}

Example Error

{
    "code": "400",
    "status": "error",
    "data": "Can not retrieve that user's info"
}

**This page is lacking some information on responses and code. Will be available shortly.

results matching ""

    No results matching ""