Current status of payment

Url: https://api.playkey.net/rest/PlaykeyAPI.svc/user/sales/status

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
token - Authentication token
sale_id - Payment id

The following is an example request Json body:

{
    "lang": "lang",
    "api_version": 1930444192,
    "ga_clientId": "gaclientid",
    "token": "token",
    "sale_id": 84842168
}

Description of how to response:

error - Error information
    code - Error code. Error 0 - no error
    message - Error message. Empty if none
status - Current status of payment
message - Message for unsuccessful sale

The following is an example response Json body:

{
    "error": {
        "code": 0,
        "message": "string"
    },
    "status": "string",
    "message": "string"
}

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>
  <status>string</status>
  <message>string</message>
</result>