GetMerchantTokenUsageInformationPackageResponse
The encrypted merchant token usage information package.
Declaration
object GetMerchantTokenUsageInformationPackageResponseProperties
| Name | Type | Description |
|---|---|---|
ciphersuite Required | string | The cipher suite used for HPKE in authorization mode. Use the value sent as |
data Required | string | The encrypted merchant token usage information package. |
ephemeralPublicKey Required | string | The ephemeral public key in X9.63 representation, Base64-encoded. |
infoHash Required | string | A SHA-256 digest of the |
merchantPublicKeyHash Required | string | An SHA-256 digest of the |
merchantTokenPublicKeyHash Required | string | An SHA-256 digest of the |
Mentioned in
Discussion
The data needs to be a merchant token usage information package encrypted to the merchantTokenPublicKey using HPKE in authorization mode with merchantPrivateKey and the following options:
Option | Value |
|---|---|
| DHKEM(P-384, HKDF-SHA384) |
| HKDF-SHA384 |
| AES-256-GCM |
The merchantPrivateKey needs to correspond to the merchantPublicKey provided in the merchant token usage information availability notification. The info parameter needs to be the UTF-8 bytes of ApplePayMerchantTokenUsageInformation_1.0 concatenated with the SHA-256 digest (in bytes) of the merchantTokenIdentifier (encoded using UTF-8). For the ciphersuite, use the supportedCiphersuite returned by Apple in the Retrieve Merchant Token Public Key.
See Also
Merchant token usage information
Retrieve Merchant Token Public KeyMerchantToken Usage Data Availability NotificationMerchantTokenUsageDataAvailabilityNotificationRequestGet MerchantToken Usage Information PackageAutomaticReloadPaymentDetailsCurrencyAmountDeferredPaymentDetailsPastPaymentPaymentIssueDetailsRecurringPaymentDetailsUpcomingPaymentUsageInformation