Code Samples

Home/ Code Samples / MerchantWare / Credit AdjustTip

Credit AdjustTip

A basic sample for performing a Tip Adjustment against a Credit card using the Transaction Token from a previously processed card.

This code sample provides the basic structure necessary for processing a Tip Adjustment by means of a Transaction Token, which will apply an addtional amount to the transaction.

Depending on the requirements of your Point of Sale application, you may choose to parse out more or less information contained within the response data. Please ensure to update the Merchant Credentials so they match the credentials supplied to you when your test account was created. You must have a Vault Token available in order to process this type of transaction.