Add Income
POST
http://node-staging.billeasy.in/api/v1//customers/addIncomes
This endpoint allows you to get free cakes.
Headers
Name
Type
Description
x-customer-number
string
x-customer-token
string
x-api-secret
string
x-api-access
string
Content-Type
string
Authentication token to track down who is emptying our stocks.
Request:
{"amount":"10","customer_id":"551","metadata":{"add_more_info":"test demo","date":"11/2/2020","payment_type":"Cash","recurring":false,"set_a_monthly":true},"name":"test"}
Response:
{
"success": true,
"msg": "Customer bill created.",
"data": {
"id": "25990",
"total": 10,
"tax": 0,
"grandTotal": 10,
"flagged": false,
"business": false,
"snippet": "test",
"billParticularsCount": 1,
"customerId": 551,
"createdAt": "2020-02-12T10:21:46.938Z",
"updatedAt": "2020-02-12T10:21:46.938Z",
"metadata": "{\"add_more_info\":\"test demo\",\"date\":\"11/2/2020\",\"payment_type\":\"Cash\",\"recurring\":false,\"set_a_monthly\":true,\"type\":\"income\"}"
}
}
Last updated
Was this helpful?