Code Samples

Home/ Code Samples / MerchantWare / Credit Refund Previous Transaction

Credit Refund Previous Transaction

A basic sample for performing a Refund 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 Refund by means of a Transaction Token, which was returned from a previous 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.
Loading Sample...
Loading Sample...