From 5104ba6542a9d2af8f9503323873f4854d4a2fc2 Mon Sep 17 00:00:00 2001 From: Anderson Valesan Date: Mon, 16 Jul 2018 18:53:41 -0300 Subject: [PATCH] Fix get tokenized card infos --- src/Lib/ZoopTokens.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 +}