Canceling an Active Transfer Token
You can cancel an active (unredeemed) token at any time by specifying its tokenId, bearing in mind that this will also cancel any future payments for which the transfer token is authorized.
// Look up and cancel a transfer token
public static TokenOperationResult cancelTransferToken(Member payee, String tokenId) {
// Retrieve the token
    Token transferToken = payee.getTokenBlocking(tokenId);
// Cancel the token
    return payee.cancelTokenBlocking(transferToken);
}
Alert: Previous payments and pending payments cannot be reversed or canceled.