applepay

The applepay element is an optional child of several transaction types and takes the place of the card element in Apple Pay transaction where the merchant does not decrypt the (Apple Pay) PKPaymentToken prior to submitting the transaction. It contains child elements for the component parts of the PKPaymentToken.

Parent Elements:

authorization, registerTokenRequest, sale

Attributes:

None

Child Elements (all required):

data, header, signature, version

Example:  applepay Structure

<applepay>

  <data>User Name</data>

  <header>

    <applicationData>Base64 Hash of App Data Property</applicationData>

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

    <publicKeyHash>Base64 Hash of Public Merchant Key Cert</publicKeyHash>

    <transactionId>Hex Transaction Id</transactionId>

  </header>

  <signature>Signature of Payment and Header Data</signature>

  <version>Payment Token Version Info</version>

</applepay>