$ready['new'.($i+1)] = array(
'type' => 'payment',
'title' => strval($methods[$i]->name),
'fields' => array(
"price" => strval($methods[$i]->currencies->currency->price),
"currency" => strval($methods[$i]->currencies->currency->currency),
"code" => strval($methods[$i]->code)
)
);
//array_push($ready, $arr);