curl --location 'https://api.tranzakt.finance/api/v1/collections/550e8400-e29b-41d4-a716-446655440000/invoices?invoiceStatus=Paid&search=John&startDate=2024-04-01&endDate=2024-04-09&invoiceType=Test&page=1&pageSize=50' \ --header 'x-api-key: Your secret key'
{ "status": "success", "message": "Invoices fetched successfully", "data": { "items": [ { "id": "123e4567-e89b-12d3-a456-426614174000", "title": "Invoice #123", "amount": 1000, "status": "Paid", "payerName": "John Doe", "payerEmail": "john@example.com", "dateCreated": "2024-03-21T10:00:00Z", "datePaid": "2024-03-21T10:30:00Z" } ], "page": 1, "pageSize": 10, "totalCount": 1, "hasNextPage": true, "hasPreviousPage": true } }