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.
- Type: array string[] | null · Account Idaccount
_id 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.
- Type: string | null · Terminal Idterminal
_id Filter by terminal ID
- Type: string | null · Processor Midprocessor
_mid Filter by acquirer processor MID (contains match)
- Type: string | null · Processor Tidprocessor
_tid Filter by acquirer processor TID (contains match)
- Type: array string[] | null · Statusenumstatus
Filter by transaction status
values- pending
- authorized
- captured
- settled
- declined
- Type: string · enum
Current status of a transaction. The
surcharge_pendingstatus indicates the transaction is awaiting cardholder confirmation of a surcharge via the confirm endpoint.surcharge_declined_by_payermeans the cardholder rejected the surcharge and the transaction was canceled.values- pending
- authorized
- captured
- settled
- declined
- Type: string | null · Batch Idbatch
_id Filter by batch ID
- Type: array string[] | null · Transaction Typetransaction
_type Filter by transaction type
- Type: string | null · Location Idlocation
_id Filter by location ID
- Type: string | null · Gateway Transaction Idgateway
_transaction _id Filter by processor gateway transaction ID
- Type: string | null · Transaction Idtransaction
_id Filter by transaction ID
- Type: string | null · Event Idevent
_id Filter by event ID
- Type: string | null · Reader Identifierreader
_identifier Filter by reader identifier
- Type: string | null · Owner Idowner
_id Filter by owner account ID (parent PSP/partner)
- Type: string | null · Device Typedevice
_type Filter by device type (iphone, android_phone, ipad, android_tablet, other)
- Type: string | null · Search Termsearch
_term Free-text search across common fields
- Type: integer | null · Min Amountmin
_amount min:0Minimum total amount
- Type: integer | null · Max Amountmax
_amount min:0Maximum total amount
- Type: integer | null · Start Datestart
_date Start of created_at range (epoch milliseconds)
- Type: integer | null · End Dateend
_date End of created_at range (epoch milliseconds)
- Type: string | null · Payment Methodpayment
_method Filter by payment method
- Type: string | null · Card Brandcard
_brand Filter by card brand
- Type: string | null · Card Numbercard
_number Partial card number search
- Type: string · Sort Byenumsort
_by Sort field (created_at, total_amount, transaction_id, status, card_brand)
values- created
_at - total
_amount - transaction
_id - status
- card
_brand
- Type: string · Sort Ordersort
_order Pattern: ^([Aa][Ss][Cc]|[Dd][Ee][Ss][Cc])$Sort order (asc or desc)
Sort order. Case-insensitive —
asc,ASC,desc, andDESCare all accepted (unlikesort_by, which is case-sensitive). - Type: integer · Limitlimitmin:1max:200
Page size
- Type: integer · Offsetoffsetmin:0
Items to skip
- enumAcceptconst:application/jsonrequired
Response format. Must be
application/json.values- application/json
- application/json
- application/json
- application/json
- application/json
curl https://api.uat.koard.com/v2/transactions \
--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"
}
