account_subscriptions


Subscriptions are recurring services/products. Typically tied to a hosting plan.


Available HTTP and Response Types
DELETE GET POST PUT | JSON

5 Methods


  • DELETE
    https://api.pagely.com/ v1 / account_subscriptions /single

    Available To Partner Account

    Description
    No Description

    Sample Response


      Required Params

      id int
  • GET
    https://api.pagely.com/ v1 / account_subscriptions /all

    Available To Partner Account

    Description

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

    Sample Response


      Optional Params

      account_id int
      domain_id int
      inc_account bool
      inc_plan bool
      limit int 25
      offset int 0
      order_by string id
      plan_id int
      reseller_id int
      s string search on
  • GET
    https://api.pagely.com/ v1 / account_subscriptions /single

    Available To Partner Account

    Description

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

    Sample Response

    {"id":"12345","status":"0","active":"1","account_id":"1111","domain_id":"2222","plan_id":"123","profile_id":"0","bill_dayofmonth":"1","date_last_invoiced":"1345337685","date_added":"1345337670","date_updated":"1345337685","uid":"eTgayFVki90x45o0ltyFdUaWlJ43IUwJdUzUvmar"}

      Required Params

      id int
  • POST
    https://api.pagely.com/ v1 / account_subscriptions /action

    Available To Partner Account

    Description
    No Description

    Sample Response


      Required Params

      action string enable|disable
      id int
  • PUT
    https://api.pagely.com/ v1 / account_subscriptions /single

    Available To Partner Account

    Description
    No Description

    Sample Response


      Required Params

      account_id int
      domain_id int
      plan_id int

      Optional Params

      profile_id int billing profile id used to pay