diff --git a/src/Service/TransferService.php b/src/Service/TransferService.php index 5ae49d1..c6c8790 100644 --- a/src/Service/TransferService.php +++ b/src/Service/TransferService.php @@ -112,8 +112,13 @@ public function list($params) "limit" => isset($params["limit"]) ? $params["limit"] : 100, "profile" => $this->client->getProfileId() ]; - + if (isset($params["createdDateStart"])){ + $defaults["createdDateStart"] = $params["createdDateStart"]; + } + if (isset($params["createdDateEnd"])){ + $defaults["createdDateEnd"] = $params["createdDateEnd"]; + } $path = $this->withQuery("v1/transfers", $defaults); return $this->client->request("GET", $path); } -} \ No newline at end of file +}