Swipe Auth Only - emvswipeauthonly
This section describes the message parameters for EMV Swipe Authorization Only transaction processing, which you can submit using the XML API integration method. Refer to the Integration Methods section for more information.
The emvswipeauthonly
transaction obtains real-time authorization only for a swiped credit/debit card for an EMV terminal. This transaction covers chip cards in a fallback situation, regular swiped cards, and any non-supported chip cards. This transaction will guarantee that the funds are available on the card and reduce the cardholder’s limit to buy for only a predetermined amount of time.
To place the transaction in the Open batch, use cccomplete
to convert to a Sale transaction or use ccdelete
to reverse and restore the funds on the card.
In this section:
For the entire list of API endpoints, refer to API Endpoints.
Request
Field name | Description | Required | Length | Data type |
---|---|---|---|---|
ssl_merchant_id | Merchant ID Elavon-assigned Converge Account ID (AID). | Required | 6 or 7 | numeric |
ssl_user_id | Converge User ID The user ID with Hosted Payment API User status that can send transaction requests through the terminal. | Required | 15 | alphanumeric |
ssl_pin | Terminal 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. | Required | 64 | alphanumeric |
ssl_transaction_type | Transaction Type Valid value: emvswipesale | Required | 20 | alphanumeric |
ssl_amount | Transaction Amount The Sale amount that includes the Sales Tax amount and Tip amount (if applicable). Format: Number with 2 decimal places | Required | 11 | numeric |
[Card Data] | ||||
ssl_enc_track_data | Encrypted Raw Track I and/or II Data Encrypted Track I and/or II data captured from the card’s magnetic stripe when using an encrypting device. The data includes beginning and ending sentinels, card’s expiry date, cardholder’s first and last name. | Conditional | 160 | alphanumeric |
ssl_pos_mode | POS Device Data Entry Capability Indicates how the POS device captures card data. Valid values:
| Required | 2 | numeric |
ssl_entry_mode | Transaction Entry Indicator Indicates how the track data was captured. Valid values:
| Required | 2 | numeric |
ssl_ksn | Key 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 | 20 | alphanumeric |
ssl_vm_mobile_source | Mobile Source Valid values:
Required for encrypting devices. | Optional | - | alphanumeric |
ssl_mobile_id | Mobile ID Unique assigned mobile identification number of each mobile device in use as determined by the merchant. | Optional | 50 | alphanumeric |
ssl_vendor_id | Vendor ID Unique vendor identifier assigned by Elavon. Required for encrypting devices and certification. | Conditional | 8 | alphanumeric |
[Invoice Number] | Use only on terminals that are set up with the Invoice Number credit card payment option | |||
ssl_invoice_number | Invoice/Ticket Number Unique identifier of the invoice or ticket. | Optional | 25 | alphanumeric |
[Doing Business As] | Use only on terminals that are set up with the DBA Name terminal option. | |||
ssl_dynamic_dba | Doing Business As Name Merchant-defined descriptors that replace the merchant’s business name on credit/debit card statements. Format: Prefix*Descriptor Length: Prefix = 3, 7, or 12, Asterisk = 1, Descriptor = 21 - (Prefix + Asterisk) Important: DBA Prefix must be set using DBA Payment Fields Settings UI if ssl_dynamic_dba is used. Example: MANYMAG*BAKERS MONTHLY | Conditional | 21 | alphanumeric |
ssl_dynamic_dba_address | Dynamic DBA Address The dynamic doing business as street address for this transaction. This value allows a merchant use an alternate address for this transaction. | Optional | 30 | alphanumeric |
ssl_dynamic_dba_auth_type | Merchant ID The dynamic doing business as authorization type. Valid values:
| Optional | 1 | alphanumeric |
ssl_dynamic_dba_city | Dynamic City Name This value allows a merchant use an alternate city as part of the address for this transaction | Optional | 13 | alphanumeric |
ssl_dynamic_dba_country | Dynamic Country ISO Code This value allows a merchant specify an alternate country as part of the address for this transaction. | Optional | 3 | alphanumeric |
ssl_dynamic_dba_email | Dynamic Email Address This value allows a merchant specify an alternate email address for this transaction. | Optional | 70 | alphanumeric |
ssl_dynamic_dba_mcc | Dynamic Merchant Category Code This value allows a merchant specify an alternate merchant category for this transaction. | Optional | 22 | numeric |
ssl_dynamic_dba_phone | Dynamic Phone Number This value allows a merchant specify an alternate phone number for this transaction. | Optional | 20 | alphanumeric |
ssl_dynamic_dba_postal | Dynamic Postal or ZIP Code This value allows a merchant set an alternate postal code for a transaction. | Optional | 9 | alphanumeric |
ssl_dynamic_dba_state | Dynamic State Code This value allows a merchant set an alternate state code for a transaction. | Optional | 2 | alphanumeric |
ssl_dynamic_dba_submid | Dynamic Sub-merchant ID This value allows a merchant set an alternate sub-merchant ID for a transaction. | Optional | 22 | numeric |
ssl_dynamic_dba_taxid | Dynamic Merchant Tax ID This value allows a merchant set an alternate Tax ID for this transaction. | Optional | 14 | alphanumeric |
[Tip Processing] | Use only on terminals that are set up with the Market Segment set to Service | |||
ssl_tip_amount | Tip or Gratuity Amount Amount to add or update to the transaction amount. Format: Number with 2 decimal places | Optional | 11 | numeric |
ssl_server | Server ID Unique identifier of the clerk, waiter, waitress or cashier. | Optional | 8 | alphanumeric |
ssl_shift | Shift ID Unique identifier of the time period, course or service type. | Optional | 4 | alphanumeric |
[Purchasing Cards] | Use only on terminals that are set up with the Purchasing Card 2 credit card payment option | |||
ssl_customer_code | Customer Code or Purchase Order Number Customer ID or PO number specified in the billing statement of the cardholder. | Optional | 17 | alphanumeric |
ssl_salestax | Sales Tax Tax amount to add to the purchase or sales amount. For a tax exempt transaction, enter 0.00. Format: Amount with 2 decimal places. | Optional | 8 | alphanumeric |
[Travel Data] | Use only on terminals that are set up with the Travel Data credit card payment option. | |||
ssl_departure_Date | Travel Departure Date Date sent to the Merchant Airline Risk Monitoring System (MARMS) to monitor risks associated with advanced booking. Format: MM/DD/YYYY | Optional | 10 | alphanumeric |
ssl_completion_Date | Travel Completion Date Date sent to the Merchant Airline Risk Monitoring System (MARMS) to monitor risks associated with advanced booking. Format: MM/DD/YYYY | Optional | 10 | alphanumeric |
[Optional Fields] | ||||
ssl_lane_number | Lane Number A unique identifier for point of sale devices that can be passed to satisfy Mastercard’s unique Terminal ID requirement | Optional | 8 | numeric |
Response
Field name | Description |
---|---|
ssl_result | Transaction Outcome An ssl_result = 0 indicates an approved transaction.An ssl_result not equal to 0 indicates a declined and unauthorized transaction. |
ssl_result_message | Transaction Result Message Refer to the Debit Card Response Codes section for an extensive list of possible returned messages. Important: When the Chip sends a decline by card, submit an emvreverse transaction to reverse an approved authorization. |
ssl_response_code | Authorization Result Code Refer to the EMV Card Response Codes section for an extensive list of possible returned response codes. |
ssl_approval_code | Transaction Approval Code Unique code returned by the credit card processor that indicates the approval status of the transaction. |
ssl_txn_id | Transaction ID Unique identifier of the transaction. |
ssl_txn_time | Processing 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_card_number | Masked Card Number Converge only returns the first 2 or last 4 digits of the regular PAN. |
ssl_card_scheme | Association Long Name As defined in the Converge Bank Identification Number (BIN) file. |
ssl_amount | Transaction Amount The total transaction amount that may include the Surcharge or Cashback amount. |
[Invoice Number] | Returned only if Invoice Number parameters are sent in the request. |
ssl_invoice_number | Invoice Number The invoice number or ticket number sent in the original request. |
[Tip Processing] | Returned only if Tip parameters are sent in the request. |
ssl_base_amount | Base Amount Original transaction amount sent in the request. Returned based on the terminal setup. |
ssl_tip_amount | Tip Amount Added or updated tip or gratuity amount. Returned based on the terminal setup. |
ssl_server | Server ID Server identifier sent in the request. Returned based on the terminal setup. |
ssl_shift | Shift Shift information sent in the request. Returned based on the terminal setup. |
ssl_ship_from_postal_code | ZIP Code ZIP or postal code of the originating address. Important: Only applicable to terminals that are set up with the Level 3 terminal option. |
ssl_ship_to_address1 | Address Line 1 House number and street name on the shipping address. |
ssl_ship_to_address2 | Address Line 2 Apartment or condominium unit number and floor number on the shipping address. |
ssl_ship_to_city | City Name of the city on the shipping address. |
ssl_ship_to_company | Company Name Name of the company (recipient) on the shipping address. |
ssl_ship_to_country | Country Country ISO code on the shipping address. |
ssl_ship_to_first_name | First Name First name of the recipient on the shipping address. |
ssl_ship_to_last_name | Last Name Last name of the recipient on the shipping address. |
ssl_ship_to_phone | Phone Phone number on the shipping address. |
ssl_ship_to_state | State Code State code on the shipping address. |
ssl_ship_to_zip | ZIP Code Postal or ZIP code on the shipping address. |
ssl_token | Token Generated from the credit card number. Returned if transaction was approved. Not returned if the transaction was failed or rejected. |
ssl_token_response | Token Generation Outcome A value of SUCCESS indicates Converge generated the token. Other values returned are:
|
ssl_add_token_response | Add to Card Manager Outcome Valid values:
|
[Error] | Returned only if an error occurs. Refer to the Error Codes section for more information. |
errorCode | Error 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. |
errorMessage | Error Message Detailed explanation of the error. This field may be changed based on merchant configuration in the user interface. |
errorName | Error Name Error name or reason for the error. |
Example
important
- 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.
Request
xmldata=
<txn>
<ssl_merchant_id>my_merchant_id</ssl_merchant_id>
<ssl_user_id>my_user_id</ssl_user_id>
<ssl_pin>my_pin</ssl_pin>
<ssl_transaction_type>emvswipeauthonly</ssl_transaction_type>
<ssl_pin_block>AC405B9205A13FA1</ssl_pin_block>
<ssl_account_type>CHECKING</ssl_account_type>
<ssl_dukpt>FFFF6543210042600122</ssl_dukpt>
<ssl_amount>10.10</ssl_amount>
<ssl_ksn>FFFF44556600076001A8</ssl_ksn>
<ssl_tlv_enc>
5F3002020157114761730000000010D151220100000000009F2608A0B1AB453C86165D9F27
01805A0847617300000000105F2A0208405F2D0265659F4005F000F0A0019A031508159B02
E8009F21030122399C01004004061820159F41040000023082025C009F1E08534330313030
3438C00AFFFF44556600076000468407A00000000310105F340101950502000080005F200C
5445535420434152442030319F1A0208409F1401039F02060000000017009F3901059F3602
02899F370478813F359F0607A00000000310109F3501229F34031E03009F3303E0F8C89F03
060000000000009F0902008C9F120B56697361204372656469744F07A00000000310109F11
01019F100706010A03A000009F0702FF005F24031512319F530152D02845AF345545C28415
29B3E3673B7538E0EE4ACAA24DA3E4158BAC0763A4EF024BFABF04822E063B865F28020124
500B5649534120435245444954
</ssl_tlv_enc>
<ssl_pos_mode>04</ssl_pos_mode>
<ssl_entry_mode>03</ssl_entry_mode>
</txn>
Response
<txn>
<ssl_transaction_type>emvswipeauthonly<ssl_transaction_type>
<ssl_response_code>AA<ssl_response_code>
<ssl_txn_id>280223C4A-6D9F0B37-B5BB-46BF-9F22-10F27A8C1B64<ssl_txn_id>
<ssl_txn_time>02/28/2023 04:53:56 PM</ssl_txn_time>
<ssl_card_type>CREDITCARD</ssl_card_type>
<ssl_issuer_response>00</ssl_issuer_response>
<ssl_account_balance>0.00</ssl_account_balance>
<ssl_ps2000_data>MMCC142378 Y 0228C1<ssl_ps2000_data>
<ssl_oar_data>010001395502282153560228000173400000000000039270MCC142378</ssl_oar_data>
<ssl_card_scheme>MASTERCARD</ssl_card_scheme>
<ssl_result_message>APPROVAL</ssl_result_message>
<ssl_result>0</ssl_result>
<ssl_approval_code>039270</ssl_approval_code>
<ssl_card_number>54**********4111</ssl_card_number>
<ssl_exp_date>1225</ssl_exp_date>
<ssl_base_amount>7.00</ssl_base_amount>
<ssl_tip_amount/>
<ssl_amount>7.00</ssl_amount>
<ssl_card_short_description>MC</ssl_card_short_description>
<ssl_customer_code>123ABC</ssl_customer_code>
<ssl_salestax>1.00</ssl_salestax>
<ssl_invoice_number>52164</ssl_invoice_number>
<ssl_description>Test Description</ssl_description>
<ssl_server>Test</ssl_server>
<ssl_shift>Dinner</ssl_shift>
<ssl_partial_shipment_flag>N</ssl_partial_shipment_flag>
<ssl_company>Elavon</ssl_company>
<ssl_first_name/><ssl_last_name/>
<ssl_avs_address>Test Address</ssl_avs_address>
<ssl_address2>Second Address</ssl_address2>
<ssl_city>Atlanta</ssl_city>
<ssl_state>GA</ssl_state>
<ssl_avs_zip>30000</ssl_avs_zip>
<ssl_country>USA</ssl_country>
<ssl_phone>8524569514</ssl_phone>
<ssl_email>priyanka.jahagirdar@elavon.com</ssl_email>
<ssl_ship_to_company>Elavon</ssl_ship_to_company>
<ssl_ship_to_first_name>Test</ssl_ship_to_first_name>
<ssl_ship_to_last_name>User</ssl_ship_to_last_name>
<ssl_ship_to_address1>Test Address</ssl_ship_to_address1>
<ssl_ship_to_address2>Second Address</ssl_ship_to_address2>
<ssl_ship_to_city>Atlanta</ssl_ship_to_city>
<ssl_ship_to_state>GA</ssl_ship_to_state>
<ssl_ship_to_zip>30000</ssl_ship_to_zip>
<ssl_ship_to_country>USA</ssl_ship_to_country>
<ssl_ship_to_phone>8524569514</ssl_ship_to_phone>
<CustomField1/>
<ssl_token_response>SUCCESS</ssl_token_response>
<ssl_token>5532071953154111</ssl_token>
<ssl_get_token>Y</ssl_get_token>
<ssl_add_token_response>Card Updated</ssl_add_token_response>
<ssl_partner_app_id>AB</ssl_partner_app_id>
</txn>