ApplePay multiTokenContexts request vs response

We as a PSP register merchantIdentifiers when registering merchants to ApplePay.

We then use these identifiers in a multiTokenContexts during ApplePay session creation / validation / payment.

"multiTokenContexts": [ { "merchantIdentifier": "ABC-MID-1", "externalIdentifier": "MAIN_PURCHASE", "merchantName": "Main", "amount": "2.50" }, { "merchantIdentifier": "ABC-MID-1", "externalIdentifier": "CONVENIENCE_FEE", "merchantName": "Fee Processing", "merchantDomain": "m2.example.com", "amount": "2.50" } ]

in response we get

"authenticationResponses": [ { "merchantIdentifier": "0aff534d6d46fd653f60e6161c53101ee8d9cbc20b1bc40533c929d0a6aae6bc", "authenticationData": "AAAIAKnglVRsCyOvcgI*=", "transactionAmount": "250" }, { "merchantIdentifier": "bfc9a63b4ebab8cde90234731cb18a544c306b0af747d93d773fedb603f0945e", "authenticationData": "AAAIANBEqODkDcrDTgI*=", "transactionAmount": "250" } ]

We need to know how to match the entries in the request array to the response array. Is the order guarantied?

We did not find any documentation on how the response hash for the identifier is computed.

ApplePay multiTokenContexts request vs response
 
 
Q