List all expense

GET http://node-staging.billeasy.in/api/v1/customers/expenses

Query Parameters

Name
Type
Description

customer_id

string

Headers

Name
Type
Description

Content-Type

string

x-api-access

string

x-api-secret

string

x-customer-token

string

x-customer-number

string

{
  "success": true,
  "msg": "All expenses.",
  "data": [
    {
      "id": 25992,
      "snippet": "phone",
      "total": "5.00",
      "created_at": "2020-02-12T11:02:23.639Z",
      "meta": {
        "date": "12/02/2020",
        "type": "expense",
        "category_type": "Shopping",
        "payment_method": "Cash"
      }
    },
    {
      "id": 25970,
      "snippet": "demo 2",
      "total": "15.00",
      "created_at": "2020-02-10T10:33:28.669Z",
      "meta": {
        "date": "10/02/2020",
        "type": "expense",
        "category_type": "F&B",
        "payment_method": "Cash"
      }
    }
  ]
}

Last updated