IntegrationExamples
Collection of examples that illustrate how to integrate with Monthio public API
Here is a high overview flow diagram which explains how does Monthio system works.
- Create configuration that defines how most of the settings should work. (Callback url, pdf output, redirect url, which modules are enabled, etc.). This needs to be done only once per different configuration. They should be reused.
- Create session based on a configuration created in previous step. This endpoint will return a session id that can be used to create a link for consumer.
- Deliver the link to the consumer by either sending it or redirecting them in your own flow. You can also use iframe but we would not recommend it as a lot of browser features might be disabled on consumers device when accessing third party iframes.
- Now consumer would go thru Monthio flow. Flow depends on configuration settings specified in first step.
- After consumer finishes the flow successfully Monthio will send the data to your system based on the configuration settings specified in first step. You can also retrieve the data from smart-check-session endpoint.