API request to the billing system?

Good time of day.
Please help I am new to php.
First, the story for which the script is needed. The script is reassigned to manage the DNS zone on the DNS servers. SOAP logger r01.ru. c clients billing system.
I imagine I must first get data client what his domain name from billing system and then to request the Registrar about the availability of the domain name and e-mail.
Do you think my reasoning is correct or not?
API request to the billing system to enter a username and password to obtain xml data of the client for a domain name that the customer ordered.
I wrote a request to the billing system, but the script does not work correctly, open xml
if (!empty($login)) {
echo '<script language="javascript"--> window.location="https://lk.webvm.ru/billmgr?authinfo='.$login.':'.$password.'&out=xml&func=domain";';
 // how to change this where it says different? not using echo
 <section id="content1">
 <form method="get">
 <div class="pole_name_p">
 <p><span class="pole_logi"><input class="logi_input" name="login" autocomplete="off" type="text" placeholder="E-mail name"></span></p>
 <div class="pole_name_p">
 <p><input class="pas_input" name="password" autocomplete="off" type="password" placeholder="Password"></p>
 <div class="bill_botton">
 <p><input class="button" type="submit" value="Login"></p>

Then how to make a request of the Registrar r01.ru?
Look forward to hearing from all the answers.
June 10th 19 at 16:14
2 answers
June 10th 19 at 16:16
What does html and javascript? API is Application Programming Interface. Programming, Carl! When programs communicate with each other without the participation of the user, no html, no javascript and no browser.
Better hire a programmer to it you all did.

P. S. be sure to use the username/password your company, not the user.
June 10th 19 at 16:18
Please tell me where I can find a programmer for such a task?
Where the programmer for any other task. For example, on freelance exchanges - Jerad_Padbe commented on June 10th 19 at 16:21

Find more questions by tags Web DevelopmentPHP