From 34ffb54c5da3906d97b2924293532863c7ea7a8d Mon Sep 17 00:00:00 2001 From: ghost Date: Wed, 6 Dec 2023 01:43:56 +0200 Subject: [PATCH] add kevaPending method --- src/Client.php | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/src/Client.php b/src/Client.php index eb95f22..f9c7b4f 100644 --- a/src/Client.php +++ b/src/Client.php @@ -347,4 +347,28 @@ class Client return null; } + + public function kevaPending(): ?array + { + $this->_id++; + + $this->_prepare( + '', + 'POST', + [ + 'method' => 'keva_pending', + 'params' => [], + 'id' => $this->_id + ] + ); + + $response = $this->_execute(); + + if (!empty($response) && is_array($response)) + { + return $response; + } + + return null; + } }