Spēles
Receive actual information in your e-mail!
API dokumentācija
Integrācijas
Cita informācija
API documentation in English
Migration to EUR currency for game developers
Latvia is joining Eurozone on January 1st, 2014. Due to laws of Republic of Latvia there are a couple of requirements all service providers (including game developers at draugiem.lv) have to comply with:
- Starting with 01.10.2013 all prices should be displayed in both currencies LVL and EUR, default currency displayed is LVL, users should be charged in LVL
- Starting with 01.01.2014 all prices should be displayed in both currencies LVL and EUR, default currency displayed is EUR, however users should be charged in EUR
- Starting with 01.07.2014 all prices can be displayed in EUR only.
Draugiem.lv has already made some steps in migration to EUR currency:
- Payment windows, which are used all over the website are displaying prices in LVL as well as in EUR currency.
- User account balance is shown in EUR currency.
Due to the fact that Draugiem.lv is already displaying prices in EUR, developers don't need to wait till 01.10.2013 in order to start displaying prices in EUR inside games.
Milestones for game developers
Date | Event |
---|---|
01.10.2013 | Reports and income acts will contain total sum in EUR currency, payments will still be done in LVL currency |
01.10.2013 | Application profile income statistics will include total amounts in EUR currency |
01.10.2013 | Developers will be able to specify the currency of price they are sending to API
|
01.10.2013-31.12.2013 | Developers should display prices inside games in LVL and in EUR, default price (and the price users will be charged in) is LVL |
01.01.2014 | The default currency of reports and income acts will be changed to EUR |
01.01.2014-01.07.2014 | Developers should display prices inside games in EUR and in LVL, default price (and the price users will be charged in) is EUR |
Prices
Latvia is joining Eurozone with a fixed currency exchange rate of 1EUR = 0.702804 LVL. We have already converted the available premium SMS prices:
Price LVL | Price EUR |
---|---|
0.05 | 0.07 |
0.25 | 0.36 |
0.35 | 0.50 |
0.39 | 0.55 |
0.49 | 0.70 |
0.60 | 0.85 |
0.75 | 1.07 |
0.99 | 1.41 |
1.50 | 2.13 |
2.00 | 2.85 |
2.50 | 3.56 |
3.00 | 4.27 |
Developers can specify their own prices when using credits as a payment method. All current prices should be converted to prices in EUR using exchange rate of 1EUR = 0.702804. One of the values of Draugiem.lv is honesty. Draugiem.lv WILL NOT RAISE when joining Eurozone and urge all developers to do the same.
At draugiem.lv we will use these prices for our services:
Price LVL | Price EUR |
---|---|
0.39 | 0.55 |
0.49 | 0.70 |
0.99 | 1.41 |
Specify price in EUR currency for credit payments
Developers can specify the price of payments in EUR currency at the moment they create a transaction.
Currently developers generate transactions using requests like this:
https://api.draugiem.lv/php/?app=app_key&apikey=api_key&This case shows how developers generate a transaction for 0.25 LVL.
action=transactions/create&service=service_id&price=25
To generate a transaction for payments in EUR currency developers need to add an extra param ¤cy=eur
https://api.draugiem.lv/php/?app=app_key&apikey=api_key&This case shows how developers generate a transaction for 0.36 EUR or 0.25 LVL.
action=transactions/create&service=service_id&price=36¤cy=eur
Please pull your attention that there might be cases when currency conversion can not be absolutely accurate. For example, if developer will specify the price 0.22 EUR, it will be automatically changed to 0.21 EUR.
To eliminate misunderstandings we offer a tool which can be used by developers to check if the price they specify can be accurately converted: