I would like to give wallet handling option with an API. So seems to have similar interest.
Basically the usage of the service from your side would be:
1️⃣ You create a link to an invoice you need with the API
2️⃣ You embed the link of the invoice with an iframe.
At the moment I see two options after paying, either
1️⃣ The iframe redirects the user to an url you specify,
2️⃣ You can check the paidness of the invoice via the API and decide what you do further if it is paid.
What do you think?