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
Name | Value | Description |
---|---|---|
|
| Number of messages to return on one page |
|
| Page number |
|
| Optional. Also includes messages that are already processed by the Customer |
|
| 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
Name | Value | Description |
---|---|---|
Client-Code |
| 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 |
| For Service Providers only. Should match the value of Client-CodeA |
Body
JSon with a list of messages metadata - type, timing, reference ID's.
Response
Headers
Name | Value | Description |
---|---|---|
Content-Type | application/json | Format of the message body |
X-Bank-Code |
| LHV Bank entity |
Client-Code |
| When using service provider model - customer entity related to the message |
Client-Country |
| When using service provider model - customer entity related to the message |
Body
OK
Last updated