Explains the concept of sessions that allows you to customize the form (such as pricing, header, etc).
CreateSession
in the Web API. This requires a Payment Form permission for the access token. You should only call this method from your own server side and never directly from the application. If you do the latter, the user can get hold of the access token and create a session that has price set to zero and thus be able to execute the requests that should only be called upon a successful transaction.
To open a payment form using a session, you only need to provide the sessionId that you received using CreateSession
method.