today
, week
, month
, 30
, 90
, year
or custom
DD/MM/YYYY
DD/MM/YYYY
{"status": "success","data": {"period": "custom","start": "01/12/2016","end": "31/12/2016","invoices": [{"id": 1,"company_id": "1","client_id": "1","reference_code": "j9CbiTN0oJe4vWhglyS2","payment_id": null,"fee_bearer": "client","mail_status": "unsent","status": "0","due_date": "1483056000","created_at": "2016-12-21 18:46:30","updated_at": "2016-12-21 18:46:30","deleted_at": null,"client": {"id": 1,"company_id": 1,"name": "Albert Specialist Hospital","first_name": "Albert","last_name": "Jane","email": "jane@alberthospital.com","phone": "+2348012345678","website": "http://www.alberthospital.com","address": "Wase II","type": "Customer","settlement_bank": "","account_name": "","account_number": "","status": "1","created_at": "2016-12-21 17:19:10","updated_at": "2016-12-21 17:19:10","deleted_at": null},"items": [{"id": "1","company_id": "1","client_id": "1","name": "Website Design","description": "5 Pages Website plus 1 Year Web Hosting","quantity": "1","unit_cost": "50000.00","status": "0","due_date": "1483056000","created_at": "2016-12-21 17:19:10","updated_at": "2016-12-21 17:19:10","deleted_at": null}]}]}}
curl https://api.payant.ng/invoices \-H "Content-Type: application/json" \-H "Authorization: Bearer SECRET_KEY" \-X POST
{"status": "success","data": {"period": "custom","start": "01/12/2016","end": "31/12/2016","invoices": [{"id": 1,"company_id": "1","client_id": "1","reference_code": "j9CbiTN0oJe4vWhglyS2","payment_id": null,"fee_bearer": "client","mail_status": "unsent","status": "0","due_date": "1483056000","created_at": "2016-12-21 18:46:30","updated_at": "2016-12-21 18:46:30","deleted_at": null,"client": {"id": 1,"company_id": 1,"name": "Albert Specialist Hospital","first_name": "Albert","last_name": "Jane","email": "jane@alberthospital.com","phone": "+2348012345678","website": "http://www.alberthospital.com","address": "Wase II","type": "Customer","settlement_bank": "","account_name": "","account_number": "","status": "1","created_at": "2016-12-21 17:19:10","updated_at": "2016-12-21 17:19:10","deleted_at": null},"items": [{"id": "1","company_id": "1","client_id": "1","name": "Website Design","description": "5 Pages Website plus 1 Year Web Hosting","quantity": "1","unit_cost": "50000.00","status": "0","due_date": "1483056000","created_at": "2016-12-21 17:19:10","updated_at": "2016-12-21 17:19:10","deleted_at": null}]}]}}