Obtaining a Public Encryption Key
To obtain the public key for the encryption of the account number and validation number, as well as the key Id, access this URL: https://request.eprotect.vantivcnp.com/eProtect/keys.json. The link displays information similar to the following:
{"publicKey":
{"modulus":"994fcf3844126afe2205a022b4a61b6f79cee12278ad7a8ce858762abf3976eeaa0c3e9a7ae5d2f61f8eb4297330d4f8e32befc1ab9518a93d015444ae90735913a939cb9b93800b623b709706c7085745dfc79afa0f84b7a888ae80efa2794b08437dbe7835460bf1a9298fb43942aefb8b559863e1b2d18b16d78590c9375dfe12af84a7b1f506fcb6d91f8aa982102b400c62f8b306b619988b61363f540eab940029ed7a164d9d99d4caf9aff847defe7385a4ade12b060dcfb6461adcba1f1e3e70cfd40e6032f1029146c79e793b4bebf53b8c04a256aa6ad0f5b1900d956800719aea6a092e28ff4f033cd85e0e668f6577d126d2c8421abb4f5","exponent":"10001","keyId":"29157300046"},"visaCheckout"{"apiKey":"WPKSQ4SVKENZW3OQJ0S14Vg8m6kpdvHrRPzDCh4tXQ429zs"}}
The key rotates daily, but you can use each key for up to one year. Use the key and RSA-OAEP_SHA-1 encryption, encrypt the card and validation numbers. Use the keyId
value as the value for the encryptionKeyId
element in your registerTokenRequest
.
The URL for the Pre-Live environment is: https://request.eprotect.vantivprelive.com/eProtect/keys.json