Tranzakt APIs
  1. Collections
Tranzakt APIs
  • Introduction
  • Collections
    • Get Collection by ID
      GET
    • Get Collection Invoices
      GET
  • Invoices
    • Create Invoice
      POST
    • Get Invoice by ID
      GET
    • Invalidate Invoice
      POST
  • Webhooks
    • Webhooks 🔔
  1. Collections

Get Collection Invoices

GET
https://api.tranzakt.finance/api/v1/collections/{id}/invoices
Returns a paginated list of invoices belonging to the specified collection, with optional filtering capabilities.

Request

Path Params

Query Params

Header Params

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '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'

Responses

🟢200OK
application/json
Body

Examples
{
    "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
    }
}
Modified at 2024-11-07 01:25:59
Previous
Get Collection by ID
Next
Invoices
Built with