Method allows you to cancel an in-app payment.

uid true String

Payment user id

transaction_id true long

Payment transaction id


Session is prohibited

Required permissions


Acquiring required payment parameters

To cancel a payment you need to provide user id and transaction id of a payment.

You can get both these parameters using one of following ways:


These method is valid to be used when:

  • app can cancel only it’s payments;
  • you need to provide a correct pair of user and transaction ids;
  • a payment was made during current month. To cancel older payments please contact OK Games Team.

Cancelled payments information

All cancelled payments are available:


{ "success": "boolean", "txn_id": "long" }

Application paramters

User session data


List of paramters

Используем для подписи secret_key = session_secret_key
Используем для подписи secret_key = application_secret_key
Используем для подписи secret_key = MD5(access_token + application_secret_key)
secret_key =
Сортируем и склеиваем параметры запроса и secret_key
Рассчитываем MD5 от полученной строки и получаем параметр sig