Batch file format description
The XML-file for payments to purses has the following structure:
<payments xmlns="http://tempuri.org/ds.xsd">
<payment>
<Destination></Destination>
-
<Amount></Amount> -
<Description></Description>
-
<Id></Id>
-
</payment>
<payment>
...
</payment>
</payments>
Example (purses.xml):
<payments xmlns="http://tempuri.org/ds.xsd">
<payment>
<Destination>Z123456789012</Destination>
<Amount>1.01</Amount>
<Description>Test transfer to Z-purse</Description>
<Id>138817</Id>
</payment>
<payment>
<Destination>E123456789012</Destination>
<Amount>1.01</Amount>
<Description>Test transfer to E-purse</Description>
<Id>138817</Id>
</payment>
<payment>
<Destination>R123456789012</Destination>
<Amount>15.01</Amount>
<Description>Test transfer to R-purse</Description>
<Id>138817</Id>
</payment>
</payments>
CSV file structure
The CSV file contains values shown in a table and ordered in such a way that each value
in a column is separated from the value in the next column by ";" character, and each new row begins
a new line. If there is ";" character used in the description,
this line should be taken in double quotes.
CSV format file:
<Destination purse>;
<Sum>;
<Description (less than 235 symbols)>;
<payment number>
Example (purses.csv):
Z123456789012;1.01;WMZ, test;12345
R123456789012;15;"Test payment; in roubles";
E123456789012;2;"Euro payments; test";
U123456789012;4.01;Transfer to Ukraine;
Warning! All batches must not include payments of less than
1.00 WMZ;
15.00 WMR;
0.0011 WMG;
4.00 WMU;
1300.00 WMY;
0.70 WME;
1000.00 WMB;
*the exception are batches with 5 or less payments
II. XML file for phones payments has the following structure:
<payments>
<payment>
<Destination></Destination>
-
<Contractor></Contractor> -
<Amount></Amount> -
<Currency></Currency> -
<Description></Description>
-
</payment>
<payment>
...
</payment>
</payments>
Example (phones.xml):
<payments>
<payment>
<Destination>9031234567</Destination>
<Contractor>2</Contractor>
<Amount>1.00</Amount>
<Currency>WMZ</Currency>
<Description>Phone #1</Description>
</payment>
<payment>
<Destination>9101234567</Destination>
<Contractor>1</Contractor>
<Amount>30</Amount>
<Currency>WMR</Currency>
<Description>Phone #2</Description>
</payment>
</payments>
CSV file structure
The CSV file contains values shown in a table and ordered in such a way that each value
in a column is separated from the value in the next column by ";" character, and each new row begins
a new line. If there is ";" character used in the description,
this line should be taken in double quotes.
CSV format file:
<phone number(account)>;
<Contractor>;
<Amount>;
<Currency>;
<Description (less than 235 symbols)>
Example (phones.csv):
9031234567;2;1;WMZ;phone payment in WMZ
9101234567;1;30;WMR;phone payment in WMR
where currency - the currency type: WMZ, WMR etc.;
contractor - the contractor(provider) number from list you can find here
III. The XML-file for payments to e-mails has the following structure:
<payments>
<payment>
<Destination></Destination>
-
<Amount></Amount> -
<Currency></Currency> -
<Description></Description>
-
</payment>
<payment>
...
</payment>
</payments>
Example (emails.xml):
<payments>
<payment>
<Destination>test@test.com</Destination>
<Amount>1.00</Amount>
<Currency>WMZ</Currency>
<Description>transfer to e-mail in WMZ</Description>
</payment>
<payment>
<Destination>test2@testing.ru</Destination>
<Amount>30</Amount>
<Currency>WMR</Currency>
<Description>transfer to e-mail in WMR</Description>
</payment>
</payments>
CSV file structure
The CSV file contains values shown in a table and ordered in such a way that each value
in a column is separated from the value in the next column by ";" character, and each new row begins
a new line. If there is ";" character used in the description,
this line should be taken in double quotes.
CSV format file:
<e-mail address>;
<Amount>;
<Currency>;
<Description (less than 235 symbols)>
Example (emails.csv):
test1@test.com;1;WMZ;e-mail payment in WMZ
test2@test.ru;30;WMR;e-mail payment in WMR