Skip to content

Instantly share code, notes, and snippets.

@VantivSDK
Created November 15, 2018 19:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save VantivSDK/96f0482d6d5bd3dba8d3f67f59e38919 to your computer and use it in GitHub Desktop.
Save VantivSDK/96f0482d6d5bd3dba8d3f67f59e38919 to your computer and use it in GitHub Desktop.
Java Retrieve Card Activity Example
package com.cnp.sdk.functional;
import com.cnp.sdk.ChargebackRetrieval;
import com.cnp.sdk.generate.ChargebackRetrievalResponse;
public class Example {
public static void main(String[] args){
ChargebackRetrieval cbk = new ChargebackRetrieval();
ChargebackRetrievalResponse response = cbk.getChargebacksByCardNumber("1111000011110000", "0118");
System.out.println("Transaction ID:"+response.getTransactionId());
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment