Transaction Report

Last updated: 2026-03-25

GET
/in-store/api/v1/terminal/{terminalId}/transactionReport

Retrieve a list of transactions for a terminal within a date range

Path Parameters

terminalIdstringrequired

The ID of the terminal to retrieve the report for.

Query Parameters

startDatestringrequired

Report start date and time in UTC ISO 8601 format (e.g. '2025-01-01T00:00:00.000Z').

endDatestringrequired

Report end date and time in UTC ISO 8601 format (e.g. '2025-01-02T23:59:59.999Z').

HTTP Status Code Summary

CodeDescription
200Transaction report retrieved successfully.
400Bad request. Check that startDate and endDate are valid ISO 8601 UTC strings.
401Unauthorized. Ensure your bearer token and subscription key are valid.
409Conflict.
422Unprocessable entity. The terminal or date range could not be resolved.
Request
cURL
1curl -X 'GET' \
2  'https://demo-api.westpay.se/in-store/api/v1/terminal/<terminalId>/transactionReport?startDate=2025-01-01T00%3A00%3A00.000Z&endDate=2025-01-02T23%3A59%3A59.999Z' \
3  -H 'accept: application/json' \
4  -H 'Ocp-Apim-Subscription-Key: <merchant-subscription-key>' \
5  -H 'Authorization: Bearer <access-token>'
Response
Response
1{
2  "transactionList": [
3    {
4      "transDate": "2025-01-01T10:05:00Z",
5      "transactionType": 1,
6      "amount": 100.00,
7      "extra": null,
8      "cashBack": null,
9      "reference": "23179040000954",
10      "authCode": "ABC123",
11      "hostResponse": "00",
12      "institution": "Visa",
13      "batch": "001",
14      "cardName": "Visa"
15    },
16    {
17      "transDate": "2025-01-01T14:20:00Z",
18      "transactionType": 2,
19      "amount": 50.00,
20      "extra": null,
21      "cashBack": null,
22      "reference": "23179040000955",
23      "authCode": "DEF456",
24      "hostResponse": "00",
25      "institution": "Mastercard",
26      "batch": "001",
27      "cardName": "Mastercard"
28    }
29  ]
30}