Update Tip - ccupdatetip

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

The ccupdatetip transaction adds, modifies or resets a tip (gratuity) amount on an open approved Credit Card Sale or Force transaction.

note

  • This transaction is supported in the Service market segment.
  • Tips are updated or added after the transaction has been processed, typically at the end of the day prior to Settlement.
  • Tip amount can be sent in the cardholder amount.
  • The transaction may be sent several times prior to settlement if needed.

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:  ccupdatetip
Required20alphanumeric
ssl_txn_idTransaction ID
Unique identifier of the open approved Sale (ccsale), Force (ccforce) or Authonly (ccauthonly) transaction.
Required46alphanumeric
ssl_tip_amountTip or Gratuity Amount
Tip amount to add, update or reset.
Set to 0.00 to reset or remove the original tip amount.
The last and most current tip sent will be processed as the tip amount.
Format: Number with 2 decimal places
Required11numeric
ssl_serverServer ID
Unique identifier of the clerk, waiter, waitress or cashier.
Send if updating the server ID of the existing transaction.
Optional8alphanumeric
ssl_shiftShift ID
Unique identifier of the time period, course or service type.
Send if updating the server ID of the existing transaction.
Optional4alphanumeric
ssl_verifyIndicates whether the online incremental authorization for tip adjustment is performed.
Valid values:
  • Y - Perform online incremental authorization for tip adjustment
    Important: Only applicable to Authonly transactions
  • N - Do not perform online incremental authorization for tip adjustment
Optional1alpha
[Dynamic Currency Conversion]
ssl_cardholder_tip_amountTip or Gratuity Amount
Amount to add or update when Converge processes the original transaction as a Dynamic Currency Conversion (DCC) transaction and that the authorized amount is in the cardholder’s currency.
To reset or remove the original tip amount from a DCC transaction, set the value to 0.00.
Format: Number with 2 decimal places
Important: Only applicable to terminals set up for the Service market segment and with the Dynamic Currency credit payment option.
Conditional11numeric

Response

Field nameDescription
ssl_result_messageTransaction Result Message
A result of SUCCESS indicates that the tip was updated or added.
A result of ERROR indicates that the tip was not added or updated.
ssl_txn_idTransaction ID
Unique identifier of the transaction.
ssl_amountTotal Transaction Amount
The amount includes the Tip amount. The most current tip amount sent will reflect in the total transaction amount.
ssl_base_amountBase Amount
Original transaction amount sent in the request. Returned based on the terminal setup.
ssl_tip_amountTip Amount
Added or updated tip or gratuity amount. Returned based on the terminal setup.
ssl_serverServer ID
Server identifier sent in the request. Returned based on the terminal setup.
ssl_shiftShift
Shift information sent in the request. Returned based on the terminal setup.
[Dynamic Currency Conversion]Returned only if the terminal is set up with the Dynamic Currency credit card payment option and DCC parameters are sent in the request.
ssl_conversion_rateConversion Rate
Exchange rate applied to the conversion of ssl_amount.
ssl_cardholder_amountCardholder Amount
Total amount in the cardholder’s billing currency.
ssl_cardholder_currencyCardholder Currency
ssl_cardholder_base_amountBase Amount
Base amount in the cardholder’s currency.
ssl_cardholder_tip_amountTip Amount
Tip amount in the cardholder’s currency.
[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

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.

Process ccupdatetip

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>ccupdatetip</ssl_transaction_type>
    <ssl_txn_id>TEST43B-D0638677-26EB-40F5-B2F9-3AF2545DE144</ssl_txn_id>
    <ssl_tip_amount>5.00</ssl_tip_amount>
    <ssl_shift>Lunch</ssl_shift>
    <ssl_server>Jane</ssl_server>
    <ssl_verify>Y</ssl_verify>
</txn>

Response

<txn>
    <ssl_result_message>SUCCESS</ssl_result_message>
    <ssl_txn_id>101641221593ACBA6-BAFD-76B7-4948-B3DE68CFD0CC</ssl_txn_id>
    <ssl_amount>15.00</ssl_amount>
    <ssl_base_amount>10.00</ssl_base_amount>
    <ssl_tip_amount>5.00</ssl_tip_amount>
    <ssl_shift>Lunch</ssl_shift>
    <ssl_server>Jane</ssl_server>
</txn>

Increment an existing tip

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>ccupdatetip</ssl_transaction_type>
    <ssl_txn_id>TEST43B-D0638677-26EB-40F5-B2F9-3AF2545DE144</ssl_txn_id>
    <ssl_tip_amount>10.00</ssl_tip_amount>
    <ssl_verify>Y</ssl_verify>
</txn>

Response

<txn>   
    <ssl_result_message>SUCCESS</ssl_result_message>
    <ssl_txn_id>101641221593ACBA6-BAFD-76B7-4948-B3DE68CFD0CC</ssl_txn_id>     
    <ssl_amount>25.00</ssl_amount>     
    <ssl_base_amount>10.00</ssl_base_amount>     
    <ssl_tip_amount>15.00</ssl_tip_amount>     
    <ssl_shift>Lunch</ssl_shift>    
    <ssl_server>Jane</ssl_server> 
</txn>