Settle - settle
This section describes the message parameters for End of Day Settle transaction processing, which you can submit using the XML API integration method. Refer to the Integration Methods section for more information.
The settle
transaction initiates a manual settlement on a single, multiple or batch of transactions.
error_outline
important
- Open batches must be reviewed prior to settlement for accuracy. You may opt to set the terminal for auto-settlement or submit a manual settlement from the integrated application. Elavon highly recommends that batches be closed out on a daily basis.
- Manual settlement is not allowed for terminals that are setup for Multi-Currency.
- Settings are available within the Admin feature of the Virtual Terminal that can block transactions from being added to a current Open batch if these do not meet certain qualifications. Elavon recommends that merchants review these settings prior to accepting transactions.
In this section:
For the entire list of API endpoints, refer to API Endpoints.
Request
error_outline
note
- Users must have the Batches-Settle Transactions user right in order to settle transactions.
- Settling a single Gift Card or Cash transaction is not supported, the Gift or Cash batch must be settled entirely.
- Only Open transactions can be settled. Transactions set to Pend or Review must be set to Unpend or Release prior to settlement.
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. Important: The ssl_user_id sending the transaction request must be associated with the terminal that will process the request. | Required | 64 | alphanumeric |
ssl_settlement_batch_id | Batch ID This is a user-defined ID used to query a group of settled transaction from API. | Optional | 50 | alphanumeric |
ssl_settlement_correlation_id | Correlation ID Specifies the number of transactions processed from eMoney. This is a user-defined ID which has specific format used to query settled transaction.
| Optional | 36 | alphanumeric |
ssl_transaction_type | Transaction Type Value: settle | Required | 20 | alphanumeric |
ssl_txn_id | Transaction ID Unique identifier of the original transaction. Important:
| Conditional | 46 | alphanumeric |
Response
error_outline
note
Funds will be moved from the customer’s account to the merchant account once the batch is successfully settled.
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 Transaction Settlement Response Codes section for an extensive list of possible returned messages. Important:
|
ssl_settlement_batch_id | Batch ID Specifies the user-defined ID used to query a group of settled transaction from API. |
ssl_settlement_correlation_id | Correlation ID Specifies the number of transactions processed from eMoney. This is a user-defined ID which has specific format used to query settled transaction. |
ssl_txn_id | Transaction ID Unique identifier returned on the original transaction. This is to settle an individual transaction sent in the request. |
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_txn_main_count | Total Transaction Count in Main Batch |
ssl_txn_main_amount | Total Transaction Amount in Main Batch |
ssl_txn_cash_count | Total Cash Count in Cash Batch |
ssl_txn_cash_amount | Total Cash Amount in Cash Batch |
ssl_txn_ecg_count | Total Gift Card Count in Gift Batch |
ssl_txn_ecg_amount | Total Gift Card Amount in Gift Batch |
[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. |
Examples
error_outline
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.
Single Transaction Settlement
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_test_mode>false</ssl_test_mode>
<ssl_transaction_type>settle</ssl_transaction_type>
<ssl_txn_id>AA48439-65E7D601-5E31-4809-882A-2028CBC3A979</ssl_txn_id>
</txn>
Response
<txn>
<ssl_result>0</ssl_result>
<ssl_result_message>Scheduled for Settlement</ssl_result_message>
<ssl_txn_id>AA48439-65E7D601-5E31-4809-882A-2028CBC3A979</ssl_txn_id>
<ssl_txn_main_count>1</ssl_txn_main_count>
<ssl_txn_main_amount>16.00</ssl_txn_main_amount>
<ssl_txn_ecg_count>0</ssl_txn_ecg_count>
<ssl_txn_ecg_amount/>
</txn>
Settle a Group of Transactions
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>settle</ssl_transaction_type>
<txnGroup>
<ssl_txn_id>TXN ID</ssl_txn_id>
<ssl_txn_id>TXN ID</ssl_txn_id>
</txnGroup>
</txn>
Batch Settlement
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_test_mode>false</ssl_test_mode>
<ssl_transaction_type>settle</ssl_transaction_type>
</txn>
Response
<txn>
<ssl_result>0</ssl_result>
<ssl_result_message>Scheduled for Settlement</ssl_result_message>
<ssl_txn_id/>
<ssl_txn_main_count>10</ssl_txn_main_count>
<ssl_txn_main_amount>220.00</ssl_txn_main_amount>
<ssl_txn_ecg_count>2</ssl_txn_ecg_count>
<ssl_txn_ecg_amount>50.00</ssl_txn_ecg_amount>
</txn>
Use Batch ID
Request
xmldata=
<txn>
<ssl_merchant_id>000006</ssl_merchant_id>
<ssl_user_id>user</ssl_user_id>
<ssl_pin>W5E5G</ssl_pin>
<ssl_transaction_type>SETTLE</ssl_transaction_type>
<ssl_settlement_batch_id>00102020202020200</ssl_settlement_batch_id>
</txn>
Response
<txn>
<ssl_result>0</ssl_result>
<ssl_result_message>Scheduled for Settlement</ssl_result_message>
<ssl_txn_id/>
<ssl_settlement_batch_id>00102020202020208</ssl_settlement_batch_id>
<ssl_txn_main_count>2</ssl_txn_main_count>
<ssl_txn_main_amount>2.00</ssl_txn_main_amount>
<ssl_txn_ecg_count>0</ssl_txn_ecg_count>
<ssl_txn_ecg_amount>0.00</ssl_txn_ecg_amount>
</txn>