Credit Card Credit - cccredit
important
Elavon advises against using Credit Card Credit to issue refunds.
Refunds issued with cccredit
can exceed the amount of the original transaction and bears an increased risk for fraud and chargebacks.
If possible, we recommend using Credit Card Return to handle your refunds. ccreturn
caps the total possible refunds on each transaction at the original amount and prevents even refunds from exceeding that amount.
The cccredit
transaction is used to issue a return (refund) to a cardholder’s credit card using full card number.
In this section:
For the entire list of API endpoints, refer to API Endpoints.
Request
Field name | Description | Required | Length | Data type |
---|---|---|---|---|
ssl_transaction_type | Transaction Type Valid value: cccredit | Required | 20 | alphanumeric |
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_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 or an encrypting device. The data includes beginning and ending sentinels, card’s expiry date, cardholder’s first and last name. | Conditional | 160 | alphanumeric |
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 if submitting ssl_enc_track_data in the transaction request. | Conditional | 20 | alphanumeric |
ssl_card_number | Card Number Unique card identification number. Card length:
| Conditional | 18 or 19 | numeric |
ssl_exp_date | Card’s Expiry Date Date when the card becomes invalid. Format: MMYY Required if ssl_card_number is not null. | Conditional | 4 | numeric |
ssl_card_present | Card Present Indicator Indicates whether the card is physically present during the transaction. Valid values:
Recommended for hand-keyed transactions. | Optional | 1 | alphanumeric |
ssl_amount | Transaction Amount to be refunded. For those terminals processing Multi-Currency, be sure to submit the correct number of decimal places for the transaction as some currencies have no exponents and some can have three. Format: Number with 2 decimal places | Required | 11 | numeric |
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 Only applicable to terminals that are set up with the Travel Data credit payment option. | 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 Only applicable to terminals that are set up with the Travel Data credit payment option. | Optional | 10 | alphanumeric |
ssl_transaction_currency | Transaction Currency The currency ISO code that the merchant applies to their goods or services. Default: USD or CAD Important: Only applicable to terminals that are set up with the Multi Currency credit payment option. | Optional | 3 | alphanumeric |
ssl_get_token | Generate Token Indicator Indicates whether to generate a token when submitting the card data. Valid values:
Only applicable to terminals that are set up with the Tokenization terminal option. | Optional | 1 | alphanumeric |
ssl_add_token | Add to Card Manager Indicator Indicates whether to generate and store the token in Card Manager. Valid values:
Only applicable to terminals that are set up with the Tokenization terminal option. | Optional | 1 | 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 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 |
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 Payment Card Response Codes section for an extensive list of possible returned messages. |
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/2022 10:34:10 AM |
ssl_approval_code | Transaction Approval Code Unique code returned by the credit card processor that indicates the approval status of the transaction. |
ssl_amount | Total Authorized/Approved Transaction Amount Returned based on merchant setup. |
ssl_card_short_description | Short Card Brand Name Valid values: AMEX , CUP , DISC , MC , PP , and VISA |
ssl_card_number | Masked Card Number Converge only returns the first 2 or last 4 digits of the regular PAN, or the last 4 digits of the actual card number if it is an association token (example, ApplePay). |
ssl_email | Email Address The cardholder’s or customer’s email address. Returned based on merchant setup. |
ssl_token | Credit Card Token Encrypted card data that can replace ssl_card_number .Important:
|
ssl_token_provider | Credit Card Token Provider This code indicates the provider for the token. This value is also visible in the Converge UI. Valid values:
|
[Address Verification Service] | Returned only if AVS parameters are sent in the request. |
ssl_avs_response | Address Verification Response Code Refer to the AVS Response Codes section for a complete list of AVS response codes. |
[Card Verification] | Returned only if CVV / CVC / CID parameters are sent in the request. |
ssl_cvv2_response | Card Verification Response Code Refer to the CVV2/CVC2 Response Codes section for a complete list of CVV/CVC2 response codes. |
[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. |
[Dynamic Currency Conversion] | Returned only if the terminal is set up with the Dynamic Currency credit card payment option. Refer to the Dynamic Currency Conversion (DCC) section for more information on retrieving the following DCC transaction parameters. |
ssl_conversion_rate | Conversion Rate Exchange rate applied to the conversion of ssl_amount . |
ssl_cardholder_amount | Cardholder Amount Total amount in the cardholder’s billing currency. |
[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 these examples, 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
The following example demonstrates the xml code for a credit card return transaction for $10.00 where the merchant collects all the data from the consumer:
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>cccredit</ssl_transaction_type>
<ssl_card_number>4111111111111111</ssl_card_number>
<ssl_exp_date>12/22</ssl_exp_date>
<ssl_amount>25.00</ssl_amount>
<ssl_avs_address>first street</ssl_avs_address>
<ssl_avs_zip>95391</ssl_avs_zip>
</txn>
Response
This is the response for a credit card return approved transaction for $10.00:
<txn>
<ssl_card_number>41**********1111</ssl_card_number>
<ssl_departure_date></ssl_departure_date>
<ssl_result>0</ssl_result>
<ssl_txn_id>220422E3B-466F21DA-D167-470B-A8A5-A82EFBF9DBC0</ssl_txn_id>
<ssl_avs_response> </ssl_avs_response>
<ssl_approval_code>482444</ssl_approval_code>
<ssl_amount>25.00</ssl_amount>
<ssl_transaction_currency>CAD</ssl_transaction_currency>
<ssl_txn_time>04/22/2022 05:28:36 PM</ssl_txn_time>
<ssl_exp_date>1222</ssl_exp_date>
<ssl_card_short_description>VISA</ssl_card_short_description>
<ssl_completion_date></ssl_completion_date>
<ssl_customer_code></ssl_customer_code>
<ssl_card_type>CREDITCARD</ssl_card_type>
<ssl_transaction_type>RETURN</ssl_transaction_type>
<ssl_salestax>0.00</ssl_salestax>
<ssl_account_balance>0.00</ssl_account_balance>
<ssl_result_message>APPROVAL</ssl_result_message>
<ssl_invoice_number></ssl_invoice_number>
<ssl_cvv2_response></ssl_cvv2_response>
<ssl_partner_app_id>01</ssl_partner_app_id>
</txn>