Get payment event log
A
GET:/payments/{reference}/events
request will return a list of all events for a given payment.
This is the authoritative data for all details and operations for a payment.
GET:/payments/{reference}
is the recommended way to get the current information about a payment.
An example response would look like this:
[
    {
        "reference": "acme-shop-123-order123abc",
        "pspReference": "83b3fdb0-9547-4ec5-bdb7-5600ce70e792",
        "name": "CREATED",
        "amount": {
            "currency": "NOK",
            "value": 49900
        },
        "timestamp": "2023-03-27T10:51:44.5333258Z",
        "idempotencyKey": "19986263-dedf-4b8e-a424-8d042eee4013",
        "success": true
    },
    {
        "reference": "acme-shop-123-order123abc",
        "pspReference": "1304787731",
        "name": "AUTHORIZED",
        "amount": {
            "currency": "NOK",
            "value": 49900
        },
        "timestamp": "2023-03-27T10:51:59.378Z",
        "idempotencyKey": "19986263-dedf-4b8e-a424-8d042eee4013",
        "success": true
    },
    {
        "reference": "acme-shop-123-order123abc",
        "pspReference": "2018200034",
        "name": "CAPTURED",
        "amount": {
            "currency": "NOK",
            "value": 10000
        },
        "timestamp": "2023-03-27T10:52:07.748Z",
        "idempotencyKey": "19986263-dedf-4b8e-a424-8d042eee4013",
        "success": true
    },
    {
        "reference": "acme-shop-123-order123abc",
        "pspReference": "2019200034",
        "name": "CANCELLED",
        "amount": {
            "currency": "NOK",
            "value": 750
        },
        "timestamp": "2023-03-27T10:52:15.616Z",
        "success": true
    }
]