Before implementing this feature, talk to your Account Manager
to check all prerequisites.
Token refunds functionality allows standalone refunds against
tokenized cards. Typical merchant use cases are:
The shopper buys an item online, and returns it in a store. The
merchant representative pulls up the order and then issues a token
refund on the saved token.
The shopper buys an item in one store, and returns it in a
different store. The merchant representative pulls up the order and
then issues a token refund on the saved token.
The shopper buys an item, and asks for a refund after 180 days
(some processors have a 180 day follow on refund limit). The
merchant representative pulls up the order and then issues a token
refund on the saved token.
Thedocumentation on this page assumes that you have
existing tokens (e.g. from eCommerce transactions, or from
tokenized Card Present transactions), and are now looking to push
refunds through these tokens.
Here's how you start a token refund in PayClient.Java:
TransactionParameters tokenRefundParameters = new TransactionParameters.Builder().refund(BigDecimal.ONE, Currency.GBP).build();
AccountParameters accountParameters = new AccountParameters.Builder().token().cybersource().shopperAccountIdentifier("token").build();
posClient.getTransactionModule().startTransaction(tokenRefundParameters, accountParameters, ...