get_client_account

Description 

Get full details for a Client's Account.

Parameters

client_account_code

Request

Request
curl -X POST \
-H "Authorization: Token d37fa8c4e008fec158070b1b4aea5f0db3d6a06e" \
-H "Content-Type: application/json" \
-d '{"client_account_code":"1482229879"}' \
-k https://your.domain.com/api/users/get_client_account

Response

[
   {
      "result":[
         {
            "account_alias":"VOIPTGY",
            "account_blocked_alert":false,
            "account_code":"1482229879",
            "account_type":"POSTPAID",
            "address_line_1":"1 Any Street",
            "address_line_2":null,
            "associated_tenant":null,
            "billing_email":null,
            "cgrt_username":"voiptology",
            "city":"New York City",
            "client_profile":null,
            "company_name":"The VoIP Company",
            "country":"US",
            "created_by":"46",
            "created_date":null,
            "currency":50,
            "default_tax":null,
            "did_tier":null,
            "enable_calls":true,
            "enabled":true,
            "frequency":"12h",
            "id":"10",
            "invoice_email_cc":null,
            "invoice_tax_handling":null,
            "is_provider":false,
            "last_balance_alert_sent":"2018-09-10T11:00:02.170604+01:00",
            "last_daily_spend_alert_sent":null,
            "last_invoice_date":null,
            "low_balance_notification":"20.0000",
            "main_email":"esamuels@voiptology.com",
            "max_channels":5,
            "max_connection_fee":null,
            "max_cps":2,
            "max_daily_spend":"50.0000",
            "max_per_minute_rate":"0.4400",
            "name":"The VoIP Company",
            "noc_email":null,
            "notify_when_dids_are_added":true,
            "orig_credit_limit":"250.0000",
            "play_audio_messages":false,
            "postcode_zip":"111111",
            "rates_email":null,
            "send_verification_email":true,
            "send_welcome_email":false,
            "show_balance":true,
            "state_province":"New York",
            "tax_id":null,
            "telephone_number":null,
            "tenant":"sbc.mydomain.com",
            "user":"golang_user",
            "verified_for_payments":true
         }
      ]
   },
   "Status: 200 OK"
]