v1

latestOpenAPI 3.0.12026-07-243686491.1 MB
Payment Terminals

Retrieve payment sessions for a payment terminal

List the payment sessions performed on the given payment terminal.<br>Required scope: payment-terminals:read

get/api/v1/payment-terminals/{type}/{id}/sessions

Path parameters

type'payter' | 'cpi' required

Payment terminal type. Only session-aware types are supported.

idinteger required

Numeric identifier of the payment terminal.

Query parameters

pageinteger

page number to retrieve (starts with 0)

perPageinteger

number of items per page (between 1 and 100, default 10)

Response

Sessions performed on the payment terminal

Example response

{
  "data": [
    {
      "id": 1234,
      "status": "completed",
      "currency": "dkk",
      "reservedAmount": 20,
      "committedAmount": 12.5,
      "chargeId": 9876,
      "chargePointId": 42,
      "failedReason": "card_declined",
      "createdAt": "2024-05-12T15:56:45.99Z"
    }
  ]
}