From a06ebfab08d59802feb90828de022a7770cb9ae1 Mon Sep 17 00:00:00 2001 From: "CHIEFSOFT\\ameye" Date: Mon, 14 Oct 2024 19:29:28 -0400 Subject: [PATCH] New add virtual card --- www-api/app/Controllers/WrenchWallet.php | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/www-api/app/Controllers/WrenchWallet.php b/www-api/app/Controllers/WrenchWallet.php index 400a3b5a..860e62dd 100644 --- a/www-api/app/Controllers/WrenchWallet.php +++ b/www-api/app/Controllers/WrenchWallet.php @@ -254,6 +254,22 @@ class WrenchWallet extends BaseController $out = $this->APIcall('GET', $local_url, $in); $this->saveCache($endpoint,$out,1500); } + $out["result_list"][] = [ + "amount" => 0, + "id" => 1, + "code" => "USD", + "description" => "Add Virtual VISA", + "symbol" => "$", + "action_type" => "START_ADD_VIRTUAL", + "lorder" => 0, + "country" => "US", + "processor" => 5000, + "current_balance" => 0, + "transfer_limit" => 0, + "wallet_uid" => "be090e93-552b-421d-86cd-2d33a2823c8e", + "escrow" => 0 + ]; + log_message('critical', "***** ***** WrenchJobs::getWallet Ret "); return $this->respond( $this->summaryReturnData($in,$out), 200); }