Get message by response ID

Service description

Use this service to retrieve a specific message by its response ID, usually in combination with the Get list of messages service. The response body and headers are similar to Get next message

Request

GET https://connect.lhv.com/messages/{messageResponseId}

Headers

NameValueDescription

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-CodeA

Body

Typically XML or JSon body depending on message type

Response

Headers

NameValueDescription

Content-Type

application/xml or 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

Message-Request-Id

random string

Message-Request-Id from the the original request. There are cases where request id can be missing, for example the Debit Credit Notification.

Message-Response-Id

random string

Unique response id

Message-Response-Type

CREDIT_DEBIT_NOTIFICATION, PAYMENT etc.

Type of the response depending on the service.

Body

OK

Content depends on the service - see specifications of different services.

Last updated