Mark batch of messages as processed

Service description

Confirm successful reading and processing of several messages by deleting these from your pending list. Use the service in combination with Get list of messages

Request

POST https://connect.lhv.com/messages/delete

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

Body

JSon array

List of message Id's

{
	"messageResponseIds": [
		"RES6bd75393a14f4c1fbcb4f3f5327c092f",
		"RES0021745785e24135ada8a40488782480",
		"RES2ea2b8f6ac464bf5b041a7b69805e878"
	]
}

Response

Headers

NameValueDescription

X-Bank-Code

LHVUK, LHVEE

LHV Bank entity

Body

OK

All messages deleted successfully

{
    "messages": [
        {
            "messageResponseId": "RES0021745785e24135ada8a40488782480",
            "status": 200
        },
        {
            "messageResponseId": "RES6bd75393a14f4c1fbcb4f3f5327c092f",
            "status": 200
        },
        {
            "messageResponseId": "RES2ea2b8f6ac464bf5b041a7b69805e878",
            "status": 200
        }
    ]
}

Last updated