diff --git a/src/Traits/PayPalAPI/Reporting.php b/src/Traits/PayPalAPI/Reporting.php index e7d934d5..a556e8d9 100644 --- a/src/Traits/PayPalAPI/Reporting.php +++ b/src/Traits/PayPalAPI/Reporting.php @@ -51,7 +51,7 @@ public function listBalances(string $date = '', string $balance_currency = '') $date = empty($date) ? Carbon::now()->toIso8601String() : Carbon::parse($date)->toIso8601String(); $currency = empty($balance_currency) ? $this->getCurrency() : $balance_currency; - $this->apiEndPoint = "v1/reporting/balances?currency_code={$currency}&as_of_date={$date}"; + $this->apiEndPoint = "v1/reporting/balances?currency_code={$currency}&as_of_time={$date}"; $this->verb = 'get';