Get All Payment ticket

View as Markdown
### GET /apis/external/paymentTicket/getAll This endpoint retrieves a list of payment tickets based on the specified date range. It allows users to filter the results by creation date, providing an efficient way to access payment ticket data. #### Query Parameters - **dateType** (string): Specifies the type of date to filter by. In this case, it is set to `created`. - **startDate** (integer): The start date for filtering payment tickets, represented as a Unix timestamp. - **endDate** (integer): The end date for filtering payment tickets, also represented as a Unix timestamp. - **offset** (integer): The offset for pagination, indicating the starting point of the results to be returned. #### Expected Response Format - **Status**: 200 OK - **Content-Type**: application/json - **Response Body**: - **paymentTickets** (array): An array containing the list of payment tickets. This will be empty if no tickets match the criteria. - **total** (integer): The total number of payment tickets found. - **currentPage** (integer): The current page number of the results. - **totalPages** (integer): The total number of pages available based on the pagination. This endpoint does not require a request body, as all necessary parameters are provided via the query string.

Response

OK