diff --git a/src/Paystack.php b/src/Paystack.php index f4b91dc..5f47032 100644 --- a/src/Paystack.php +++ b/src/Paystack.php @@ -340,6 +340,18 @@ public function getAllTransactions() return $this->setHttpResponse("/transaction", 'GET', [])->getData(); } + + /** + * Transaction Totals + * Total amount received on your account + */ + public function getTotalTransactions() + { + $this->setRequestOptions(); + + return $this->setHttpResponse("/transaction/totals", 'GET', [])->getResponse(); + } + /** * Get the whole response from a get operation * @return array