Class HunterTechPayClient

java.lang.Object
com.huntertechpay.client.HunterTechPayClient

public class HunterTechPayClient extends Object
Main client for HunterTechPay API.

Example usage:


 HunterTechPayClient client = new HunterTechPayClient.Builder()
     .apiKey("your_api_key")
     .secretKey("your_secret_key")
     .build();

 PaymentRequest request = PaymentRequest.builder()
     .phoneNumber("+237690000000")
     .amount(5000.0)
     .currency("XAF")
     .country("CM")
     .serviceCode("CM_OMCMR_CASHOUT")
     .partnerId("order-123")
     .build();

 PaymentResponse response = client.initiatePayment(request);