login(); $res = $api->post('user/activate', [ "method" => "credit", "pin" => "", "user_id" => "2850", "money_collected" => 1, "comments" => null, "user_price" => 55000, "issue_invoice" => 0, "activation_units" => 1 ]); print_r(json_decode($res)); //this is the expected response //stdClass Object //( // [status] => 200 // [message] => rsp_success //[invoice_id] => //)