Reverse - dbreverse

The dbreverse transaction type will reverse an approved or open US debit purchase within 10 mins of the approval. DB Reverse is available from all input methods.

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:  dbreverse
Required20alphanumeric
ssl_txn_idTransaction ID
Unique identifier of the approved or denied transaction.
Required46alphanumeric

Response

Field nameDescription
ssl_response_codeAuthorization Result Code
Refer to the Payment Card Response Codes section for an extensive list of possible returned response codes.
ssl_transaction_typeTransaction Type
Valid value:  dbreverse
ssl_card_numberMasked 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_resultTransaction Outcome
An ssl_result = 0 indicates an approved transaction.
An ssl_result not equal to 0 indicates a declined and unauthorized transaction.
ssl_txn_idTransaction ID
Unique identifier of the transaction.
ssl_approval_codeTransaction Approval Code
Unique code returned by the credit card processor that indicates the approval status of the transaction.
ssl_amountTotal Authorized/Approved Transaction Amount
Return based on merchant setup.
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_account_balanceAccount Balance
Available balance on the credit card.
ssl_reference_numberTransaction Reference Number
ssl_exp_dateCard’s Expiry Date
Returned based on merchant setup.
ssl_result_messageTransaction Result Message
Refer to the Debit Card Response Codes section for an extensive list of possible returned messages.
ssl_card_short_descriptionShort Card Brand Name
Valid values:  AMEX, CUP, DISC, MC, PP, and VISA.
ssl_card_typePayment Type
Valid value:  DEBITCARD
[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.

Examples

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>dbreverse</ssl_transaction_type>
    <ssl_txn_id>210819MB-C285E353-C3E3-459E-989C-DF9F3AF5B8DE</ssl_txn_id>
</txn>

Response

<txn>
    <ssl_response_code>AA</ssl_response_code>
    <ssl_transaction_type>REVERSE</ssl_transaction_type>
    <ssl_card_number>67**********0690</ssl_card_number>
    <ssl_result>0</ssl_result>
    <ssl_txn_id>210819MB-C285E353-C3E3-459E-989C-DF9F3AF5B8DE</ssl_txn_id>
    <ssl_approval_code>724398</ssl_approval_code>
    <ssl_amount>11.05</ssl_amount>
    <ssl_txn_time>08/21/2019 09:10:49 AM</ssl_txn_time>
    <ssl_account_balance><ssl_account_balance/>
    <ssl_reference_number>40211</ssl_reference_number>
    <ssl_exp_date>1225</ssl_exp_date>
    <ssl_result_message>APPROVAL</ssl_result_message>
    <ssl_card_short_description>MC</ssl_card_short_description>
    <ssl_card_type>DEBITCARD</ssl_card_type>
    <ssl_partner_app_id><ssl_partner_app_id/>
</txn>