Code Samples

Home/ Code Samples / MerchantWare / Credit Void

Credit Void

A basic sample for performing a Voice against a Credit / Debit card using the Transaction Token from a previously processed card.

This code sample provides the basic structure necessary for processing a Void by means of a Transaction Token, which remove the transaction from the current batch and return the funds to the customer.

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.