[restriction] => [restriction_text] => [setup_rate] => 0.00000 [sms_enabled] => 1 [sms_rate] => 0.00000 [type] => fixed [voice_enabled] => 1 [voice_rate] => 0.00850 ) ) ) ) */ # Buy a phone number $params = array('number' => '12109206499'); $response = $p->buy_phone_number($params); print_r($response); /* Sample Output ( [status] => 201 [response] => Array ( [api_id] => 405f14e8-b68a-11e4-b932-22000ac50fac [message] => created [numbers] => Array ( [0] => Array ( [number] => 12109206499 [status] => Success