[QIWI Wallet] What are the rounding rules for each supported currency?

currency
qiwi-wallet
qiwi-wallet-api
(Dmitry Fedyuk) #1

The documentation says:

amount
The invoice amount. The rounding up method depends on the invoice currency.

github.com/QIWI-API/pull-payments-docs/blob/40d48cf0/_pull-payments-api_en.html.md#parameters

amount
Сумма, на которую выставляется счет. Способ округления зависит от валюты.

github.com/QIWI-API/pull-payments-docs/blob/40d48cf0/_pull-payments-api_ru.html.md#Параметры

But the documentation does not specify the rounding methods.

0 Likes

(Dmitry Fedyuk) #2

I have got the response from QIWI Wallet support:

Округление в любых валютах производится до сотых.
В документацию изменения будут внесены.

It means that you should always pass 2 decimal digits to QIWI Wallet API.

0 Likes