Skip to main content

Get card account transactions

GET 

/v1/card-accounts/:id/transactions

Requests without the header PSU-IP-Address is limited to 4 calls per day, and a PSU consent that is maximum 180 days old.

It is possible to filter the transactions by using query parameters:

  • `bookingStatus` can be used to get only booked transactions, only pending or all transactions.
  • `dateFrom` and `dateTo` is used to get transactions within a given timeframe. These parameters are optional, but recomended to use because increases resilience to change with the ASPSP systems and increases performance. Note that dateFrom is required, but it will return no error but use a default value, this is for bakwards compatibility.
  • `offset` and `limit` is used for pagination (though it is recomended to follow the "next" and "previous" links). Offset is the offset from the first transaction in the query and limit is the max amount of transactions to return. These parameters are also recomended to use for the same reason as dateFrom and dateTo.

Example: This request gets the first 10 transactions for the 1st and 2nd of January 2018:

https://psd2.eika.no/api/v1/card-accounts/SOME-REFERENCE-ID/transactions?bookingStatus=both&dateFrom=2018-01-01&dateTo=2018-01-02&offset=0&limit=10

To get the next 10 transactions change the offset to 10 (so you skip the first 10 you already got), but keep the limit at 10 because you still want 10 transactions:

https://psd2.eika.no/api/v1/card-accounts/SOME-REFERENCE-ID/transactions?bookingStatus=both&dateFrom=2018-01-01&dateTo=2018-01-02&offset=10&limit=10

See XS2A Framework Implementation Guidelines, Section 6.6.4 for additional details.

Request

Responses

OK