Get Detailed Balance

/billing/balance/detailed

Full Url

https://apiv1.teleapi.net/billing/balance/detailed

Arguments

  • token (required)

Info

Retrieves the current balance on the account with additional account details.

Example Success

{
    "code": 200,
    "status": "success",
    "data": {
        "total": 489.57,
        "available": 489.57,
        "accounts": [
            {
                "id": "88888",
                "admin_signup_id": null,
                "invoice_terms": "30net30",
                "affiliate_signup_id": null,
                "master_id": "99999",
                "reseller_id": null,
                "bt_customer_id": null,
                "user_type": "customer",
                "username": "voip.solutions",
                "api_token": "31bf6b92-b0d4-4d30-8016-4c442f65c3cb",
                "email": "test.email@teli.net",
                "first_name": "John",
                "last_name": "Smith",
                "phone_number": "3035551234",
                "address": "123 main st",
                "city": "denver",
                "state": "CO",
                "zip": "80112",
                "brand": null,
                "domain": null,
                "custom_css": "0",
                "custom_logo": "0",
                "support_phone": null,
                "support_email": null,
                "support_link": null,
                "btmid": null,
                "btpuk": null,
                "pp_address": null,
                "btpk": null,
                "user_status": "active",
                "autofill_enabled": "0",
                "autofill_amount": "5.00",
                "low_balance_amount": "5.00",
                "credit_line": "20.00",
                "chanlimit_outbound": "1",
                "did_route_type": "standard",
                "term_route_type": "standard",
                "chanlimit_inbound": "10",
                "max_international": "0.200000",
                "max_international_forced": "0.000000",
                "sms_post_url": "",
                "sms_delivery_url": null,
                "web_hook_url": null,
                "smpp_password": null,
                "smpp_number_format": "standard",
                "smpp_encoding": "ascii",
                "lcr": "1",
                "auth_token": "141d3e2a-7982-4184-b11b-7e890efde624",
                "force_change_password": "no",
                "verification_code": null,
                "verified": "1",
                "has_logged_in": "no",
                "create_dt": "2018-07-23 23:31:47",
                "modify_dt": "2018-08-21 19:24:27",
                "status_change_dt": "2018-07-23 23:31:47",
                "no_balance_dt": null,
                "low_balance_dt": null,
                "fees_percent": "0.118300000",
                "did_sbc": "208.103.145.20",
                "sms_carrier": "sap",
                "affiliate_percent": "0.0100",
                "affiliate_accepted": null,
                "affiliate_pay_type": "paypal",
                "affiliate_pay_info": null,
                "restricted": "no",
                "max_international_daily": "100",
                "unrestricted_international": "no",
                "signup_ip": null,
                "verify_number": null,
                "block_vitel": "no",
                "dids_dbl": "no",
                "notifications": "all",
                "first_of_month_billing": "no",
                "eticket_blocked": "no",
                "inbound_cnam_default": "disabled",
                "slacksms_version": "2",
                "signup_promo": null,
                "company_title": null,
                "teli_contact": null,
                "approved_by": null,
                "default_channel_group_id": null,
                "balance": 0
            },
            {...},
            {...},
            {...}
        ]
    }
}

Example Error

You generally won't see an error on this API as long as you provide the required info.

{
    "code": 400,
    "status": "error",
    "data": "invalid token"
}

results matching ""

    No results matching ""