Start topup

This commit is contained in:
Olu Amey
2023-05-02 12:20:18 -04:00
parent a984bfc49d
commit d681b90fb2
5 changed files with 15 additions and 1 deletions
+4
View File
@@ -80,12 +80,16 @@ class WrenchApi extends BaseController
'accounttypes' => ['POST'],
'jobmanagerlist' => ['POST'],
'profilepasschange' => ['POST'],
'starttopup' => ['POST'],
];
return $endpoints;
}
private function prepareEndPointData($endpoint, $in, &$call_backend=true,&$local_out=[]){
switch ($endpoint) {
case 'starttopup':
$in["action"] = WRENCHBOARD_ACCOUNT_PREPARE_TOPUP;
break;
case 'profilepasschange':
$in["action"] = WRENCHBOARD_PROFILE_RESETPASS;
break;