A Topper widget is a turnkey solution: you generate a bootstrap token, open it up and that's it. However, you might want to request and display information before opening the widget itself. The most common scenario is to display pricing information to the user beforehand.
Topper offers a REST API you can use to:
- Get the list of supported countries.
- Get the list of supported assets per flow.
- Get the list of supported payment methods per flow.
- Create a pricing simulation for a specific flow.
You may also visualize the documentation at https://api.topperpay.com/docs.