@@ -50,6 +50,17 @@ public InitCheckoutPaymentResponse initCheckoutPayment(InitCheckoutPaymentReques
5050 initCheckoutPaymentRequest , InitCheckoutPaymentResponse .class );
5151 }
5252
53+ public InitCheckoutCardVerifyResponse initCheckoutCardVerify (InitCheckoutCardVerifyRequest initCheckoutCardVerifyRequest ) {
54+ String path = "/payment/v1/checkout-card-verify/init" ;
55+ return HttpClient .post (requestOptions .getBaseUrl () + path , createHeaders (initCheckoutCardVerifyRequest , path , requestOptions ),
56+ initCheckoutCardVerifyRequest , InitCheckoutCardVerifyResponse .class );
57+ }
58+
59+ public RetrieveCheckoutCardVerifyResponse retrieveCheckoutCardVerify (String token ) {
60+ String path = "/payment/v1/checkout-card-verify/" + token ;
61+ return HttpClient .get (requestOptions .getBaseUrl () + path , createHeaders (path , requestOptions ), RetrieveCheckoutCardVerifyResponse .class );
62+ }
63+
5364 public PaymentResponse retrieveCheckoutPayment (String token ) {
5465 String path = "/payment/v1/checkout-payments/" + token ;
5566 return HttpClient .get (requestOptions .getBaseUrl () + path , createHeaders (path , requestOptions ), PaymentResponse .class );
@@ -160,6 +171,12 @@ public PaymentRefundResponse refundPayment(RefundPaymentRequest refundPaymentReq
160171 refundPaymentRequest , PaymentRefundResponse .class );
161172 }
162173
174+ public RefundWaitingPaymentResponse refundWaitingPayment (RefundWaitingPaymentRequest refundWaitingPaymentRequest ) {
175+ String path = "/payment/v1/refunds/refund-waiting-payment" ;
176+ return HttpClient .post (requestOptions .getBaseUrl () + path , createHeaders (refundWaitingPaymentRequest , path , requestOptions ),
177+ refundWaitingPaymentRequest , RefundWaitingPaymentResponse .class );
178+ }
179+
163180 public PaymentRefundResponse retrievePaymentRefund (Long id ) {
164181 String path = "/payment/v1/refunds/" + id ;
165182 return HttpClient .get (requestOptions .getBaseUrl () + path , createHeaders (path , requestOptions ), PaymentRefundResponse .class );
@@ -195,6 +212,12 @@ public void deleteStoredCard(DeleteStoredCardRequest deleteStoredCardRequest) {
195212 deleteStoredCardRequest , Void .class );
196213 }
197214
215+ public VerifyCardResponse verifyCard (VerifyCardRequest verifyCardRequest ) {
216+ String path = "/payment/v1/cards/verify" ;
217+ return HttpClient .post (requestOptions .getBaseUrl () + path , createHeaders (verifyCardRequest , path , requestOptions ),
218+ verifyCardRequest , VerifyCardResponse .class );
219+ }
220+
198221 public PaymentTransactionApprovalListResponse approvePaymentTransactions (ApprovePaymentTransactionsRequest approvePaymentTransactionsRequest ) {
199222 String path = "/payment/v1/payment-transactions/approve" ;
200223 return HttpClient .post (requestOptions .getBaseUrl () + path , createHeaders (approvePaymentTransactionsRequest , path , requestOptions ),
@@ -241,12 +264,28 @@ public BnplPaymentVerifyResponse verifyBnplPayment(Long paymentId) {
241264 return HttpClient .post (requestOptions .getBaseUrl () + path , createHeaders (path , requestOptions ), BnplPaymentVerifyResponse .class );
242265 }
243266
267+ public BnplLimitInquiryResponse bnplLimitInquiryInit (BnplLimitInquiryRequest bnplLimitInquiryRequest ) {
268+ String path = "/payment/v1/bnpl-payments/limit-inquiry/init" ;
269+ return HttpClient .post (requestOptions .getBaseUrl () + path , createHeaders (bnplLimitInquiryRequest , path , requestOptions ), BnplLimitInquiryResponse .class );
270+ }
271+
272+ public BnplLimitInquiryResponse bnplLimitInquiry (BnplLimitInquiryRequest bnplLimitInquiryRequest ) {
273+ String path = "/payment/v1/bnpl-payments/limit-inquiry" ;
274+ return HttpClient .post (requestOptions .getBaseUrl () + path , createHeaders (bnplLimitInquiryRequest , path , requestOptions ), BnplLimitInquiryResponse .class );
275+ }
276+
244277 public InstantTransferBanksResponse retrieveActiveBanks () {
245278 String path = "/payment/v1/instant-transfer-banks" ;
246279 return HttpClient .get (requestOptions .getBaseUrl () + path , createHeaders (path , requestOptions ),
247280 InstantTransferBanksResponse .class );
248281 }
249282
283+ public InitMultiPaymentResponse initMultiPayment (InitMultiPaymentRequest initMultiPaymentRequest ) {
284+ String path = "/payment/v1/multi-payments/init" ;
285+ return HttpClient .post (requestOptions .getBaseUrl () + path , createHeaders (initMultiPaymentRequest , path , requestOptions ),
286+ initMultiPaymentRequest , InitMultiPaymentResponse .class );
287+ }
288+
250289 public MultiPaymentResponse retrieveMultiPayment (String token ) {
251290 String path = "/payment/v1/multi-payments/" + token ;
252291 return HttpClient .get (requestOptions .getBaseUrl () + path , createHeaders (path , requestOptions ), MultiPaymentResponse .class );
@@ -258,6 +297,12 @@ public StoredCardListResponse retrieveProviderCards(RetrieveProviderCardRequest
258297 return HttpClient .get (requestOptions .getBaseUrl () + path , createHeaders (path , requestOptions ), StoredCardListResponse .class );
259298 }
260299
300+ public CreateDepositToCardPaymentResponse depositToCard (CreateDepositToCardRequest createDepositToCardRequest ) {
301+ String path = "/payment/v1/card-payments/deposit-to-card" ;
302+ return HttpClient .post (requestOptions .getBaseUrl () + path , createHeaders (createDepositToCardRequest , path , requestOptions ),
303+ createDepositToCardRequest , CreateDepositToCardPaymentResponse .class );
304+ }
305+
261306 public boolean is3DSecureCallbackVerified (String threeDSecureCallbackKey , Map <String , String > params ) {
262307 String hash = params .get ("hash" );
263308 String hashString = threeDSecureCallbackKey +
0 commit comments