List of available payment systems

Url: https://api.playkey.net/rest/PlaykeyAPI.svc/ps/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
currency - Currency code
token - Authentication token (optional)

The following is an example request Json body:

{
    "lang": "lang",
    "api_version": 2072399149,
    "ga_clientId": "gaclientid",
    "token": "token",
    "currency": "currency"
}

Description of how to response:

error - Error information
    code - Error code. Error 0 - no error
    message - Error message. Empty if none
payments - Payment systems
     - Payment system information
    [
        code - Payment system UID
        name - Payment system displayed name
        can_bind - Availability binding payment system
        image_link - Payment system image link
        can_refund - Availability refunding payment system
        is_balanced - Is payment system balanced
        current_balance - Current balance
        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"
    },
    "payments": [
        {
            "code": "string",
            "name": "string",
            "can_bind": true,
            "image_link": "string",
            "can_refund": true,
            "is_balanced": true,
            "current_balance": 1721027258,
            "currency": {
                "code": "string",
                "sign": "string",
                "format": "string",
                "iso_code": "string",
                "kopeks_digits_count": 0
            }
        },
        {
            "code": "string",
            "name": "string",
            "can_bind": true,
            "image_link": "string",
            "can_refund": true,
            "is_balanced": true,
            "current_balance": 1721027258,
            "currency": {
                "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>
  <payments>
    <PaymentSystemResult>
      <code>string</code>
      <name>string</name>
      <can_bind>true</can_bind>
      <image_link>string</image_link>
      <can_refund>true</can_refund>
      <is_balanced>true</is_balanced>
      <current_balance>1721027258</current_balance>
      <currency>
        <code>string</code>
        <sign>string</sign>
        <format>string</format>
        <iso_code>string</iso_code>
        <kopeks_digits_count>0</kopeks_digits_count>
      </currency>
    </PaymentSystemResult>
    <PaymentSystemResult>
      <code>string</code>
      <name>string</name>
      <can_bind>true</can_bind>
      <image_link>string</image_link>
      <can_refund>true</can_refund>
      <is_balanced>true</is_balanced>
      <current_balance>1721027258</current_balance>
      <currency>
        <code>string</code>
        <sign>string</sign>
        <format>string</format>
        <iso_code>string</iso_code>
        <kopeks_digits_count>0</kopeks_digits_count>
      </currency>
    </PaymentSystemResult>
  </payments>
</result>