Decrypt a Paze bundle
The following is an example of a Paze request:
You can decrypt standard Paze bundle by sending a POST
request to the /wallet-decryptions
endpoint using the following required fields.
Field name | Description | |
---|---|---|
encryptedPayloadText |
Indicates the merchant provided an unreadable encrypted bundle or payload of the wallet provider. | |
walletProvider |
Identifies the type of wallet used as Paze. The valid values are
|
|
walletTransactionId |
Transaction ID of the wallet provided by Apple Pay. | |
walletApplicationData |
A Base64-encoded string provided by Apple Pay. | |
digitalSignature |
The digital siginature for the payload provided by Apple Pay. | |
version |
Version of the Apple Pay wallet. | |
keyHash |
Identifies a hash value based only on primary keys for the dataset. | |
publicKey |
The associated cipher key for Apple Pay and Google Pay used to encrypt the payload. |
HTTP method: POST
Endpoint: /wallet-decryptions
Json
{
"encryptedPayloadText": "eyJhdWQiOiJmaWxlOlwvXC8iLCJraWQiOiI4MzYyODY2ZC1kODE2LTRiOGMtYWRkMy0yZDEwOTQ2NDc4NWMiLCJpc3MiOiJodHRwczpcL1wvc………….U2X5ZJvT2OKDCiEe0nPRQ2wffJpM60ucA9tZuf42ozpn1hTotRprgZn9BnK3Zf6VR8IbgecBYjJ9x9shE87DxnEwB7u8gyKxgAODuED7POcz-byg",
"walletProvider": "PAZE",
}
Response:
Json
{
"requestId": "b57b4b67-0642-4bf0-ab5f-c4bd48e9c418",
"messages": {
"responseStatus": "OK",
"responseCode": "200"
},
"accountHolder": {
"accountNumber": "4895370016781988",
"expiry": {
"monthNumber": "05",
"yearNumber": "2032"
},
"paymentAccountReference": "V0010013021015351808388794695",
"billingAddress": {
"line1": "1234 Main Street",
"city": "Tampa",
"state": "FL",
"countryCode": "US"
},
"consumerInfo": {
"firstName": "John",
"lastName": "Doe",
"fullName": "John Doe",
"emailAddress": "example@example.com",
"countryCode": "US",
"languageCode": "EN",
"mobileTelephoneNumber": "1234567890"
}
},
"cryptogramDetail": {
"tokenAuthenticationValue": "AwAAAAAAZnOgmOovPMniQOQAAAA=",
"electronicCommerceIndicator": "7",
"cryptogramExpirationTimestamp": "1693058521"
}
}