diff --git a/lib/src/main/java/com/tuti/api/TutiApiClient.java b/lib/src/main/java/com/tuti/api/TutiApiClient.java index a35dc19..9bb449a 100644 --- a/lib/src/main/java/com/tuti/api/TutiApiClient.java +++ b/lib/src/main/java/com/tuti/api/TutiApiClient.java @@ -198,8 +198,8 @@ public void generatePaymentToken(PaymentToken request, ResponseCallable onResponse, ErrorCallable onError) { - sendRequest(RequestMethods.GET, serverURL + Operations.GetPaymentToken, null, TutiResponse.class, TutiResponse.class, onResponse, onError, null, "uuid", uuid); + public void getPaymentToken(String uuid, ResponseCallable onResponse, ErrorCallable onError) { + sendRequest(RequestMethods.GET, serverURL + Operations.GetPaymentToken, null, PaymentToken.class, PaymentToken.class, onResponse, onError, null, "uuid", uuid); } public void quickPayment(EBSRequest request, ResponseCallable onResponse, ErrorCallable onError) {