API requests
Users
Friends
Wall
Notifications
Game interaction
Payment API
Javascript SDK
Payments API provides the opportunity to transfer PlayGold from users to application accounts based on the exchange rate indicated in the application.
This guide will go through each step of connecting the payment interface to your application:
Firstly, you need to implement processing for Playvision payment system notifications on your application’s server.
The Playvision platform adds a sig parameter to each request. This provides a guarantee that the user did not falsify or alter the request.
More information about Signature generation
You must indicate the address of a return call script in the application’s options
The data is filled in on the Options page in the Payment link parameter

If your application has not yet undergone verification, only test payments will work.
You must place an icon in your application which users can press to open a Playvision dialog window with a description of the purchase cost.
The user can either confirm or cancel the purchase

If there is an insufficient amount of PlayGold in the user’s balance, an offer will be made to add funds to the balance using one of several methods.

To open the window, you must call the payment.window API method.
This does not cause the game to reload
If your application has not yet been verified and made part of the general application catalog, now is the time to get this done.
Otherwise, users will be unable to use payment functionality in your application.