Flow diagram

REST service called by Glase Unattended Payment Service once user scanned QR Code on unattended POS. URL has to be HTTPS and end with “createPurchase” (for example https://yourdomain.name.com/seqr/createPurchase).

SOAP method called by reseller backend triggered by createPurchase request. This method creates invoice on Glase side and returns it’s reference number (invoiceReference). By calling this method reseller provides also notificationUrl to be used for callbacks.

Reseller calls updateInvoice exposed by Glase to change details of invoice that user will see in Glase app.

Reseller calls commitReservation to commit transaction with final amount.

Glase Unattended Payment Service QR code scheme

Qr code should have scheme:

HTTP://SEQR.SE/000/ups?w=merchantId&t=123456

where:

w - merchantId sent in start-up kit (usually the same as resellerId)

t - token (machine id) that will be passed in createPurchase request to merchant

Glase Unattended Payment Service API

At this point our Glase Unattended Payment Service API is based on one REST method - createPurchase which is required to be exposed by reseller.

createPurchase method

This method will be called by Glase Unattended Payment Service once customer scanned Glase QR Code on unattended POS. Glase Unattended Payment Service service will sent below values to reseller’s backend.