- User performs the checkout operation
- Merchant server makes an API request to the snap backend to get the
- Snap backend responds to the api call with the
- Merchant server constructs the html page and sends it back to the browser
snap.pay(SNAP_TOKEN, options). User then fills up the payment details and clicks the confirm button.
- Snap JS sends the payment details to the snap backend
- Snap backend notifies the merchant server about the charge status