REST API uses 2 types of payment flows:
These payments receive final response asynchronously and you are responsible to fetch the final status from .
In REST API these payments are handled following way:
These payments receive final response synchronously in response to initial Request.
In REST API these payments are handled following way:
After the initial payment is created, there is set of possible actions that can be performed on the payment:
All of these subsequent actions have synchronous flow.
For payment methods with asynchronous flow or any updates on the payment status, sends notifications to your defined Webhook URL.
For security purposes, Webhook contains only non sensitive PaymentID and your application is responsible to fetch the status of payment by actively calling the API.
In REST API Webhooks are handled following way: