Responsive web payment
This scenario is the most common integration for webshops that don't need any extra steps in the payment process.
The payment process
In this scenario the payment starts with the preparation of the payment. This means that the webshop creates a JSON representation of the payment data. This data contains all the necessary information about the items to be purchased, the customer and the desired payment scenario. This JSON should be sent as a POST request to the /v2/Payment/Start API endpoint. After the system recives the data and it passes the vaalidat
Preparing the payment
Assembling the POST request
TODO
Processing the response
TODO
Redirecting the customer
TODO
Processing the callback
TODO
Requesting information about the payment
TODO
Asssembling the GET request
Processing the response
Processing the returning customer
TODO