@@ -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 ),
@@ -247,6 +270,12 @@ public InstantTransferBanksResponse retrieveActiveBanks() {
247270 InstantTransferBanksResponse .class );
248271 }
249272
273+ public InitMultiPaymentResponse initMultiPayment (InitMultiPaymentRequest initMultiPaymentRequest ) {
274+ String path = "/payment/v1/multi-payments/init" ;
275+ return HttpClient .post (requestOptions .getBaseUrl () + path , createHeaders (initMultiPaymentRequest , path , requestOptions ),
276+ initMultiPaymentRequest , InitMultiPaymentResponse .class );
277+ }
278+
250279 public MultiPaymentResponse retrieveMultiPayment (String token ) {
251280 String path = "/payment/v1/multi-payments/" + token ;
252281 return HttpClient .get (requestOptions .getBaseUrl () + path , createHeaders (path , requestOptions ), MultiPaymentResponse .class );
0 commit comments