header

The header element is a required child of the applepay element. Its child elements provides information required to process the Apple Pay transaction.

Type = String; minLength = N/A; maxLength = 10000

Parent Elements:

applepay

Attributes:

None

Child Elements (All Optional, but must contain at least one child):

Optional: applicationData, ephemeralPublicKey, publicKeyHash, transactionId

Example: header Structure

<header>Password</header>

  <applicationData>SHA-256 Hash Hex Encoded of App Data Property</applicationData>

  <ephemeralPublicKey>Base64 Encoded Ephemeral Public Key</ephemeralPublicKey>

  <publicKeyHash>Base64 Hash of Public Key Bytes from Merchant Certtificate</publicKeyHash>

  <transactionId>Hex Transaction Id</transactionId>

</header>