---
title: EncryptedTokenMetadata
framework: Apple Pay Merchant Token Management API
role: symbol
role_heading: Object
platforms: [app store connect api 1.0.11+, apple pay merchant token management api 1.0.12+]
path: merchanttokennotificationservices/encryptedtokenmetadata
---

# EncryptedTokenMetadata

Encrypted data about the merchant token, including its Merchant Payment Account Number (MPAN) and expiration date.

## Declaration

```data
object EncryptedTokenMetadata
```

## Properties

data: Encrypted merchant token metadata. data is a JSON object that contains the MPAN and expiration date. For more information about the unencrypted data, see TokenMetadata. ephemeralPublicKey: The Base64-encoded ephemeral public key bytes. Present only when the merchant’s public key uses EC_v1. publicKeyHash: A hash of the X.509-encoded public key bytes of the merchant’s certificate. signature: A detached PKCS #7 signature, which is Base64-encoded as a string. The signature includes the signing certificate, its intermediate CA certificate, and information about the signing algorithm. For EC_v1, the signature is a valid ECDSA signature (ecdsa-with-SHA256 1.2.840.10045.4.3.2) of the concatenated values of ephemeralPublicKey and data. For RSA_v1, the signature is a valid RSA signature (RSA-with-SHA256 1.2.840.113549.1.1.11) of the concatenated values of wrappedKey and data. wrappedKey: The symmetric key, which is wrapped using your RSA public key. Present only when the merchant’s public key uses RSA_v1.

## See Also

### Merchant token event retrieval

- [Get Details of a Merchant Token Event](merchanttokennotificationservices/merchant-token-event-retrieval.md)
- [MerchantTokenEventResponse](merchanttokennotificationservices/merchanttokeneventresponse.md)
- [MerchantTokenMetadata](merchanttokennotificationservices/merchanttokenmetadata.md)
- [CardArt](merchanttokennotificationservices/cardart.md)
- [CardMetadata](merchanttokennotificationservices/cardmetadata.md)
- [TokenMetadata](merchanttokennotificationservices/tokenmetadata.md)
