I have been having trouble getting Payments from Invoice ninja.
Currently, when I view payments in Invoice Ninja it shows 28 payments. “Showing 1 to 28 of 28 entries”
When I export it via JSON and XLS it is the same.
However, when I call it via API I have a Total of 106 records and 8 pages.
I have checked and Calling it Correctly
https://xxxxxxxx.com.au/public/api/v1/payments -H X-Ninja-Token=xxxxxxxxxx
and getting a response.
“meta”: {
“pagination”: {
“total”: 106,
“count”: 15,
“per_page”: 15,
“current_page”: 1,
“total_pages”: 8,
“links”: {
“next”: “https://portal.evergreenblades.com.au/public/api/v1/payments?page=2”
}