Contains the encrypted payment data.
Refer to Apple's documentation for more information.
Field | Type | Required | Description | Example |
---|---|---|---|---|
version |
str | ✔️ | Specifies the encryption used for the payment token ("EC_v1" or "RSA_v1"). | EC_v1 |
data |
str | ✔️ | The encrypted, base64-encoded payment data. | 3+f4oOTwPa6f1UZ6tG...CE= |
signature |
str | ✔️ | A base64 encoded signature of the payment and header data. | MIAGCSqGSIb3DQ.AAAA== |
header |
components.ApplePayHeader | ✔️ | Information needed to decrypt Apple Pay payment data. Refer to Apple's documentation for more information. |