pilot

Upload Your Encryption Key {#uctp-upload-encryption-key}
========================================================

After you enable `Click to Pay`, you must upload your public encryption keys so that you can retrieve payment information from the `Unified Click to Pay` checkout() SDK method. This method retrieves all of the payment data that is captured during the transaction. The payment data is encrypted to ensure that the payment information is secure. You must generate an encryption key pair to retrieve the encrypted payment information and upload the public encryption key to the `Visa Acceptance Platform`.

> IMPORTANT
> You must upload your encryption key before you can generate the capture context from the ` sessions ` API.  
> Follow these steps to upload your encryption key to the `Visa Acceptance Platform`:

1. Log in to the `Business Center`:  
   Test URL: ` `<https://businesscentertest.visaacceptance.com/ebc2>` `  
   Production URL:` `<https://businesscenter.visaacceptance.com/ebc2>` `  
   If you are unable to access this page, contact your sales representative.
2. In the `Business Center`, from the navigation panel choose Payment Configuration \&gt; Key Management.  
   ![](/content/dam/documentation/cybs/en-us/topics/platform/rest/getting-started/images/left-navigation-311x633.png/jcr:content/renditions/original)
3. Click + Generate key.  
   ![](/content/dam/documentation/cybs/en-us/topics/payments-processing/payment-services/sec-keys/images/generate-key-1200x309.png/jcr:content/renditions/original)
4. Under Alternate Key Types, choose Token Management MLE and click Generate key.  
   ![](/content/dam/documentation/cybs/en-us/topics/payments-processing/payment-services/sec-keys/images/tms-mle-key-list-1200x1554.png/jcr:content/renditions/original)
5. Enter your public key in Base64 format and click Create key.  
   ![](/content/dam/documentation/cybs/en-us/topics/payments-processing/payment-services/sec-keys/images/tms-mle-create-key.png/jcr:content/renditions/original)

