diff --git a/src/Lib/ZoopTokens.php b/src/Lib/ZoopTokens.php index c18131d..f2aa6c8 100644 --- a/src/Lib/ZoopTokens.php +++ b/src/Lib/ZoopTokens.php @@ -41,7 +41,7 @@ public function tokenizeBankAccount($post){ * @param string $token */ public function get($token){ - $api = 'tokens' . $token; - $this->APIResource->searchAPI($api); + $api = 'tokens/' . $token; + return $this->APIResource->searchAPI($api); } -} \ No newline at end of file +}