Get list of messages V2
Service description
Version 2 of the Get list of messages service differs by supporting pagination.
V2 version supports only LHV UK messages where x-bank-code = LHVUK. It does not include the messages from LHV EE where x-bank-code = LHVEE.
With these limitations the service could be more suitable for specific use cases like integrations testing and problem solving.
Request
GET
https://connect.lhv.com/v2/messages
Parameters
pageSize
integer
Number of messages to return on one page
pageNumber
integer
Page number
includeProcessed
true/false
Optional. Also includes messages that are already processed by the Customer
includeMetadata
true/false
Optional. Includes Metadata block. Default is false.
responseType
string
Optional. Filter specific service messages. The value can be any Message-Response-Type (e.g., ACCOUNT_STATEMENT, CREDIT_DEBIT_NOTIFICATION, PAYMENT). Similar to Filter-Response-Type header for V1 service.
serviceProvider
true/false
Optional. Filter only Service Provider messages. Similar to Filter-Service-Provider header for V1 service.
Headers
Client-Code
customer value
For Service Providers only. Company registration code of the Service Provider or its customer. When using the Service Provider own value also related customers messages are returned by default - see also Filter-Service-Provider for more options.
Client-Country
customer value
For Service Providers only. Should match the value of Client-Code
Body
JSon with a list of messages metadata - type, timing, reference ID's.
Response
Headers
Content-Type
application/json
Format of the message body
X-Bank-Code
LHVUK, LHVEE
LHV Bank entity
Client-Code
customer value
When using service provider model - customer entity related to the message
Client-Country
customer value
When using service provider model - customer entity related to the message
Body
OK
Last updated
Was this helpful?