Url: https://api.playkey.net/rest/PlaykeyAPI.svc/currencies/all
HTTP Method: POST
The following is an description request Json body:
lang - Display language api_version - API version (default equal 1) ga_clientId - Google Analytics ID
The following is an example request Json body:
{ "lang": "lang", "api_version": 1466222330, "ga_clientId": "gaclientid" }
Description of how to response:
error - Error information code - Error code. Error 0 - no error message - Error message. Empty if none currency_list - Information on available currencies currency - Information on currency [ code - Currency code sign - Currency Unicode-badge format - Format of display of the price iso_code - ISO code of the currency kopeks_digits_count - Kopeks digits count of the currency ]
The following is an example response Json body:
{ "error": { "code": 0, "message": "string" }, "currency_list": [ { "code": "string", "sign": "string", "format": "string", "iso_code": "string", "kopeks_digits_count": 0 }, { "code": "string", "sign": "string", "format": "string", "iso_code": "string", "kopeks_digits_count": 0 } ] }
The following is an example response Xml body:
<result xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <error> <code>0</code> <message>string</message> </error> <currency_list> <currency> <code>string</code> <sign>string</sign> <format>string</format> <iso_code>string</iso_code> <kopeks_digits_count>0</kopeks_digits_count> </currency> <currency> <code>string</code> <sign>string</sign> <format>string</format> <iso_code>string</iso_code> <kopeks_digits_count>0</kopeks_digits_count> </currency> </currency_list> </result>