How to get the list of allowed QIWI Wallet customer countries manually?

google-chrome-console
jquery
country
javascript
qiwi-wallet

(Dmitry Fedyuk) #1

When a customer registers a wallet on the qiwi.com website, he should use his mobile phone number as his payment identifier.
The country calling codes drop-down contains a limited set of countries:

There is no way to get this list via QIWI Wallet API.
Moreover, the list is absent in the QIWI Wallet documentation.
So I have implemented a way to parse the form above.
The parsed page is: https://ishop.qiwi.com/public/order/embed.action?from=502233&ccy=RUB,USD,EUR,BYR,KZT,UAH&comm=donat

To parse the countries list, I run the following JavaScript code in the Google Chrome console:

JSON.stringify($.map($('.countriesList > li'), function(e) {
	return e.className.replace('counrty', '');
}).sort());


It is possible to get the list of allowed QIWI Wallet customer countries via API?