bill_base_plans


Billing Base Plans are READ ONLY templates used to create bill_plans. Partners my query the base_plans to retrieve base plans to create bill_plans from.  All bill_plans are associated with bill_base_plans.


Available HTTP and Response Types
GET | JSON

2 Methods


  • GET
    https://api.pagely.com/ v1 / bill_base_plans /all

    Available To Partner

    Description

    curl -H “X-API-KEY:<key>” https://api.pagely.com/v1/bill_base_plans/all

    Sample Response

    {"result":2,"count":4,"limit":25,"offset":0,"objects":[{"id":"4","tier_id":"4","active":"1","name":"Base Plan 1","desc":"","cost":"10.00","type":"hosting","overage":"1","diskspace_inc":"5.00","diskspace_ovg":"5.00","bandwidth_inc":"10.00","bandwidth_ovg":"5.00","multisite":"1","ftp":"1","cdn":"0","ssl":"1","date_added":"1331941643","date_updated":"1331941643"},{"id":"3","tier_id":"3","active":"1","name":"Base Plan 1","desc":"","cost":"11.00","type":"hosting","overage":"1","diskspace_inc":"5.00","diskspace_ovg":"5.00","bandwidth_inc":"10.00","bandwidth_ovg":"5.00","multisite":"1","ftp":"1","cdn":"0","ssl":"1","date_added":"1331941643","date_updated":"1331941643"},{"id":"2","tier_id":"2","active":"1","name":"Base Plan 1","desc":"","cost":"14.00","type":"hosting","overage":"1","diskspace_inc":"5.00","diskspace_ovg":"5.00","bandwidth_inc":"10.00","bandwidth_ovg":"5.00","multisite":"1","ftp":"1","cdn":"0","ssl":"1","date_added":"1331941643","date_updated":"1331941643"},{"id":"1","tier_id":"1","active":"1","name":"Base Plan 1","desc":"","cost":"15.00","type":"hosting","overage":"1","diskspace_inc":"5.00","diskspace_ovg":"5.00","bandwidth_inc":"10.00","bandwidth_ovg":"5.00","multisite":"1","ftp":"1","cdn":"0","ssl":"1","date_added":"1331941643","date_updated":"1331941643"}]}

      Optional Params

      limit int
      offset int
      order_by string id
      order_dir string DESC
      reseller_id int
  • GET
    https://api.pagely.com/ v1 / bill_base_plans /single

    Available To Partner

    Description

    curl -H “X-API-KEY:<key>” https://api.pagely.com/v1/bill_base_plans/single?id=4

    Sample Response

    {"id":"4","tier_id":"4","active":"1","name":"Base Plan 1","desc":"","cost":"10.00","type":"hosting","overage":"1","diskspace_inc":"5.00","diskspace_ovg":"5.00","bandwidth_inc":"10.00","bandwidth_ovg":"0.25","multisite":"1","ftp":"1","cdn":"0","ssl":"1","date_added":"1331941643","date_updated":"1331941643"}