The basic workflow is:
- You trigger a payment request in your front-end JS when the user does some interaction
- User approves payment
- Front-end JS gets a transaction complete message with verifiable payload
- Send the payload to your EBS along with any other data that might be relevant to the event
- Verify the transaction is legit on your EBS
- Do the thing