Skip to main content
Optimization Protection

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.

Required fields for Apple Pay
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

  • APPLE_PAY
  • GOOGLE_PAY
  • PAZE

HTTP method: POST
Endpoint: /wallet-decryptions

{
    "encryptedPayloadText": "eyJhdWQiOiJmaWxlOlwvXC8iLCJraWQiOiI4MzYyODY2ZC1kODE2LTRiOGMtYWRkMy0yZDEwOTQ2NDc4NWMiLCJpc3MiOiJodHRwczpcL1wvc………….U2X5ZJvT2OKDCiEe0nPRQ2wffJpM60ucA9tZuf42ozpn1hTotRprgZn9BnK3Zf6VR8IbgecBYjJ9x9shE87DxnEwB7u8gyKxgAODuED7POcz-byg",
    "walletProvider": "PAZE",
}

Response:

{
    "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": "2023-07-11T06:31:37.296Z"
    }
}

Cryptogram details for Visa and Mastercard transactions

The following table summarizes the cryptogram details included in the Paze wallet response for Purchase and Card-on-File transactions with Visa and Mastercard.

Cryptogram details for VISA and Mastercard Transactions
Payment Network Transaction Type Crytogram Details
Visa (VI) Purchase Includes tokenAuthenticationValue and token expiration information in the cryptogramExpirationTimestamp field.
  Purchase and Card-on-file Includes tokenAuthenticationValue and token expiration information in the cryptogramExpirationTimestamp field.
Mastercard (MC) Purchase Includes tokenAuthenticationValue only.
  Purchase and Card-on-file Includes tokenAuthenticationValue and tokenprovisioningverificationvalue also known as Electronic Verification Code (EVC), provided by Mastercard for network token provisioning.