Skip to main content

TransactionOperationListResponse

pageinteger

The current pagination page

perPageinteger

The requested number of entries per page

lastPageinteger

The last page with entries

totalinteger

The total number of entries

firstPageUrlstring

URL for the first page

lastPageUrlstring

URL for the last page

nextPageUrlstringnullable

URL for the next page

previousPageUrlstringnullable

URL for the previous page

nextPageintegernullable

The page number for the next page. Null if no next page.

previousPageintegernullable

The page number for the previous page. Null if no previous page.

frominteger

The entry offset for the first entry in the page

tointeger

The entry offset for the last entry in the page

pathstring

The path for the pagination endpoint

items object[]

The page contents

  • Array [
  • iduuid

    The ID of the operation

    referenceTransactionOperationIduuidnullable

    The ID of another operation that this operation depends on.
    For example, a REFUND must reference the CAPTURE it is refunding.
    Other operation types may also reference a prior operation if required.

    amountinteger

    The operation amount in minor units (e.g., 1095 = 10.95 DKK)

    statestring

    The state of the operation.

    • PROCESSING: The operation has been received and is being handled.
    • SUCCESS: The operation completed successfully.
    • FAILED: The operation could not be completed. See errorCode for rejection reason.

    Possible values: [PROCESSING, SUCCESS, FAILED]

    transactionIdstring

    The ID of the associated transaction

    Example: LDG7M4WW44G
    typestring

    The type of operation.

    • AUTHORIZATION: Reserve funds on the payment method.
    • CAPTURE: Transfer previously authorized funds.
    • SALE: A combined operation that performs both AUTHORIZATION and CAPTURE in a single step.
    • REFUND: Return funds to the customer.
    • VOID: Releases previously authorized funds.
    • PAYOUT: Transfer funds to a recipient.

    SALE operations are only available for certain acquirers and will be used when available and instant capture is enabled.

    Possible values: [AUTHORIZATION, SALE, CAPTURE, REFUND, VOID, PAYOUT]

    errorCodestringnullable

    When state is equal to FAILED, this will contain the explaining error code.

    createdAtdate-time

    The time of creation

    finalizedAtdate-timenullable

    The timestamp when the operation reached a terminal state.
    An operation is terminal once it transitions from PROCESSING to either SUCCESS or FAILED.

  • ]
  • TransactionOperationListResponse
    {
    "page": 0,
    "perPage": 0,
    "lastPage": 0,
    "total": 0,
    "firstPageUrl": "string",
    "lastPageUrl": "string",
    "nextPageUrl": "string",
    "previousPageUrl": "string",
    "nextPage": 0,
    "previousPage": 0,
    "from": 0,
    "to": 0,
    "path": "string",
    "items": [
    {
    "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "referenceTransactionOperationId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "amount": 0,
    "state": "PROCESSING",
    "transactionId": "LDG7M4WW44G",
    "type": "AUTHORIZATION",
    "errorCode": "string",
    "createdAt": "2024-07-29T15:51:28.071Z",
    "finalizedAt": "2024-07-29T15:51:28.071Z"
    }
    ]
    }