KKonsol Developers
API referenceTransactions

List transactions

GET
/integration/v1/transactions

Lists the transactions your integration key can reach, newest first.

Filter by trading_id or device_id, and by capture time with captured_after and captured_before.

To pick up changes, sort by -updated_at: a void moves the sale it voids, and a transaction uploaded late arrives with an old captured_at but a new updated_at.

Authorization

integrationKey
headerAuthorizationBearer <token>

Your integration key, sent as Authorization: Bearer nik_<prefix>_<secret>. Konsol issues it.

Query Parameters

page?integer
Range1 <= value
Default1
limit?integer
Range1 <= value <= 100
Default20
trading_id?string
Formatuuid
device_id?string
Formatuuid
captured_after?string

Inclusive lower bound on captured_at.

Formatdate-time
captured_before?string

Exclusive upper bound on captured_at.

Formatdate-time
sort?string

Orders by updated_at, ascending, or descending with a - prefix. Ties break on id. Without it the list is newest captured_at first.

Value in"updated_at""-updated_at"

Response Body

A page of transactions

application/json
  1. response
data*array<>
page*integer
Range1 <= value
limit*integer
Range1 <= value <= 100
total_count*integer
Range0 <= value
total_is_capped*boolean
total_pages*integer
Range0 <= value
has_more*boolean
Example Request
curl -X GET 'https://api.konsol.my/integration/v1/transactions'
Example Response
{  "data": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "device_id": "3bafab7b-4400-4bcf-8e6e-09f954699940",      "trading_id": "1697ee0a-d655-4892-9ce3-9e2a05ec9dc1",      "acquirer_id": "32871e4c-4020-4557-b297-174c2d3721f9",      "tid": "string",      "mid": "string",      "channel": "card",      "type": "sale",      "status": "approved",      "acquirer_ref": "string",      "response_code": "string",      "invoice_no": "string",      "batch_no": "string",      "captured_at": "2019-08-24T14:15:22Z",      "received_at": "2019-08-24T14:15:22Z",      "updated_at": "2019-08-24T14:15:22Z",      "currency": "string",      "amount_total": 0,      "card_scheme": "string",      "card_pan_last4": "string",      "root_transaction_id": "80326e99-5851-470f-abfc-d26103ea144d",      "original_transaction_id": "368700fc-be57-4411-8ef4-136caf5681c0",      "voided_by_transaction_id": "4a6c7bbe-734a-4b52-b320-909980108587"    }  ],  "page": 1,  "limit": 1,  "total_count": 0,  "total_is_capped": true,  "total_pages": 0,  "has_more": true}