[ "load" => "ping.php", "insecure" => true, "vars" => [ ] ], "signup" => [ "load" => "addaccount.php", "insecure" => true, "vars" => [ "username" => "string", "password" => "string", "accttype" => "/(giver|receiver)/" ] ], "getkey" => [ "load" => "getkey.php", "insecure" => true, "vars" => [ "OR user" => [ "username" => "/[a-zA-Z0-9]+/", "email" => "/.+/", "phone" => "/[0-9]{10,}/" ], "OR pass" => [ "password (optional)" => "string", "pin (optional)" => "/[0-9]{4,10}" ] ] ], "checkkey" => [ "load" => "checkkey.php", "vars" => [ "key" => $keyregex ] ], "checkbalance" => [ "load" => "balance.php", "vars" => [ "key" => $keyregex ] ], "sendmoney" => [ "load" => "send.php", "vars" => [ "key" => $keyregex, "to" => "/[0-9a-z]+/", "amount" => "/[0-9]{1,4}(\.[0-9]{2})?/" ] ] ];