get https://api.acefone.co.uk/v1/billing/dashboard
Get all Billing Overview
curl --request GET \
--url https://api.acefone.co.uk/v1/billing/dashboard \
--header 'accept: application/json'
Response
Variable Name | Description | Data Type |
---|---|---|
id | User's unique ID | Number |
name | Name associated with user's account | String |
Email address associated with user's account | String | |
balance | User's current balance | Number |
credit_limit | Credit limit allowed on user's account | Number |
due_charges | Total due charges pending on user's account | Number |
next_billing_date | Date for renewal of next billing cycle | String |
billing_cycle | Billing cycle | String |
auto_charge | Auto renew enable/disabled status. (1: Enabled, 0: Disable) | Number |
billing_type | Type of billing activated on user's account | String |
due_date | Date till which due-charges need to be settled | String |
currency | Currency for user's account | String |
plans | Active and closed plans associated with user's account | Object |
plans.active | Active plan | Object |
plans.active[].id | Unique ID of product | Number |
plans.active[].name | Name of the product | String |
plans.active[].quantity | Quantity of product applied | Number |
plans.active[].auto_renew | Is auto renew applied on the product | Number |
plans.active[].numbers | My numbers assigned to this product | String |
plans.active[].extension_ids | Eids of the extensions associated with this product | String |
plans.active[].extension_names | Names of the extensions associated with this product | String |
plans.active[].amount_paid | Amount charged to customer | Number |
plans.active[].setup_cost | Setup cost | Number |
plans.active[].start_date | Date on which product applied | String |
plans.active[].renew_on_date | Date on which product will be renewed | String |
plans.active[].minutes_consumed | Total minutes consumed | Number |
plans.active[].minutes_remaining | Minutes remaining | Number |
plans.active[].minutes_assigned | Total minutes assigned to customer | Number |
plans.active[].end_date | Date on which product ends | String |
plans.closed | Close plans | Object |
plans.closed[].id | Unique ID of product | Number |
plans.closed[].name | Name of the product | String |
plans.closed[].quantity | Quantity of product applied | Number |
plans.closed[].auto_renew | Is auto renew applied on the product | Number |
plans.closed[].numbers | My numbers assigned to this product | String |
plans.closed[].extension_ids | Eids of the extensions associated with this product | String |
plans.closed[].extension_names | Names of the extensions associated with this product | String |
plans.closed[].amount_paid | Amount charged to customer | Number |
plans.closed[].setup_cost | Setup cost | Number |
plans.closed[].start_date | Date on which product applied | String |
plans.closed[].renew_on_date | Date on which product will be renewed | String |
plans.closed[].minutes_consumed | Total minutes consumed | Number |
plans.closed[].minutes_remaining | Minutes remaining | Number |
plans.closed[].minutes_assigned | Total minutes assigned to customer | Number |
plans.closed[].end_date | Date on which product ends | String |
subscriptions | Active and closed subscriptions associated with user's account | Object |
subscriptions.active | Active subscription | Object |
subscriptions.active[].id | Unique ID of subscription | Number |
subscriptions.active[].name | Name of the subscription | String |
subscriptions.active[].auto_renew | Auto renew enable/disabled status. (1: Enabled, 0: Disable) | Number |
subscriptions.active[].numbers | My numbers associated with subscriptions | Number |
subscriptions.active[].extensions | Extensions associated with subscriptions | String |
subscriptions.active[].charge | Charges applied for subscriptions | Number |
subscriptions.closed | Close subscription | Object |
subscriptions.closed[].id | Unique ID of subscription | Number |
subscriptions.closed[].name | Name of the subscription | String |
subscriptions.closed[].auto_renew | Auto renew enable/disabled status. (1: Enabled, 0: Disable) | Number |
subscriptions.closed[].numbers | My numbers associated with subscriptions | Number |
subscriptions.closed[].extensions | Extensions associated with subscriptions | String |
subscriptions.closed[].charge | Charges applied for subscriptions | Number |
{
"id": 291,
"name": "CRM-Client",
"email": "[email protected]",
"balance": 0,
"credit_limit": 0,
"due_charges": 0,
"next_billing_date": 1584849600,
"billing_cycle": "30 days",
"auto_charge": 0,
"billing_type": "Contract",
"due_date": null,
"currency": "GBP",
"subscriptions": [{
"title": "DID Subscriptions",
"type": 5,
"charge_per_month": 0,
"quantity": 1
}]
}