Delete - ccdelete

The Credit Card Delete or ccdelete transaction deletes and attempts a Reversal on a Credit Card Sale or Auth Only transaction.

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

This transaction is typically used in a Partial Approval scenario. When a consumer decides not to continue with an additional tender type, the point of sale application must send a reversal to cancel the payment and restore the balance to the card. Reversal frees up the cardholders’ open to buy amounts by reducing issuer holds on available balances when transactions are not completed. This reduces declines at the point of sale and the amount of cardholder complaints that are unpleasant for all parties involved.

note

  • A transaction that has been deleted from the batch cannot be recovered.
  • Users must have the Batches-Void Delete user right in order to delete a transaction.

In this section:

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

Request

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.
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
Valid value:  ccdelete
Required20alphanumeric
ssl_txn_idTransaction ID
Unique identifier of the approved Sale (ccsale) or Auth Only (ccauthonly) transaction to be deleted and reversed.
Required46alphanumeric

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 Payment 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/2022 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_invoice_numberInvoice Number
The invoice number or ticket number sent in the original request. Returned based on merchant setup.
ssl_emailEmail Address
The cardholder’s or customer’s email address. Returned based on merchant setup.
[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.

Example

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>ccdelete</ssl_transaction_type>
    <ssl_txn_id>210422A41-E8A1718C-3E58-4861-AD97-FC92F5381CD9</ssl_txn_id>
</txn>

Response

<txn>
    <ssl_service_fee_amount></ssl_service_fee_amount>
    <ssl_transaction_type>DELETE</ssl_transaction_type>
    <ssl_card_number>40**********0440</ssl_card_number>
    <ssl_result>0</ssl_result>
    <ssl_txn_id>210422A41-E8A1718C-3E58-4861-AD97-FC92F5381CD9</ssl_txn_id>
    <ssl_amount>15.00</ssl_amount>
    <ssl_transaction_currency></ssl_transaction_currency>
    <ssl_txn_time>04/21/2022 06:03:29 AM</ssl_txn_time>
    <ssl_exp_date>0424</ssl_exp_date>
    <ssl_result_message>APPROVAL</ssl_result_message>
    <ssl_card_short_description>VISA</ssl_card_short_description>
    <ssl_credit_surcharge_amount></ssl_credit_surcharge_amount>
    <ssl_customer_code></ssl_customer_code>
    <ssl_card_type>CREDITCARD</ssl_card_type>
    <ssl_invoice_number>90511645738260995</ssl_invoice_number>
    <ssl_partner_app_id>01</ssl_partner_app_id>
</txn>