Balance Inquiry - ltinquiry

This section describes the message parameters for Loyalty Card Add Points transaction processing, which you can submit using the XML API integration method. Refer to the Integration Methods section for more information.

The ltinquiry transaction gets the current balance and any current rewards or offers available for the loyalty card.

In this section:

Request

Field nameDescriptionRequiredLengthData type
ssl_merchant_idMerchant ID
Elavon-assigned Converge account ID.
Required15numeric
ssl_user_idConverge User ID
The user ID with Hosted Payment API User status that can send transaction requests through the terminal.
Required15alphanumeric
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.
Required64alphanumeric
ssl_transaction_typeTransaction Type
Value:ltinquiry
Required20alphanumeric
ssl_phonePhone
Return points using the phone number linked to the loyalty card.
Format: Must not include spaces or dashes
Optional10numeric
[Card Data]Use the appropriate card data parameters for the transaction.
ssl_loyalty_card_numberLoyalty Card Number
Inquire the current balance and current rewards or offers using the unique identifier of the loyalty card.
Required for hand-keyed transactions.
Conditional19numeric
ssl_loyalty_exp_dateLoyalty Card’s Expiry Date
Date when the card becomes invalid.
Required if ssl_loyalty_card_number is not null.
- Defaults to 1249 if parameter is null.
Format: MMYY
Optional4numeric
ssl_loyalty_track_dataRaw Track I and/or II Data
Track data captured from the card’s magnetic stripe. The data includes beginning and ending sentinels, card’s expiry date, cardholder’s first and last name.
Required if loyalty card is available for swipe transactions.
Conditional76alphanumeric
ssl_enc_loyalty_track_dataEncrypted Track Data
Track data captured from the card’s magnetic stripe or an Ingenico encrypting device.
Conditional160alphanumeric
ssl_encrypted_loyalty_track1_dataEncrypted Loyalty Track I Data
Track I data captured from a MagTek encrypting device.
Conditional160alphanumeric
ssl_encrypted_loyalty_track2_dataEncrypted Loyalty Track II Data
Track II data captured from a MagTek encrypting device.
Conditional160alphanumeric
ssl_ksnKey Serial Number
Unique identifier generated from the swiped payment card and returned by the encrypting device. The KSN encrypts the PAN data through the DUKPT method.
Required if using:
- ssl_enc_loyalty_track_data
- ssl_encrypted_loyalty_track1_data
- ssl_encrypted_loyalty_track2_data
Conditional20alphanumeric

Response

Field nameDescription
ssl_resultTransaction Outcome
An ssl_result = 0 indicates an approved transaction.
An ssl_result not equal to 0 indicates a declined and unauthorized transaction.
ssl_result_messageTransaction Result Message
Refer to the Loyalty Card Response Codes section for an extensive list of possible returned messages.
ssl_txn_idTransaction ID
Unique identifier of the transaction.
ssl_txn_timeProcessing Date and Time
Indicates when Converge processed the transaction.
Format: MM/DD/YYYY hh:mm:ss AM/PM
Example: 03/18/2010 10:34:10 AM
ssl_approval_codeTransaction Approval Code
Unique code returned by the credit card processor that indicates the approval status of the transaction.
ssl_loyalty_card_numberMasked Card Number
ssl_loyalty_exp_dateCard’s Expiry Date
Returned based on merchant setup.
ssl_loyalty_account_balanceAccount Balance
Available balance on the loyalty card.
ssl_amountTransaction Amount
Returned based on merchant setup.
ssl_phonePhone Number
ssl_loyalty_programLoyalty Program
Description of the merchant’s loyalty program that can be printed on the receipt.
ssl_access_codeAccess Code
Randomly generated access code that is tied to the primary customer for the account created as part of the loyalty program.
ssl_promo_listPromotion List
This contains a list of all promo products; the data for each promo product will be nested and embedded between beginning and ending elements ssl_promo_product up to 5 promo products. Each promo product ssl_promo_product will contain:
- ssl_promo_code
- ssl_promo_code_name
- ssl_promo_code_description
- ssl_promo_code_issue_points
[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.