Skip to main content

TransactionsListResponse

pageinteger

The current pagination page

per_pageinteger

The requested number of entries per page

last_pageinteger

The last page with entries

totalinteger

The total number of entries

first_page_urlstring

URL for the first page

last_page_urlstring

URL for the last page

next_page_urlstring

URL for the next page

previous_page_urlstring

URL for the 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 [
  • idstring

    The ID of the transaction

    Example: LDG7M4WW44G
    subscriptionIduuidnullable

    The ID of the associated subscription

    Example: 0197c07b-3f6d-7be2-b848-702b08958128
    statestring

    The current state of the transaction

    errorCodestringnullable

    If the transaction has failed, this contains the associated error code explaining what went wrong.

    createdAtdate-time

    The time of creation

    sessionIdstringnullable

    The ID of the associated session. This will be null for any MIT transactions.

    paymentMethodIduuid

    The ID of the associated payment method

    paymentMethodTypestring

    The method type of the associated payment method.

    paymentMethodSubTypestring

    The sub type of the associated payment method. For card based payments, this will contain the name of the scheme, such as visa or mastercard

    paymentMethodExpirydate

    The expiration date of the associated payment method.

    paymentMethodDisplayTextstring

    A cardholder friendly text to help them identify the payment method. For cards this will be a masked version of the card number.

    paymentMethodHolderNamestringnullable

    Contains the entered cardholder name of the optional "name" field. Will be null if the field is not rendered.

    scaModestring

    The SCA mode of the transaction.

    customerIdstring

    The merchant customer id of the transaction. This field is required to enable advanced features such as storing a card for later reuse. Do not use any "guest" customer ids. Customer ids must be unique for each customer and must be protected by authentication.

    amountinteger

    The transaction amount in minor units. 10000 would be 100 DKK

    feeinteger

    The applied transaction fee in minor units. The fee is included in the amount field. To get the original amount you must subtract fee from amount. Fees are only applied if surcharge is configured in the ePay backoffice.

    currencystring

    The currency of the transaction in alpha-3. DDK for danish kroner.

    instantCapturestring

    The instant capture mode.

    Possible values: [OFF, VOID, NO_VOID]

    notificationUrluri

    The URL to receive webhook notifications of any transaction attempts

    pointOfSaleIduuid

    The ID of the associated point of sale

    referencestring

    The merchant reference of the transaction, this is often used for the order id.

    textOnStatementstring

    The text to show on the cardholder bank statement

    exemptionsstring[]

    The list of exemptions to apply when possible. Note that exemptions may shift liability from the issuer to the merchant.

    attributes object

    A list of pass-through parameters that will be sent back to the merchant for following any webhooks

    property name*string
    clientIpstring

    The ip of the cardholder making the transaction

    typestring

    The type of transaction.

    Possible values: [PAYMENT, PAYOUT]

  • ]
  • TransactionsListResponse
    {
    "page": 0,
    "per_page": 0,
    "last_page": 0,
    "total": 0,
    "first_page_url": "string",
    "last_page_url": "string",
    "next_page_url": "string",
    "previous_page_url": "string",
    "from": 0,
    "to": 0,
    "path": "string",
    "items": [
    {
    "id": "LDG7M4WW44G",
    "subscriptionId": "0197c07b-3f6d-7be2-b848-702b08958128",
    "state": "string",
    "errorCode": "string",
    "createdAt": "2024-07-29T15:51:28.071Z",
    "sessionId": "string",
    "paymentMethodId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "paymentMethodType": "string",
    "paymentMethodSubType": "string",
    "paymentMethodExpiry": "2024-07-29",
    "paymentMethodDisplayText": "string",
    "paymentMethodHolderName": "string",
    "scaMode": "string",
    "customerId": "string",
    "amount": 0,
    "fee": 0,
    "currency": "string",
    "instantCapture": "OFF",
    "notificationUrl": "string",
    "pointOfSaleId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "reference": "string",
    "textOnStatement": "string",
    "exemptions": [
    "string"
    ],
    "attributes": {},
    "clientIp": "string",
    "type": "PAYMENT"
    }
    ]
    }