Key Exchange - emvkeyexchange

This section describes the message parameters for EMV Keys Request transaction processing, which you can submit using the XML API integration method. Refer to the Integration Methods section for more information.

The emvkeyexchange transaction requests EMV keys:

  • To update the device
  • To initially get the EMV keys
  • When an EMV Chip Sale (emvchipsale) transaction response returns an ssl_update_emv_keys value of  Y
  • When an EMV Chip Auth Only (emvchipauthonly) transaction response returns an ssl_update_emv_keys value of  Y
  • When an EMV Swipe Sale (emvswipesale) transaction response returns an ssl_update_emv_keys value of  Y

In this section:

For the entire list of API endpoints, refer to API Endpoints.


Field nameDescriptionRequiredLengthData type
ssl_merchant_idMerchant ID
Elavon-assigned Converge Account ID (AID).
Required6 or 7numeric
ssl_user_idConverge User ID
The user ID with Hosted Payment API User status that can send transaction requests through the terminal.
ssl_pinTerminal ID
Unique identifier of the terminal that will process the transaction request and submit to the Converge gateway.
The ssl_user_id sending the transaction request must be associated with the terminal that will process the request.
ssl_transaction_typeTransaction Type
Valid value:  emvkeyexchange


Field nameDescription
ssl_resultTransaction Outcome
An ssl_result = 0 indicates a successful EMV keys request.
ssl_result_messageTransaction Result Message
A result of SUCCESS indicates that the EMV keys were requested.
ssl_emv_key_dateDate of Last Update
Date of last host EMV key update.
emv_key_collectionParent Element of EMV Key Collection
emv_keyEMV Key
Parent element of key definition.
public_key_indexPublic Key Index
Indicates the public key in conjunction with the RID.
hash_idHash ID
Identifier of the hash algorithm used to produce the hash results in the digital signature scheme.
signature_idSignature ID
Identifier of the digital signature algorithm used with the public key.
Value:  01 - Default (always)
public_keyPublic Key Value
public_key_lengthPublic Key Length
A Public Key element used to confirm the size of the public key in the cryptography process.
The value of the exponent part of the Public Key.
A check value calculated on the concatenation of all parts of the Public Key.
[Error]Returned only if an error occurs. Refer to the Error Codes section for more information.
errorCodeError Code
Typically, when the transaction failed validation or the request is incorrect. This will prevent the transaction from going to authorization. This is a numeric field.
errorMessageError Message
Detailed explanation of the error. This field may be changed based on merchant configuration in the user interface.
errorNameError Name
Error name or reason for the error.



  • In this example, you will have to change the data values, such as my_merchant_id, my_user_id, my_pin, and transaction data to match your Converge account and meet the needs of your website.
  • Code samples provided are for demonstration only and should not be used for live transactions. All sensitive merchant data, including transaction amounts and your Converge credentials, should be placed in server side code.