Looking for ePay classic docs? Go to docs.epay.dk
ePay documentationDocsePay documentation
Transactions

List Operations V2

OpenAPI Spec

Test this endpoint live

Open the same request directly in API Explorer.

Open in API Explorer

Server URL

GET
/public/api/v2/transactions/operations

Retrieve finalized transaction operations for the authenticated merchant using cursor-based pagination. Only operations in a final state of SUCCESS or FAILED are returned.

Results are ordered by operation ID in descending order, not by finalization time. Omit offset for the first page. While hasMore is true, pass the returned nextOffset as offset to retrieve the next page, keeping the same filters. Stop when hasMore is false; a non-empty last page can still contain a nextOffset value.

Combine operation types, a final state, transaction IDs, points of sale, and an inclusive finalization-time window to narrow the results. Values within each list are matched with OR; different filters are combined with AND. For example, type=CAPTURE&type=REFUND&state=SUCCESS returns successful captures and refunds.

Migrating from V1: replace page with offset and use hasMore to determine whether to continue. Each entry in items now contains an operation object. Page numbers, totals, and pagination URLs are not returned. Unlike V1, the order follows operation IDs rather than finalizedAt.

Authorization

BearerAuth
headerAuthorizationBearer <token>

Query Parameters

perPageinteger

Maximum number of operations to return. Values outside 1–500 are rejected with a validation error rather than silently capped.

Range:
1 <= value <= 500
Default:
25
offsetstring

Operation UUID returned in nextOffset. Omit for the first page; subsequent pages contain operations with lower IDs than this cursor.

Format:
uuid
Example:
"019ad8a2-18c6-7a72-bf20-2768be84eb42"

Only include the specified operation types. Repeat the parameter to select multiple types, for example type=CAPTURE&type=REFUND. Omit to include all types.

statestring

Only include operations in this final state. Omit to include both successful and failed operations. Non-final states are not accepted.

Value in:
  • "SUCCESS"
  • "FAILED"

Only include operations belonging to these transactions. Use the transaction IDs returned by the API, not operation UUIDs. Repeat the parameter to select multiple transactions.

finalizedBeforestring

Include operations finalized at or before this timestamp (inclusive). Use RFC 3339 format with a timezone.

Format:
date-time
Example:
"2026-11-12T00:00:00Z"
finalizedAfterstring

Include operations finalized at or after this timestamp (inclusive). Use RFC 3339 format with a timezone.

Format:
date-time
Example:
"2026-11-01T00:00:00Z"

Only include operations whose transactions belong to the specified points of sale. Repeat the parameter to select multiple points of sale.

Response Body

application/json

application/json

application/json

application/json

curl -X GET 'https://payments.epay.eu/public/api/v2/transactions/operations'
{  "currentOffset": "",  "nextOffset": "string",  "perPage": 25,  "hasMore": false,  "items": [    {      "operation": {        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",        "referenceTransactionOperationId": "09c60a7b-397b-4797-a5c8-792dc558cbed",        "amount": 0,        "state": "PROCESSING",        "transactionId": "LDG7M4WW44G",        "type": "AUTHORIZATION",        "errorCode": "string",        "createdAt": "2019-08-24T14:15:22Z",        "finalizedAt": "2019-08-24T14:15:22Z"      }    }  ]}