diff --git a/SendPulse.php b/SendPulse.php index 0b09ad8..9cd8808 100644 --- a/SendPulse.php +++ b/SendPulse.php @@ -775,6 +775,20 @@ public function getBalance($currency = '') return $this->handleResult($requestResult); } + + /** + * Get balance detail + * + * @return mixed + */ + public function getBalanceDetail() + { + $url = 'user/balance/detail'; + + $requestResult = $this->sendRequest($url); + + return $this->handleResult($requestResult); + } /** * SMTP: get list of emails @@ -1095,4 +1109,4 @@ public function createPushTask($taskInfo, $additionalParams = array()) return $this->handleResult($requestResult); } -} \ No newline at end of file +}