List invoices

Retrieve a paginated list of your invoices, filtered by status, currency, or creation date. Useful for dashboard views or reconciliation.

Endpoint

GET /invoices

Query Parameters

ParameterTypeRequiredDescriptionExample ValueNotes
statusstringNoFilter by statuspendingOne of: new, pending, completed, expired, cancelled, paid_partial
currencystringNoFilter by crypto currencyBTC
created_afterstring (date-time)NoInvoices created after this2023-01-01T00:00:00ZISO format
created_beforestring (date-time)NoInvoices created before this2023-12-31T23:59:59ZISO format
pageintegerNoPage number1Minimum 1, default 1
page_sizeintegerNoItems per page201-100, default 20
sort_bystringNoSort fieldcreated_atOne of: created_at, updated_at, fiat_amount, crypto_amount
sort_orderstringNoSort directiondescasc or desc

cURL Example

curl -X GET "https://api.itispay.com/api/v1/invoices?status=pending&page=1&page_size=10&sort_by=created_at&sort_order=desc" \
-H "Api-key: YOUR_API_KEY"

Response

  • 200 OK: JSON with "items" (array of invoices) and "pagination" (current_page, page_size, total_pages, total_records, has_next, has_previous).
  • 401: Unauthorized.