account_transactions


Log of each transaction used to pay invoices.


Available HTTP and Response Types
GET POST | JSON

3 Methods


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

    Available To Reseller Account

    Description

    curl -H “X-API-KEY:<key>” https://api.pagely.com/v1/account_transactions/all?account_id=22222

    Sample Response

    {"result":2,"count":2,"limit":25,"offset":0,"objects":[{"id":"22222","account_id":"22222","invoice_id":"22222","profile_id":"22222","status":"2","void":"0","details":"FTP Access - domain: domain.com","result":"Success","result_code":"0","result_id":"4584926817","result_message":"CC: Success, Trans ID: 4584926817, reason: Successful.","amount":"5.00","date_void":"0","date_added":"1345337737","date_updated":"1345337738"},{"id":"333333","account_id":"333333","invoice_id":"333333","profile_id":"333333","status":"2","void":"0","details":"WP Personal - domain: domain.com","result":"Success","result_code":"0","result_id":"4584926801","result_message":"CC: Success, Trans ID: 4584926801, reason: Successful.","amount":"24.95","date_void":"0","date_added":"1345337736","date_updated":"1345337737"}]}

      Optional Params

      account_id int
      date_added_post int timestamp that transaction occurred are past
      date_added_pre int timestamp that transaction occurred are before
      invoice_id int
      limit int 25
      offset int
      order_by string id
      order_dir string DESC
      reseller_id int
      status bool
  • GET
    https://api.pagely.com/ v1 / account_transactions /single

    Available To Reseller Account

    Description

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

    Sample Response

    {"id":"55555","account_id":"55555","invoice_id":"55555","profile_id":"55555","status":"2","void":"0","details":"FTP Access - domain: domain.com","result":"Success","result_code":"0","result_id":"4584926817","result_message":"CC: Success, Trans ID: 4584926817, reason: Successful.","amount":"5.00","date_void":"0","date_added":"1345337737","date_updated":"1345337738"}

      Required Params

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

    Available To Reseller Account

    Description
    No Description

    Sample Response


      Required Params

      action string void
      id int