With this method you can create a new session to perform a payment or to prepopulate your form. The sent payment-data is immediately validated as good as possible, so you can easily show errors in a multi-step-form.
See Session JSON for details.
Update / read session
If you want to update or read the created session afterwards you have to use app/updateSession.