List Transactions

​

Paginated list of transactions across the authenticated account hierarchy. This is the primary transaction search endpoint; every filter below is optional, and filters combine with AND. Repeatable filters (account_id, status, transaction_type) match any of the values supplied. account_id accepts either a merchant account ID or a parent (PSP/partner) ID — a parent matches every transaction belonging to its descendants. min_amount and max_amount are in cents and compare against total_amount. start_date and end_date bound created_at in milliseconds since epoch. Results are newest-first unless sort_by / sort_order say otherwise. Replaces the retired POST /v1/transactions/search. Send query parameters, not a JSON body. Repeat list filters and omit unused values instead of sending empty strings. The default page size is 50; set limit=100 to preserve the old POST default. The maximum page size is 200.

Query Parameters

  • Filter transactions by account ID (repeatable, any-of). Each may be a direct merchant OR a parent (PSP/partner) id — a parent matches all of its descendants' transactions.

  • Filter by terminal ID

  • Filter by acquirer processor MID (contains match)

  • Filter by acquirer processor TID (contains match)

  • Filter by transaction status

  • Filter by batch ID

  • Filter by transaction type

  • Filter by location ID

  • Filter by processor gateway transaction ID

  • Filter by transaction ID

  • Filter by event ID

  • Filter by reader identifier

  • Filter by owner account ID (parent PSP/partner)

  • Filter by device type (iphone, android_phone, ipad, android_tablet, other)

  • Free-text search across common fields

  • Minimum total amount

  • Maximum total amount

  • Start of created_at range (epoch milliseconds)

  • End of created_at range (epoch milliseconds)

  • Filter by payment method

  • Filter by card brand

  • Partial card number search

  • Sort field (created_at, total_amount, transaction_id, status, card_brand)

    values
    created_attotal_amounttransaction_idstatuscard_brand
  • Sort order (asc or desc)

    Sort order. Case-insensitive — asc, ASC, desc, and DESC are all accepted (unlike sort_by, which is case-sensitive).

  • Page size

  • Items to skip

Headers

  • Response format. Must be application/json.

Responses

  • application/json
  • application/json
  • application/json
  • application/json
Request Example for get/v2/transactions
curl 'https://api.uat.koard.com/v2/transactions?sort_by=created_at&sort_order=desc&limit=50&offset=0' \
  --header 'Accept: application/json' \
  --header 'x-koard-apikey: YOUR_SECRET_TOKEN'
{
  "limit": 1,
  "offset": 1,
  "page": 1,
  "total": 1,
  "transactions": [
    {
      "account_id": "string",
      "additional_details": {},
      "apple_transaction_id": "string",
      "batch_id": null,
      "card": "string",
      "card_brand": "string",
      "card_type": "string",
      "created_at": 1,
      "currency": "string",
      "device_id": null,
      "event_id": "string",
      "gateway": null,
      "gateway_transaction_id": null,
      "gateway_transaction_response": null,
      "history": [],
      "location_id": null,
      "merchant_name": "",
      "mid": "string",
      "owner_id": null,
      "parent_account_ids": [
        "string"
      ],
      "payment_method": "string",
      "processor": null,
      "processor_mid": "string",
      "processor_response_code": null,
      "processor_response_message": null,
      "processor_tid": "string",
      "reader_identifier": "string",
      "refunded": null,
      "reversed": null,
      "status": null,
      "status_reason": "approved",
      "subtotal": 1,
      "surcharge_amount": null,
      "surcharge_applied": false,
      "surcharge_rate": null,
      "tax_amount": null,
      "tax_rate": null,
      "tid": "string",
      "tip_amount": null,
      "tip_type": "fixed",
      "total_amount": 1,
      "transaction_id": "string",
      "transaction_type": null,
      "surcharge_basis": "total",
      "surcharge_confirmation_required": null,
      "tax_basis": "total",
      "device_type": null,
      "psp": null,
      "surcharge_source": "transaction",
      "tax_source": "transaction",
      "terminal_details": null,
      "tip_capture_mode": "tip_at_sale"
    }
  ],
  "additionalProperty": "anything"
}