com.flutterwave.rave.java.entry.transValidation Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of Rave-Java Show documentation
Show all versions of Rave-Java Show documentation
A Java API wrapper for the Rave API
The newest version!
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package com.flutterwave.rave.java.entry;
import com.flutterwave.rave.java.payload.transverifyPayload;
import com.flutterwave.rave.java.service.verificationServices;
import org.json.JSONObject;
/**
*
* @author cleopatradouglas
*/
public class transValidation {
public String bvnvalidate(transverifyPayload transverifyPayload) {
verificationServices verificationServices = new verificationServices();
String payload = new JSONObject(transverifyPayload).toString();
String response = verificationServices.dotransverify(payload, transverifyPayload);
return new JSONObject(response).toString();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy