User Transactions

Fetch User Bills

POST https://node-staging.billeasy.in/api/v1/Customers/getCategoryBills

Headers

Name
Type
Description

x-api-secret

string

API Secret Key (Needs to be requested from Billeasy)

x-api-access

string

API Access Key (Needs to be requested from Billeasy)

Request Body

Name
Type
Description

customer_id

string

User ID / Customer ID needs to be passed.

page_no

string

Fetch bills according to the page requested. Per Page consists of 12 records.

{
  "success": true,
  "msg": "Category bills data.",
  "data": [
    {
      "id": "25481",
      "attributes": {
        "total_amount": 118,
        "created_at": "2019-09-19T15:42:28.832438",
        "is_edison_bill": false,
        "snippet": "Money Plant",
        "client_name": "Billeasy Lifestyle Store ",
        "category": "utility",
        "personal": true,
        "shared": false,
        "bill_date": "Sep 19",
        "client_logo": "https://billeasy-demo.s3.ap-south-1.amazonaws.com/uploads/client/company_logo/306/main_file.png",
        "client_type": 1,
        "bill_number": 0,
        "client_id": 306,
        "group_share_total": 0,
        "five_asec_delivery_date": null,
        "five_asec_payment_status": null,
        "five_asec_delivery_status": null
      }
    },
    {
      "id": "25476",
      "attributes": {
        "total_amount": 177,
        "created_at": "2019-09-19T14:31:09.212136",
        "is_edison_bill": false,
        "snippet": "Notepad",
        "client_name": "Billeasy Lifestyle Store ",
        "category": "utility",
        "personal": true,
        "shared": false,
        "bill_date": "Sep 19",
        "client_logo": "https://billeasy-demo.s3.ap-south-1.amazonaws.com/uploads/client/company_logo/306/main_file.png",
        "client_type": 1,
        "bill_number": 0,
        "client_id": 306,
        "group_share_total": 0,
        "five_asec_delivery_date": null,
        "five_asec_payment_status": null,
        "five_asec_delivery_status": null
      }
    }
  ],
  "meta": {
    "categories": [
      {
        "id": "1",
        "name": "Shopping"
      },
      {
        "id": "2",
        "name": "Travel"
      },
      {
        "id": "5",
        "name": "F&B"
      },
      {
        "id": "7",
        "name": "utility"
      },
      {
        "id": "8",
        "name": "Entertainment"
      },
      {
        "id": "11",
        "name": "Uncategorized"
      }
    ],
    "links": {
      "next_page": "?page=2",
      "total_entries": 510,
      "total_pages": 43
    },
    "is_mail_synced": true
  }
}

Last updated