Authorization: Bearer ********************curl --location --request GET 'https://v1.dev.bukalombok.com/v1/vendor/earnings' \
--header 'Authorization: Bearer <token>'{
"meta": {
"success": true,
"status": 0,
"message": "string"
},
"data": {
"earning_summary": {
"total_earnings": 0,
"total_orders": 0,
"total_completed_orders": 0,
"total_cancelled_orders": 0,
"total_withdrawn": 0,
"current_balance": 0,
"currency": "string",
"period": {
"start_date": "2019-08-24T14:15:22Z",
"end_date": "2019-08-24T14:15:22Z"
},
"daily_earnings": [
{
"date": "2019-08-24",
"earnings": 0,
"orders": 0
}
]
}
},
"pagination": {
"total": 0,
"page": 0,
"limit": 0
}
}