Change of tariff plan subscription

Url: https://api.playkey.net/rest/PlaykeyAPI.svc/user/subscriptions/changeandbind

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
code_payment_system - Payment system UID
return_url - Link to the payment form
is_change_now - Need change product shipment now
currency_code - Code of payment service provider
card_name - Link to the payment form
card_cryptogram_packet - Link to the payment form
subscription_id - Subscription UID
code_product_shipment - Subproduct code in the Playkey manual

The following is an example request Json body:

{
    "lang": "lang",
    "api_version": 857964442,
    "ga_clientId": "gaclientid",
    "token": "token",
    "code_payment_system": "codepaymentsystem",
    "return_url": "returnurl",
    "currency_code": "currencycode",
    "card_name": "cardname",
    "card_cryptogram_packet": "cardcryptogrampacket",
    "is_change_now": false,
    "subscription_id": 1302484854,
    "code_product_shipment": "codeproductshipment"
}

Description of how to response:

error - Error information
    code - Error code. Error 0 - no error
    message - Error message. Empty if none
form_url - Link to the payment form

The following is an example response Json body:

{
    "error": {
        "code": 0,
        "message": "string"
    },
    "form_url": "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>
  <form_url>string</form_url>
</result>